Searched refs:mCellWidth (Results 1 – 7 of 7) sorted by relevance
/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 | 42 private int mCellWidth; field in ShortcutAndWidgetContainer 58 mCellWidth = cellWidth; in setCellDimensions() 97 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, in setupLp() 100 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX); in setupLp() 119 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, in measureChild() 123 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX); in measureChild()
|
D | CellLayout.java | 90 @Thunk int mCellWidth; field in CellLayout 211 mCellWidth = mCellHeight = -1; in CellLayout() 291 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in CellLayout() 368 mFixedCellWidth = mCellWidth = width; in setCellDimensions() 370 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in setCellDimensions() 379 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mCountX, mCountY); in setGridSize() 455 cd.setBounds(0, 0, mCellWidth, mCellHeight); in onDraw() 667 result[0] = (x - hStartPadding) / mCellWidth; in pointToCellExact() 686 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result); in pointToCellRounded() 701 result[0] = hStartPadding + cellX * mCellWidth; in cellToPoint() [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()
|