Home
last modified time | relevance | path

Searched refs:getCellSize (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DDeviceProfile.java451 hotseatBarSizeExtraSpacePx = getCellSize().y - iconSizePx in DeviceProfile()
558 float appWidgetScaleX = (float) profile.getCellSize().x / getCellSize().x; in getMultiWindowProfile()
559 float appWidgetScaleY = (float) profile.getCellSize().y / getCellSize().y; in getMultiWindowProfile()
573 float workspaceCellPaddingY = getCellSize().y - iconSizePx - iconDrawablePaddingPx in hideWorkspaceLabelsIfNotEnoughSpace()
683 int cellPaddingY = (getCellSize().y - cellHeightPx) / 2;
706 allAppsCellHeightPx = getCellSize().y;
813 public Point getCellSize() { in getCellSize() method
814 return getCellSize(null); in getCellSize()
817 public Point getCellSize(Point result) { in getCellSize() method
1073 writer.println(prefix + pxToDpStr("getCellSize().x", getCellSize().x)); in dump()
[all …]
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/
H A DLauncherAppWidgetProviderInfoTest.java264 }).when(profile).getCellSize(any(Point.class)); in createIDP()
265 Mockito.when(profile.getCellSize()).thenReturn(new Point(CELL_SIZE, CELL_SIZE)); in createIDP()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
H A DWidgetSizes.java122 profile.getCellSize(recycledCellSize); in getWidgetSizePx()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DLauncherAppWidgetProviderInfo.java114 dp.getCellSize(cellSize); in initSpans()
H A DBaseWidgetSheet.java177 Point cellSize = deviceProfile.getCellSize(); in computeMaxHorizontalSpans()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DLoaderTask.java1066 deviceProfile.getCellSize(cellSize); in logWidgetInfo()