Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSizeCalculator.java262 int availableWidthPx = windowWidthPx - guttersWidthPx; in getTileSize() local
264 int widthPx = Math.round((float) availableWidthPx / columnCount); in getTileSize()
265 int heightPx = Math.round(((float) availableWidthPx / columnCount) in getTileSize()
279 int availableWidthPx = windowWidthPx in getSquareTileSize() local
282 int widthPx = Math.round((float) availableWidthPx / columnCount); in getSquareTileSize()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java78 public final int availableWidthPx; field in DeviceProfile
230 availableWidthPx = windowBounds.availableSize.x; in DeviceProfile()
458 new WindowBounds(widthPx, heightPx, availableWidthPx, availableHeightPx); in toBuilder()
544 scaleX = availableWidthPx / usedWidth; in updateAvailableDimensions()
663 int contentMaxWidth = availableWidthPx - totalWorkspacePadding.x - folderMargin in updateAvailableFolderCellDimensions()
730 result.x = calculateCellWidth(availableWidthPx - padding.x in getCellSize()
828 mInsets.left + availableWidthPx - hotseatBarSizePx - edgeMarginPx, in getAbsoluteOpenFolderBounds()
835 mInsets.left + availableWidthPx - edgeMarginPx, in getAbsoluteOpenFolderBounds()
919 writer.println(prefix + pxToDpStr("availableWidthPx", availableWidthPx)); in dump()
DDropTargetBar.java111 lp.width = grid.availableWidthPx - 2 * gap; in setInsets()
DInvariantDeviceProfile.java534 float diff = Math.abs(profile.availableWidthPx - availableWidth) in getDeviceProfile()
DLauncher.java1855 if (grid.isPhone && (grid.availableWidthPx - width) < 4 * distFromEdgeOfScreen) { in updateOpenFolderPosition()
1859 left = (grid.availableWidthPx - width) / 2; in updateOpenFolderPosition()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSwipeUpAnimationLogic.java139 .getPrimaryValue(dp.availableWidthPx, dp.availableHeightPx); in getWindowTargetRect()
141 .getSecondaryValue(dp.availableWidthPx, dp.availableHeightPx); in getWindowTargetRect()
DBaseActivityInterface.java291 out.x = dp.availableWidthPx; in getTaskDimension()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DOverviewState.java73 ? workspacePage.getWidth() : launcher.getDeviceProfile().availableWidthPx; in getWorkspaceScaleAndTranslation()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DClipIconView.java239 int diffX = (int) (dX / dp.availableWidthPx * FG_TRANS_X_FACTOR); in update()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java231 mInsets.left = mInsets.right = (mDp.widthPx - mDp.availableWidthPx) / 2; in LauncherPreviewRenderer()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java525 makeMeasureSpec(mActivityContext.getDeviceProfile().availableWidthPx, in onRecommendedWidgetsBound()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderTask.java995 FileLog.d(TAG, "DeviceProfile available width: " + deviceProfile.availableWidthPx in logWidgetInfo()