Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileLayout.java22 protected int mCellWidth; field in TileLayout
94 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()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java141 private int mCellWidth; field in Keyboard
739 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()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java104 private int mCellWidth; field in SimpleMonthView
237 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()