Home
last modified time | relevance | path

Searched refs:cellHeight (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DCellLayoutLayoutParams.java115 public void setup(int cellWidth, int cellHeight, boolean invertHorizontally, int colCount, in setup() argument
117 setup(cellWidth, cellHeight, invertHorizontally, colCount, rowCount, 1.0f, 1.0f, in setup()
128 public void setup(int cellWidth, int cellHeight, boolean invertHorizontally, int colCount, in setup() argument
145 float myCellHeight = ((myCellVSpan * cellHeight) + vBorderSpacing) / cellScaleY; in setup()
150 y = topMargin + (myCellY * cellHeight) + (myCellY * borderSpace.y); in setup()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_utils.h53 const int *const proximityCharsArray, const int cellHeight, const int cellWidth, in initializeProximities() argument
67 proximityCharsArray, cellHeight, cellWidth, gridWidth, mostCommonKeyWidth, in initializeProximities()
85 const int cellHeight, const int cellWidth, const int gridWidth) { in getStartIndexFromCoordinates() argument
86 return ((y / cellHeight) * gridWidth + (x / cellWidth)) * MAX_PROXIMITY_CHARS_SIZE; in getStartIndexFromCoordinates()
145 const int *const proximityCharsArray, const int cellHeight, const int cellWidth, in calculateProximities() argument
158 const int startIndex = getStartIndexFromCoordinates(x, y, cellHeight, cellWidth, gridWidth); in calculateProximities()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/pagination/
DPageMeasurementHelper.java115 int cellHeight = gridHeight / mNumOfRows; in handleWindowSizeChange() local
116 mGridDimensions = new GridDimensions(gridWidth, gridHeight, cellWidth, cellHeight); in handleWindowSizeChange()
176 public GridDimensions(int gridWidth, int gridHeight, int cellWidth, int cellHeight) { in GridDimensions() argument
180 cellHeightPx = cellHeight; in GridDimensions()
/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java100 public int getHeightMeasureSpec(final int cellHeight, final int padding) { in getHeightMeasureSpec() argument
101 return MeasureSpec.makeMeasureSpec((endY - startY + 1) * cellHeight - padding * 2, in getHeightMeasureSpec()
308 final int cellHeight = height / GRID_HEIGHT; in onMeasure() local
316 imageTile.getHeightMeasureSpec(cellHeight, padding)); in onMeasure()
331 imageTile.getHeightMeasureSpec(cellHeight, padding)); in onMeasure()
341 final int cellHeight = getMeasuredHeight() / GRID_HEIGHT; in onLayout() local
350 final int tileTop = imageTile.startY * cellHeight; in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherAppWidgetProviderInfo.java180 private int getSpanY(Rect widgetPadding, int widgetHeight, int cellSpacing, float cellHeight) { in getSpanY() argument
182 cellSpacing, cellHeight); in getSpanY()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java79 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY, in setCellDimensions() argument
82 mCellHeight = cellHeight; in setCellDimensions()
DCellLayout.java1800 final int cellHeight = mCellHeight; in cellToRect() local
1808 int y = vStartPadding + (cellY * mBorderSpace.y) + (cellY * cellHeight); in cellToRect()
1811 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * mBorderSpace.y); in cellToRect()
DDeviceProfile.java1637 int cellHeight = calculateCellHeight(
1640 int extraIconEndSpacing = (cellHeight - iconSizePx) / 2;
/packages/apps/Calendar/src/com/android/calendar/
DDayView.kt2343 val cellHeight = mCellHeight in drawEvents() constant
2347 selectionArea.top = top + mSelectionHour * (cellHeight + HOUR_GAP) in drawEvents()
2348 selectionArea.bottom = selectionArea.top + cellHeight in drawEvents()