Searched refs:availableWidthPx (Results 1 – 12 of 12) sorted by relevance
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | SizeCalculator.java | 262 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/ |
D | DeviceProfile.java | 78 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()
|
D | DropTargetBar.java | 111 lp.width = grid.availableWidthPx - 2 * gap; in setInsets()
|
D | InvariantDeviceProfile.java | 534 float diff = Math.abs(profile.availableWidthPx - availableWidth) in getDeviceProfile()
|
D | Launcher.java | 1855 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/ |
D | SwipeUpAnimationLogic.java | 139 .getPrimaryValue(dp.availableWidthPx, dp.availableHeightPx); in getWindowTargetRect() 141 .getSecondaryValue(dp.availableWidthPx, dp.availableHeightPx); in getWindowTargetRect()
|
D | BaseActivityInterface.java | 291 out.x = dp.availableWidthPx; in getTaskDimension()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 73 ? workspacePage.getWidth() : launcher.getDeviceProfile().availableWidthPx; in getWorkspaceScaleAndTranslation()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ClipIconView.java | 239 int diffX = (int) (dX / dp.availableWidthPx * FG_TRANS_X_FACTOR); in update()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 231 mInsets.left = mInsets.right = (mDp.widthPx - mDp.availableWidthPx) / 2; in LauncherPreviewRenderer()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsFullSheet.java | 525 makeMeasureSpec(mActivityContext.getDeviceProfile().availableWidthPx, in onRecommendedWidgetsBound()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderTask.java | 995 FileLog.d(TAG, "DeviceProfile available width: " + deviceProfile.availableWidthPx in logWidgetInfo()
|