Searched refs:cellHeight (Results 1 – 5 of 5) 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 | 99 public int getHeightMeasureSpec(final int cellHeight, final int padding) { in getHeightMeasureSpec() argument 100 return MeasureSpec.makeMeasureSpec((endY - startY + 1) * cellHeight - padding * 2, in getHeightMeasureSpec() 303 final int cellHeight = height / GRID_HEIGHT; in onMeasure() local 311 imageTile.getHeightMeasureSpec(cellHeight, padding)); in onMeasure() 326 imageTile.getHeightMeasureSpec(cellHeight, padding)); in onMeasure() 336 final int cellHeight = getMeasuredHeight() / GRID_HEIGHT; in onLayout() local 345 final int tileTop = imageTile.startY * cellHeight; in onLayout()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 57 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY) { in setCellDimensions() argument 59 mCellHeight = cellHeight; in setCellDimensions()
|
D | CellLayout.java | 2513 final int cellHeight = mCellHeight; in cellToRect() local 2519 int height = cellVSpan * cellHeight; in cellToRect() 2521 int y = vStartPadding + cellY * cellHeight; in cellToRect() 2658 public void setup(int cellWidth, int cellHeight, boolean invertHorizontally, int colCount) { in setup() argument 2659 setup(cellWidth, cellHeight, invertHorizontally, colCount, 1.0f, 1.0f); in setup() 2669 public void setup(int cellWidth, int cellHeight, boolean invertHorizontally, int colCount, in setup() argument 2682 height = (int) (myCellVSpan * cellHeight / cellScaleY - topMargin - bottomMargin); in setup() 2684 y = (myCellY * cellHeight + topMargin); 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()
|