Searched refs:mCellHeight (Results 1 – 3 of 3) sorted by relevance
27 protected int mCellHeight; field in TileLayout115 mCellHeight = mContext.getResources().getDimensionPixelSize(R.dimen.qs_tile_height); in updateResources()153 record.tileView.measure(exactly(mCellWidth), exactly(mCellHeight)); in onMeasure()159 int height = (mCellHeight + mCellMarginVertical) * mRows + in onMeasure()178 mRows = availableHeight / (mCellHeight + mCellMarginVertical); in updateMaxRows()228 return row * (mCellHeight + mCellMarginVertical) + mCellMarginTop; in getRowTop()
301 LayoutParams lp = new LayoutParams(mCellWidth, mCellHeight); in generateTileLayoutParams()329 mCellHeight = mCellWidth;383 record.tileView.measure(exactly(mCellWidth), exactly(mCellHeight)); in onMeasure()386 int height = mCellHeight; in onMeasure()
152 private int mCellHeight; field in Keyboard751 mCellHeight = (getHeight() + GRID_HEIGHT - 1) / GRID_HEIGHT; in computeNearestNeighbors()755 final int gridHeight = GRID_HEIGHT * mCellHeight; in computeNearestNeighbors()757 for (int y = 0; y < gridHeight; y += mCellHeight) { in computeNearestNeighbors()763 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) in computeNearestNeighbors()765 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold) { in computeNearestNeighbors()771 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; in computeNearestNeighbors()786 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth); in getNearestKeys()