Home
last modified time | relevance | path

Searched refs:gridWidth (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/pagination/
DPageMeasurementHelper.java106 int gridWidth = windowWidth - mDefinedMarginHorizontal * 2 in handleWindowSizeChange() local
112 gridWidth = roundDownToModuloMultiple(gridWidth, mNumOfCols); in handleWindowSizeChange()
114 int cellWidth = gridWidth / mNumOfCols; in handleWindowSizeChange()
116 mGridDimensions = new GridDimensions(gridWidth, gridHeight, cellWidth, cellHeight); in handleWindowSizeChange()
119 int marginHorizontal = (windowWidth - gridWidth) / 2; in handleWindowSizeChange()
130 pageIndicatorWidth = gridWidth; in handleWindowSizeChange()
135 recyclerViewWidth = gridWidth; in handleWindowSizeChange()
176 public GridDimensions(int gridWidth, int gridHeight, int cellWidth, int cellHeight) { in GridDimensions() argument
177 gridWidthPx = gridWidth; in GridDimensions()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_utils.h54 const int gridWidth, const int mostCommonKeyWidth, const int keyCount, 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()
146 const int gridWidth, const int mostCommonKeyWidth, const int keyCount, in calculateProximities() argument
158 const int startIndex = getStartIndexFromCoordinates(x, y, cellHeight, cellWidth, gridWidth); in calculateProximities()
Dproximity_info.cpp53 const int gridWidth, const int gridHeight, const int mostCommonKeyWidth, in ProximityInfo() argument
59 : GRID_WIDTH(gridWidth), GRID_HEIGHT(gridHeight), MOST_COMMON_KEY_WIDTH(mostCommonKeyWidth), in ProximityInfo()
64 CELL_WIDTH((keyboardWidth + gridWidth - 1) / gridWidth), in ProximityInfo()
Dproximity_info.h32 const int gridWidth, const int gridHeight,
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_keyboard_ProximityInfo.cpp29 jint displayWidth, jint displayHeight, jint gridWidth, jint gridHeight, in latinime_Keyboard_setProximityInfo() argument
35 gridWidth, gridHeight, mostCommonkeyWidth, mostCommonkeyHeight, proximityChars, in latinime_Keyboard_setProximityInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DProximityInfo.java61 ProximityInfo(final int gridWidth, final int gridHeight, final int minWidth, final int height, in ProximityInfo() argument
65 mGridWidth = gridWidth; in ProximityInfo()
91 int gridWidth, int gridHeight, int mostCommonKeyWidth, int mostCommonKeyHeight, in setProximityInfoNative() argument
/packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/
DProximityInfo.java22 int gridWidth, int gridHeight, int mostCommonKeyWidth, int mostCommonKeyHeight, in setProximityInfoNative() argument
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java213 int gridWidth = in ProgramGuide() local
218 mViewPortMillis = (gridWidth * HOUR_IN_MILLIS) / mWidthPerHour; in ProgramGuide()