Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java142 private int mCellHeight; field in Keyboard
740 mCellHeight = (getHeight() + GRID_HEIGHT - 1) / GRID_HEIGHT; in computeNearestNeighbors()
744 final int gridHeight = GRID_HEIGHT * mCellHeight; in computeNearestNeighbors()
746 for (int y = 0; y < gridHeight; y += mCellHeight) { in computeNearestNeighbors()
752 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) in computeNearestNeighbors()
754 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold) { in computeNearestNeighbors()
760 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; in computeNearestNeighbors()
775 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth); in getNearestKeys()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java64 private int mCellHeight; field in QSPanel
150 mCellHeight = res.getDimensionPixelSize(R.dimen.qs_tile_height); in updateResources()
151 mCellWidth = (int)(mCellHeight * TILE_ASPECT); in updateResources()
485 final int ch = record.row == 0 ? mLargeCellHeight : mCellHeight; in onMeasure()
541 + mLargeCellHeight - mDualTileUnderlap + (row - 1) * mCellHeight; in getRowTop()