Home
last modified time | relevance | path

Searched refs:cellWidth (Results 1 – 8 of 8) 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.java95 public int getWidthMeasureSpec(final int cellWidth, final int padding) { in getWidthMeasureSpec() argument
96 return MeasureSpec.makeMeasureSpec((endX - startX + 1) * cellWidth - padding * 2, in getWidthMeasureSpec()
307 final int cellWidth = width / GRID_WIDTH; in onMeasure() local
315 view.measure(imageTile.getWidthMeasureSpec(cellWidth, padding), in onMeasure()
330 mPlusTextView.measure(imageTile.getWidthMeasureSpec(cellWidth, padding), in onMeasure()
340 final int cellWidth = getMeasuredWidth() / GRID_WIDTH; in onLayout() local
349 final int tileLeft = imageTile.startX * cellWidth; in onLayout()
/packages/apps/Calendar/src/com/android/calendar/
DEventGeometry.java48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) { in computeEventRect() argument
100 float colWidth = (float) (cellWidth - (maxCols + 1) * mCellMargin) / (float) maxCols; in computeEventRect()
DDayView.java2726 int cellWidth = computeDayLeftPosition(dayIndex + 1) - left + 1; in drawEvents() local
2734 selectionArea.right = selectionArea.left + cellWidth; in drawEvents()
2746 if (!geometry.computeEventRect(date, left, top, cellWidth, event)) { in drawEvents()
3623 int cellWidth = mCellWidth; in findSelectedEvent() local
3700 if (!geometry.computeEventRect(date, left, top, cellWidth, event)) { in findSelectedEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java57 public void setCellDimensions(int cellWidth, int cellHeight, int countX, int countY) { in setCellDimensions() argument
58 mCellWidth = cellWidth; in setCellDimensions()
DCellLayout.java2529 final int cellWidth = mCellWidth; in cellToRect() local
2535 int width = cellHSpan * cellWidth; in cellToRect()
2537 int x = hStartPadding + cellX * cellWidth; 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
2698 width = (int) (myCellHSpan * cellWidth / cellScaleX - leftMargin - rightMargin); in setup()
2700 x = (myCellX * cellWidth + leftMargin); in setup()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java117 int cellWidth = DeviceProfile.calculateCellWidth(rowWidth, dp.inv.numHotseatIcons); in onMeasure() local
119 int iconPadding = cellWidth - iconVisibleSize; in onMeasure()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java600 int cellWidth = getScaledSize(R.dimen.grid_width); in calculateColumnCount() local
611 (mRecView.getWidth() - viewPadding) / (cellWidth + cellMargin)); in calculateColumnCount()