/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | ProximityInfo.java | 48 private final int mCellWidth; field in ProximityInfo 68 mCellWidth = (minWidth + mGridWidth - 1) / mGridWidth; in ProximityInfo() 251 final int lastPixelXCoordinate = mGridWidth * mCellWidth - 1; in computeNearestNeighbors() 263 final int halfCellWidth = mCellWidth / 2; in computeNearestNeighbors() 338 final int xDeltaToGrid = leftPixelWithinThreshold % mCellWidth; in computeNearestNeighbors() 341 xMiddleOfLeftCell + (xDeltaToGrid <= halfCellWidth ? 0 : mCellWidth)); in computeNearestNeighbors() 344 int baseIndexOfCurrentRow = (yStart / mCellHeight) * mGridWidth + (xStart / mCellWidth); in computeNearestNeighbors() 347 for (int centerX = xStart; centerX <= xEnd; centerX += mCellWidth) { in computeNearestNeighbors() 398 int index = (y / mCellHeight) * mGridWidth + (x / mCellWidth); in getNearestKeys()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GridViewSpecial.java | 82 mCellWidth = dpToPx(w, metrics); in LayoutSpec() 87 int mCellWidth, mCellHeight; field in GridViewSpecial.LayoutSpec 215 mColumns = 1 + (width - mSpec.mCellWidth) in onLayout() 216 / (mSpec.mCellWidth + mSpec.mCellSpacing); in onLayout() 220 - (mColumns * mSpec.mCellWidth)) / 2; in onLayout() 262 int w = mSpec.mCellWidth; in generateOutlineBitmap() 507 + (col * (mSpec.mCellWidth + mSpec.mCellSpacing)); in getRectForPosition() 511 left + mSpec.mCellWidth + mSpec.mCellSpacing, in getRectForPosition() 525 (x - leftSpacing) / (mSpec.mCellWidth + spacing)); in computeSelectedIndex() 679 mSpec.mCellWidth, mSpec.mCellHeight); in paintDecoration() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 58 private int mCellWidth; field in ShortcutAndWidgetContainer 81 mCellWidth = cellWidth; in setCellDimensions() 135 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp() 138 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp() 159 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild() 162 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild() 167 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild()
|
D | CellLayout.java | 96 @Thunk int mCellWidth; field in CellLayout 308 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in CellLayout() 378 mFixedCellWidth = mCellWidth = width; in setCellDimensions() 380 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in setCellDimensions() 399 mCellWidth = mCellHeight = -1; in resetCellSizeInternal() 416 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in setGridSize() 600 int paddingX = Math.min((mCellWidth - dp.iconSizePx) / 2, dp.gridVisualizationPaddingX); in visualizeGrid() 841 result[0] = (x - hStartPadding) / (mCellWidth + mBorderSpace.x); in pointToCellExact() 954 return mCellWidth; in getCellWidth() 980 if (cw != mCellWidth || ch != mCellHeight) { in onMeasure() [all …]
|
D | MultipageCellLayout.java | 127 (getMeasuredWidth() - getPaddingLeft() - getPaddingRight() - (mCountX * mCellWidth) in getUnusedHorizontalSpace()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state.h | 49 mKeyCount(0), mCellHeight(0), mCellWidth(0), mGridHeight(0), mGridWidth(0), in ProximityInfoState() 203 int mCellWidth; variable
|
D | proximity_info_state.cpp | 61 mCellWidth = proximityInfo->getCellWidth(); in initInputParams()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.kt | 258 private var mCellWidth = 0 variable 850 mCellWidth = (gridAreaWidth - mNumDays * DAY_GAP) / mNumDays in onSizeChanged() 974 val eventAreaWidth = mNumDays * (mCellWidth + DAY_GAP) in remeasure() 1707 dayNames = if (mDateStrWidth < mCellWidth) { in drawDayHeaderLoop() 3216 var day = (x - mHoursWidth) / (mCellWidth + DAY_GAP) in setSelectionFromPosition() 3258 val cellWidth = mCellWidth in findSelectedEvent()
|