/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/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/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 49 private int mCellWidth; field in ShortcutAndWidgetContainer 68 mCellWidth = cellWidth; in setCellDimensions() 110 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp() 113 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp() 134 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild() 137 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild()
|
D | CellLayout.java | 89 @Thunk int mCellWidth; field in CellLayout 244 mCellWidth = mCellHeight = -1; in CellLayout() 311 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in CellLayout() 369 mFixedCellWidth = mCellWidth = width; in setCellDimensions() 371 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in setCellDimensions() 381 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY, in setGridSize() 448 cd.setBounds(0, 0, mCellWidth, mCellHeight); in onDraw() 532 int paddingX = (int) Math.min((mCellWidth - dp.iconSizePx) / 2, mGridVisualizationPadding); in visualizeGrid() 535 mCellWidth - paddingX, in visualizeGrid() 545 int transX = i * mCellWidth + (i * mBorderSpacing) + getPaddingLeft() in visualizeGrid() [all …]
|
/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.java | 327 private int mCellWidth; field in DayView 1209 mCellWidth = (gridAreaWidth - (mNumDays * DAY_GAP)) / mNumDays; in onSizeChanged() 1334 final int eventAreaWidth = mNumDays * (mCellWidth + DAY_GAP); in remeasure() 2094 if (mDateStrWidth < mCellWidth) { in drawDayHeaderLoop() 3577 int day = (x - mHoursWidth) / (mCellWidth + DAY_GAP); in setSelectionFromPosition() 3623 int cellWidth = mCellWidth; in findSelectedEvent()
|