Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java140 private int mCellWidth; field in Keyboard
726 mCellWidth = (getMinWidth() + GRID_WIDTH - 1) / GRID_WIDTH; in computeNearestNeighbors()
730 final int gridWidth = GRID_WIDTH * mCellWidth; in computeNearestNeighbors()
732 for (int x = 0; x < gridWidth; x += mCellWidth) { in computeNearestNeighbors()
738 key.squaredDistanceFrom(x + mCellWidth - 1, y) < mProximityThreshold || in computeNearestNeighbors()
739 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) in computeNearestNeighbors()
747 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; in computeNearestNeighbors()
762 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth); in getNearestKeys()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java63 private int mCellWidth; field in QSPanel
149 mCellWidth = (int)(mCellHeight * TILE_ASPECT); in updateResources()
430 final int cw = record.row == 0 ? mLargeCellWidth : mCellWidth; in onMeasure()
460 final int cw = record.row == 0 ? mLargeCellWidth : mCellWidth; in onLayout()