Searched refs:cellHeight (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_utils.h | 53 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/Messaging/src/com/android/messaging/ui/ |
D | MultiAttachmentLayout.java | 100 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/ |
D | LauncherAppWidgetProviderInfo.java | 192 private int getSpanY(Rect widgetPadding, int widgetHeight, int cellSpacing, float cellHeight) { in getSpanY() argument 195 cellHeight + cellSpacing))); in getSpanY()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 66 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY, in setCellDimensions() argument 69 mCellHeight = cellHeight; in setCellDimensions()
|
D | CellLayout.java | 2594 final int cellHeight = mCellHeight; in cellToRect() local 2602 int y = vStartPadding + (cellY * mBorderSpacing) + (cellY * cellHeight); in cellToRect() 2605 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * mBorderSpacing); in cellToRect() 2744 public void setup(int cellWidth, int cellHeight, boolean invertHorizontally, int colCount, in setup() argument 2746 setup(cellWidth, cellHeight, invertHorizontally, colCount, rowCount, 1.0f, 1.0f, in setup() 2757 public void setup(int cellWidth, int cellHeight, boolean invertHorizontally, int colCount, in setup() argument 2774 float myCellHeight = ((myCellVSpan * cellHeight) + vBorderSpacing) / cellScaleY; in setup() 2779 y = topMargin + (myCellY * cellHeight) + (myCellY * borderSpacing); in setup()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 2727 int cellHeight = mCellHeight; in drawEvents() local 2731 selectionArea.top = top + mSelectionHour * (cellHeight + HOUR_GAP); in drawEvents() 2732 selectionArea.bottom = selectionArea.top + cellHeight; in drawEvents()
|