Searched refs:mCellWidth (Results 1 – 2 of 2) sorted by relevance
140 private int mCellWidth; field in Keyboard726 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()
63 private int mCellWidth; field in QSPanel149 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()