Variable type cleanups
Change-Id: I5d892494200c09f8cb8a46c327c29bbd63eab093
diff --git a/native/jni/src/proximity_info.h b/native/jni/src/proximity_info.h
index 7c22e10..45df6ff 100644
--- a/native/jni/src/proximity_info.h
+++ b/native/jni/src/proximity_info.h
@@ -104,11 +104,10 @@
return KEYBOARD_HEIGHT;
}
- // TODO: These should return int.
- float getKeyCenterXOfCodePointG(int charCode) const;
- float getKeyCenterYOfCodePointG(int charCode) const;
- float getKeyCenterXOfKeyIdG(int keyId) const;
- float getKeyCenterYOfKeyIdG(int keyId) const;
+ int getKeyCenterXOfCodePointG(int charCode) const;
+ int getKeyCenterYOfCodePointG(int charCode) const;
+ int getKeyCenterXOfKeyIdG(int keyId) const;
+ int getKeyCenterYOfKeyIdG(int keyId) const;
int getKeyKeyDistanceG(int key0, int key1) const;
private: