Home
last modified time | relevance | path

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

/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/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/
DShortcutAndWidgetContainer.java57 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY) { in setCellDimensions() argument
59 mCellHeight = cellHeight; in setCellDimensions()
DCellLayout.java2530 final int cellHeight = mCellHeight; in cellToRect() local
2536 int height = cellVSpan * cellHeight; in cellToRect()
2538 int y = vStartPadding + cellY * cellHeight; in cellToRect()
2675 public void setup(int cellWidth, int cellHeight, boolean invertHorizontally, int colCount) { in setup() argument
2676 setup(cellWidth, cellHeight, invertHorizontally, colCount, 1.0f, 1.0f); in setup()
2686 public void setup(int cellWidth, int cellHeight, boolean invertHorizontally, int colCount, in setup() argument
2699 height = (int) (myCellVSpan * cellHeight / cellScaleY - topMargin - bottomMargin); in setup()
2701 y = (myCellY * cellHeight + topMargin); in setup()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java2727 int cellHeight = mCellHeight; in drawEvents() local
2731 selectionArea.top = top + mSelectionHour * (cellHeight + HOUR_GAP); in drawEvents()
2732 selectionArea.bottom = selectionArea.top + cellHeight; in drawEvents()