Home
last modified time | relevance | path

Searched refs:heightPx (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java56 public final int heightPx; field in DeviceProfile
156 heightPx = height; in DeviceProfile()
173 aspectRatio = ((float) Math.max(widthPx, heightPx)) / Math.min(widthPx, heightPx); in DeviceProfile()
257 .setSize(widthPx, heightPx) in toBuilder()
518 int availablePaddingY = Math.max(0, heightPx - edgeMarginPx - paddingBottom in updateWorkspacePadding()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemBase.java80 public void setSuggestedSize(int widthPx, int heightPx) { in setSuggestedSize() argument
81 if (widthPx > 0 && heightPx > 0) { in setSuggestedSize()
82 mSuggestedSize = new Size(widthPx, heightPx); in setSuggestedSize()
DFilmstripItem.java94 public void setSuggestedSize(int widthPx, int heightPx); in setSuggestedSize() argument
DPlaceholderItem.java112 public void setSuggestedSize(int widthPx, int heightPx) { } in setSuggestedSize() argument
DSessionItem.java121 public void setSuggestedSize(int widthPx, int heightPx) { } in setSuggestedSize() argument
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java223 mInsets.top = mInsets.bottom = (mDp.heightPx - mDp.availableHeightPx) / 2; in LauncherPreviewRenderer()
266 measureView(mRootView, mDp.widthPx, mDp.heightPx); in MainThreadRenderer()
491 mDp.heightPx - searchUiManager.getScrollRangeDelta(mInsets)); in populate()
493 measureView(mRootView, mDp.widthPx, mDp.heightPx); in populate()
495 measureView(mRootView, mDp.widthPx, mDp.heightPx); in populate()
497 measureView(mRootView, mDp.widthPx, mDp.heightPx); in populate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DTileSizeCalculator.java187 int heightPx = Math.round(((float) availableWidthPx / columnCount) in getTileSize() local
191 return new Point(widthPx, heightPx); in getTileSize()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DTaskViewSimulator.java220 mDp.widthPx, mDp.heightPx, matrix); in applyWindowToHomeRotation()
246 mScrollState.halfScreenSize = poh.getPrimaryValue(mDp.widthPx, mDp.heightPx) / 2; in apply()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java179 new Rect(0, 0, dp.widthPx, dp.heightPx), dp.getInsets()); in initDp()
216 int fakeHomeIconTop = mDp.heightPx - (mDp.allAppsCellHeightPx * 3); in handleSwipeUpToHome()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsTransitionController.java95 mShiftRange = mLauncher.getDeviceProfile().heightPx; in AllAppsTransitionController()
240 mShiftRange = mLauncher.getDeviceProfile().heightPx - mScrollRangeDelta; in setScrollRangeDelta()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DTransposedQuickSwitchTouchController.java42 return mLauncher.getDeviceProfile().heightPx / 2f; in getShiftRange()
DNavBarToHomeTouchController.java146 return mLauncher.getDeviceProfile().heightPx; in getShiftRange()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java52 return (dp.heightPx - taskSize.height()) / 2; in getShelfTrackingDistance()
DRecentsOrientedState.java373 float fullHeight = dp.heightPx - insets.top - insets.bottom; in getFullScreenScaleAndPivot()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DLauncherSwipeHandlerV2.java91 long accuracy = 2 * Math.max(mDp.widthPx, mDp.heightPx); in createHomeAnimationFactory()
DFallbackActivityInterface.java66 return dp.heightPx - outRect.bottom; in getSwipeUpDestinationAndLength()
DFallbackSwipeHandler.java214 .setMinimumVisibleChange(1f / mDp.heightPx) in playAtomicAnimation()
DSwipeUpAnimationLogic.java101 mDragLengthFactor = (float) dp.heightPx / mTransitionDragLength; in initTransitionEndpoints()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java94 float distanceFromBottom = dp.heightPx / 2 - dp.hotseatBarBottomPaddingPx; in getHotseatScaleAndTranslation()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/
DLauncherUIScrollTest.java177 coords[0].y = dp.heightPx / 2; in createScrollEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DAllAppsEduView.java221 lp.topMargin = grid.heightPx - grid.hotseatBarSizePx - mMaxHeightPx; in init()
DLauncherRecentsView.java144 float maxShiftRange = mActivity.getDeviceProfile().heightPx; in createAdjacentPageAnimForTaskLaunch()
DRecentsView.java862 dp.heightPx - mInsets.bottom - mTempRect.bottom); in resetPaddingFromTaskSize()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseActivityInterface.java251 int launcherVisibleHeight = dp.heightPx - insets.top - insets.bottom; in calculateTaskSizeInternal()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java313 Rect bounds = new Rect(0, 0, mDeviceProfile.widthPx, mDeviceProfile.heightPx); in getWindowTargetBounds()

12