Fixing unused private field error
Fixing error resulting from Wunused-private-field. Change-Id: I2bbdefa707a55564eba9b77a88e229921787f357 Author: Ariel Bernal <ariel.j.bernal@intel.com> Reviewed-by: Tareq A Siraj <tareq.a.siraj@intel.com>
This commit is contained in:
parent
38be4ee0fa
commit
be8a4cca2b
2 changed files with 2 additions and 6 deletions
|
@ -42,8 +42,8 @@ ProximityInfo::ProximityInfo(const std::string localeStr, const int maxProximity
|
||||||
const int32_t *keyYCoordinates, const int32_t *keyWidths, const int32_t *keyHeights,
|
const int32_t *keyYCoordinates, const int32_t *keyWidths, const int32_t *keyHeights,
|
||||||
const int32_t *keyCharCodes, const float *sweetSpotCenterXs, const float *sweetSpotCenterYs,
|
const int32_t *keyCharCodes, const float *sweetSpotCenterXs, const float *sweetSpotCenterYs,
|
||||||
const float *sweetSpotRadii)
|
const float *sweetSpotRadii)
|
||||||
: MAX_PROXIMITY_CHARS_SIZE(maxProximityCharsSize), KEYBOARD_WIDTH(keyboardWidth),
|
: MAX_PROXIMITY_CHARS_SIZE(maxProximityCharsSize),
|
||||||
KEYBOARD_HEIGHT(keyboardHeight), GRID_WIDTH(gridWidth), GRID_HEIGHT(gridHeight),
|
GRID_WIDTH(gridWidth), GRID_HEIGHT(gridHeight),
|
||||||
MOST_COMMON_KEY_WIDTH_SQUARE(mostCommonKeyWidth * mostCommonKeyWidth),
|
MOST_COMMON_KEY_WIDTH_SQUARE(mostCommonKeyWidth * mostCommonKeyWidth),
|
||||||
CELL_WIDTH((keyboardWidth + gridWidth - 1) / gridWidth),
|
CELL_WIDTH((keyboardWidth + gridWidth - 1) / gridWidth),
|
||||||
CELL_HEIGHT((keyboardHeight + gridHeight - 1) / gridHeight),
|
CELL_HEIGHT((keyboardHeight + gridHeight - 1) / gridHeight),
|
||||||
|
|
|
@ -98,8 +98,6 @@ class ProximityInfo {
|
||||||
const int x, const int y, const int32_t primaryKey, int *inputCodes) const;
|
const int x, const int y, const int32_t primaryKey, int *inputCodes) const;
|
||||||
|
|
||||||
const int MAX_PROXIMITY_CHARS_SIZE;
|
const int MAX_PROXIMITY_CHARS_SIZE;
|
||||||
const int KEYBOARD_WIDTH;
|
|
||||||
const int KEYBOARD_HEIGHT;
|
|
||||||
const int GRID_WIDTH;
|
const int GRID_WIDTH;
|
||||||
const int GRID_HEIGHT;
|
const int GRID_HEIGHT;
|
||||||
const int MOST_COMMON_KEY_WIDTH_SQUARE;
|
const int MOST_COMMON_KEY_WIDTH_SQUARE;
|
||||||
|
@ -108,8 +106,6 @@ class ProximityInfo {
|
||||||
const int KEY_COUNT;
|
const int KEY_COUNT;
|
||||||
const bool HAS_TOUCH_POSITION_CORRECTION_DATA;
|
const bool HAS_TOUCH_POSITION_CORRECTION_DATA;
|
||||||
const std::string mLocaleStr;
|
const std::string mLocaleStr;
|
||||||
// TODO: remove this
|
|
||||||
const int *mInputCodesFromJava;
|
|
||||||
int32_t *mInputCodes;
|
int32_t *mInputCodes;
|
||||||
const int *mInputXCoordinates;
|
const int *mInputXCoordinates;
|
||||||
const int *mInputYCoordinates;
|
const int *mInputYCoordinates;
|
||||||
|
|
Loading…
Reference in a new issue