Searched refs:GRID_WIDTH (Results 1 – 4 of 4) sorted by relevance
153 private static final int GRID_WIDTH = 10; field in Keyboard155 private static final int GRID_SIZE = GRID_WIDTH * GRID_HEIGHT;702 mCellWidth = (getMinWidth() + GRID_WIDTH - 1) / GRID_WIDTH; in computeNearestNeighbors()706 final int gridWidth = GRID_WIDTH * mCellWidth; in computeNearestNeighbors()724 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; in computeNearestNeighbors()739 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth); in getNearestKeys()
46 KEYBOARD_HEIGHT(keyboardHeight), GRID_WIDTH(gridWidth), GRID_HEIGHT(gridHeight), in ProximityInfo()57 const int proximityGridLength = GRID_WIDTH * GRID_HEIGHT * MAX_PROXIMITY_CHARS_SIZE; in ProximityInfo()105 return ((y / CELL_HEIGHT) * GRID_WIDTH + (x / CELL_WIDTH)) in getStartIndexFromCoordinates()
103 const int GRID_WIDTH; variable
160 params.GRID_WIDTH, params.GRID_HEIGHT, mOccupiedWidth, mOccupiedHeight, in Keyboard()245 public int GRID_WIDTH; field in Keyboard.Params655 params.GRID_WIDTH = res.getInteger(R.integer.config_keyboard_grid_width); in Builder()