Searched defs:mCellWidth (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java140 private int mCellWidth; field in class:Keyboard
726 mCellWidth = (getMinWidth() + GRID_WIDTH - 1) / GRID_WIDTH;
730 final int gridWidth = GRID_WIDTH * mCellWidth;
732 for (int x = 0; x < gridWidth; x += mCellWidth) {
738 key.squaredDistanceFrom(x + mCellWidth - 1, y) < mProximityThreshold ||
739 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1)
747 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell;
762 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth);

Completed in 18 milliseconds