Searched refs:cellHeight (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/ |
D | proximity_info_utils.h | 52 const int *const proximityCharsArray, const int cellHeight, const int cellWidth, in initializeProximities() argument 66 proximityCharsArray, cellHeight, cellWidth, gridWidth, mostCommonKeyWidth, in initializeProximities() 84 const int cellHeight, const int cellWidth, const int gridWidth) { in getStartIndexFromCoordinates() argument 85 return ((y / cellHeight) * gridWidth + (x / cellWidth)) * MAX_PROXIMITY_CHARS_SIZE; in getStartIndexFromCoordinates() 156 const int *const proximityCharsArray, const int cellHeight, const int cellWidth, in calculateProximities() argument 163 const int startIndex = getStartIndexFromCoordinates(x, y, cellHeight, cellWidth, gridWidth); in calculateProximities()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | ShortcutAndWidgetContainer.java | 51 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap, in setCellDimensions() argument 54 mCellHeight = cellHeight; in setCellDimensions() 116 final int cellHeight = mCellHeight; in measureChild() local 119 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), mCountX); in measureChild()
|
D | CellLayout.java | 307 int cellHeight = r.getDimensionPixelSize(R.dimen.workspace_cell_height); in heightInLandscape() local 311 return minGap * (numCells - 1) + cellHeight * numCells; in heightInLandscape() 936 int cellHeight; in getMetrics() local 945 cellHeight = res.getDimensionPixelSize(R.dimen.workspace_cell_height_land); in getMetrics() 955 cellHeight = res.getDimensionPixelSize(R.dimen.workspace_cell_height_port); in getMetrics() 968 int vFreeSpace = vSpace - (countY * cellHeight); in getMetrics() 972 metrics.set(cellWidth, cellHeight, widthGap, heightGap); in getMetrics() 2966 final int cellHeight = mCellHeight; in cellToRect() local 2974 int height = cellVSpan * cellHeight + ((cellVSpan - 1) * heightGap); in cellToRect() 2977 int y = vStartPadding + cellY * (cellHeight + heightGap); in cellToRect() [all …]
|
D | PagedViewCellLayout.java | 462 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, in setup() argument 472 height = myCellVSpan * cellHeight + ((myCellVSpan - 1) * heightGap) - in setup() 477 y = vStartPadding + myCellY * (cellHeight + heightGap) + topMargin; in setup() 480 y = myCellY * (cellHeight + heightGap) + topMargin; in setup()
|
D | AppWidgetResizeFrame.java | 357 int cellHeight = landMetrics.top; in getWidgetSizeRanges() local 361 int landHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density); in getWidgetSizeRanges() 365 cellHeight = portMetrics.top; in getWidgetSizeRanges() 369 int portHeight = (int) ((spanY * cellHeight + (spanY - 1) * heightGap) / density); in getWidgetSizeRanges()
|
D | AppsCustomizePagedView.java | 1104 int cellWidth, int cellHeight, int cellCountX) { in prepareLoadWidgetPreviewsTask() argument 1122 AsyncTaskPageData pageData = new AsyncTaskPageData(page, widgets, cellWidth, cellHeight, in prepareLoadWidgetPreviewsTask() 1180 final int cellHeight = ((contentHeight - mPageLayoutPaddingTop - mPageLayoutPaddingBottom in syncWidgetPageItems() local 1235 lp.height = cellHeight; in syncWidgetPageItems() 1249 int maxPreviewHeight = cellHeight; in syncWidgetPageItems()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 3096 int cellHeight = mCellHeight; in drawEvents() local 3100 selectionArea.top = top + mSelectionHour * (cellHeight + HOUR_GAP); in drawEvents() 3101 selectionArea.bottom = selectionArea.top + cellHeight; in drawEvents()
|