Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java141 private int mCellHeight; field in Keyboard
657 mCellHeight = (getHeight() + GRID_HEIGHT - 1) / GRID_HEIGHT; in computeNearestNeighbors()
661 final int gridHeight = GRID_HEIGHT * mCellHeight; in computeNearestNeighbors()
663 for (int y = 0; y < gridHeight; y += mCellHeight) { in computeNearestNeighbors()
669 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) in computeNearestNeighbors()
671 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold) { in computeNearestNeighbors()
677 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; in computeNearestNeighbors()
692 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth); in getNearestKeys()