Home
last modified time | relevance | path

Searched refs:availableWidthPx (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java50 public final int availableWidthPx; field in DeviceProfile
146 availableWidthPx = maxSize.x; in DeviceProfile()
149 availableWidthPx = minSize.x; in DeviceProfile()
238 Point size = new Point(availableWidthPx, availableHeightPx); in copy()
246 mwSize.set(Math.min(availableWidthPx, mwSize.x), Math.min(availableHeightPx, mwSize.y)); in getMultiWindowProfile()
384 int maxWidth = availableWidthPx - totalWorkspacePadding.x - folderMargin; in updateAvailableFolderCellDimensions()
426 result.x = calculateCellWidth(availableWidthPx - padding.x in getCellSize()
516 mInsets.left + availableWidthPx - hotseatBarSizePx - edgeMarginPx, in getAbsoluteOpenFolderBounds()
522 mInsets.left + availableWidthPx - edgeMarginPx, in getAbsoluteOpenFolderBounds()
DDropTargetBar.java109 lp.width = grid.availableWidthPx - 2 * gap; in setInsets()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DTileSizeCalculator.java171 int availableWidthPx = windowWidthPx - guttersWidthPx; in getTileSize() local
173 int widthPx = Math.round((float) availableWidthPx / columnCount); in getTileSize()
174 int heightPx = Math.round(((float) availableWidthPx / columnCount) in getTileSize()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java68 taskWidth = fullDp.availableWidthPx; in calculateTaskSize()
85 taskWidth = dp.availableWidthPx; in calculateTaskSize()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DClipAnimationHelper.java332 int taskWidth = fullDp.availableWidthPx; in updateStackBoundsToMultiWindowTaskSize()
347 : (insets.left + fullDp.availableWidthPx - taskWidth); in updateStackBoundsToMultiWindowTaskSize()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java84 ? workspacePage.getWidth() : launcher.getDeviceProfile().availableWidthPx; in getWorkspaceScaleAndTranslation()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java96 mInsets.left = mInsets.right = (mDp.widthPx - mDp.availableWidthPx) / 2; in LauncherPreviewRenderer()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java926 if (grid.isPhone && (grid.availableWidthPx - width) < 4 * distFromEdgeOfScreen) { in centerAboutIcon()
930 left = (grid.availableWidthPx - width) / 2; in centerAboutIcon()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DLauncherActivityControllerHelper.java155 final float targetCenterX = dp.availableWidthPx / 2f; in prepareHomeUI()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java278 int diffX = (int) (dX / mLauncher.getDeviceProfile().availableWidthPx in update()