Searched refs:mCellWidth (Results 1 – 3 of 3) sorted by relevance
22 protected int mCellWidth; field in TileLayout94 mCellWidth = (width - (mCellMargin * (mColumns + 1))) / mColumns; in onMeasure()99 record.tileView.measure(exactly(mCellWidth), exactly(mCellHeight)); in onMeasure()127 left = right - mCellWidth; in onLayout()129 right = left + mCellWidth; in onLayout()140 return column * (mCellWidth + mCellMargin) + mCellMargin; in getColumnStart()
141 private int mCellWidth; field in Keyboard739 mCellWidth = (getMinWidth() + GRID_WIDTH - 1) / GRID_WIDTH; in computeNearestNeighbors()743 final int gridWidth = GRID_WIDTH * mCellWidth; in computeNearestNeighbors()745 for (int x = 0; x < gridWidth; x += mCellWidth) { in computeNearestNeighbors()751 key.squaredDistanceFrom(x + mCellWidth - 1, y) < mProximityThreshold || in computeNearestNeighbors()752 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) in computeNearestNeighbors()760 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; in computeNearestNeighbors()775 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth); in getNearestKeys()
104 private int mCellWidth; field in SimpleMonthView237 return mCellWidth; in getCellWidth()550 MathUtils.constrain(centerX / mCellWidth, 0, DAYS_IN_WEEK - 1); in findClosestColumn()635 final int colWidth = mCellWidth; in drawDaysOfWeek()662 final int colWidth = mCellWidth; in drawDays()911 mCellWidth = cellWidth; in onLayout()987 final int colWidth = mCellWidth; in getBoundsForDay()