Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQuickQSPanel.java216 LayoutParams lp = new LayoutParams(mCellWidth, mCellHeight); in generateTileLayoutParams()
243 mCellWidth = mContext.getResources().getDimensionPixelSize(R.dimen.qs_quick_tile_size);
244 mCellHeight = mCellWidth;
259 final int leftoverWhitespace = availableWidth - maxTiles * mCellWidth;
267 mColumns = mCellWidth == 0 ? 1 :
268 Math.min(maxTiles, availableWidth / mCellWidth );
269 mCellMarginHorizontal = (availableWidth - mColumns * mCellWidth) / (mColumns - 1);
291 record.tileView.measure(exactly(mCellWidth), exactly(mCellHeight)); in onMeasure()
307 return getPaddingStart() + column * (mCellWidth + mCellMarginHorizontal); in getColumnStart()
DTileLayout.java22 protected int mCellWidth; field in TileLayout
112 mCellWidth = in onMeasure()
119 record.tileView.measure(exactly(mCellWidth), exactly(mCellHeight)); in onMeasure()
182 final int right = left + mCellWidth; in layoutTileRecords()
198 column * (mCellWidth + mCellMarginHorizontal); in getColumnStart()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java151 private int mCellWidth; field in Keyboard
750 mCellWidth = (getMinWidth() + GRID_WIDTH - 1) / GRID_WIDTH; in computeNearestNeighbors()
754 final int gridWidth = GRID_WIDTH * mCellWidth; in computeNearestNeighbors()
756 for (int x = 0; x < gridWidth; x += mCellWidth) { in computeNearestNeighbors()
762 key.squaredDistanceFrom(x + mCellWidth - 1, y) < mProximityThreshold || in computeNearestNeighbors()
763 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1) in computeNearestNeighbors()
771 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell; in computeNearestNeighbors()
786 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth); in getNearestKeys()
/frameworks/base/core/java/android/widget/
DSimpleMonthView.java104 private int mCellWidth; field in SimpleMonthView
238 return mCellWidth; in getCellWidth()
550 } else if (mCellWidth == 0) { in findClosestColumn()
555 MathUtils.constrain(centerX / mCellWidth, 0, DAYS_IN_WEEK - 1); in findClosestColumn()
640 final int colWidth = mCellWidth; in drawDaysOfWeek()
667 final int colWidth = mCellWidth; in drawDays()
916 mCellWidth = cellWidth; in onLayout()
992 final int colWidth = mCellWidth; in getBoundsForDay()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt32750 Landroid/inputmethodservice/Keyboard;->mCellWidth:I