Searched refs:mCellWidth (Results 1 – 5 of 5) sorted by relevance
216 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()
22 protected int mCellWidth; field in TileLayout112 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()
151 private int mCellWidth; field in Keyboard750 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()
104 private int mCellWidth; field in SimpleMonthView238 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()
32750 Landroid/inputmethodservice/Keyboard;->mCellWidth:I