Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java137 private static final int GRID_WIDTH = 10; field in Keyboard
139 private static final int GRID_SIZE = GRID_WIDTH * GRID_HEIGHT;
726 mCellWidth = (getMinWidth() + GRID_WIDTH - 1) / GRID_WIDTH; in computeNearestNeighbors()
730 final int gridWidth = GRID_WIDTH * mCellWidth; in computeNearestNeighbors()
747 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; in computeNearestNeighbors()
762 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth); in getNearestKeys()