Home
last modified time | relevance | path

Searched refs:mGridWidth (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DProximityInfo.java45 private final int mGridWidth; field in ProximityInfo
65 mGridWidth = gridWidth; in ProximityInfo()
67 mGridSize = mGridWidth * mGridHeight; in ProximityInfo()
68 mCellWidth = (minWidth + mGridWidth - 1) / mGridWidth; in ProximityInfo()
222 return setProximityInfoNative(mKeyboardMinWidth, mKeyboardHeight, mGridWidth, mGridHeight, in createNativeProximityInfo()
251 final int lastPixelXCoordinate = mGridWidth * mCellWidth - 1; in computeNearestNeighbors()
344 int baseIndexOfCurrentRow = (yStart / mCellHeight) * mGridWidth + (xStart / mCellWidth); in computeNearestNeighbors()
354 baseIndexOfCurrentRow += mGridWidth; in computeNearestNeighbors()
398 int index = (y / mCellHeight) * mGridWidth + (x / mCellWidth); in getNearestKeys()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state.h49 mKeyCount(0), mCellHeight(0), mCellWidth(0), mGridHeight(0), mGridWidth(0), in ProximityInfoState()
205 int mGridWidth; variable
Dproximity_info_state.cpp63 mGridWidth = proximityInfo->getGridHeight(); in initInputParams()