/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 56 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/ |
D | FilmstripItemBase.java | 80 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()
|
D | FilmstripItem.java | 94 public void setSuggestedSize(int widthPx, int heightPx); in setSuggestedSize() argument
|
D | PlaceholderItem.java | 112 public void setSuggestedSize(int widthPx, int heightPx) { } in setSuggestedSize() argument
|
D | SessionItem.java | 121 public void setSuggestedSize(int widthPx, int heightPx) { } in setSuggestedSize() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 226 mInsets.top = mInsets.bottom = (mDp.heightPx - mDp.availableHeightPx) / 2; in LauncherPreviewRenderer() 269 measureView(mRootView, mDp.widthPx, mDp.heightPx); in MainThreadRenderer() 518 mDp.heightPx - searchUiManager.getScrollRangeDelta(mInsets)); in populate() 520 measureView(mRootView, mDp.widthPx, mDp.heightPx); in populate() 522 measureView(mRootView, mDp.widthPx, mDp.heightPx); in populate() 524 measureView(mRootView, mDp.widthPx, mDp.heightPx); in populate()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | SizeCalculator.java | 193 int heightPx = Math.round(((float) availableWidthPx / columnCount) in getTileSize() local 197 return new Point(widthPx, heightPx); in getTileSize()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | AnimatorControllerWithResistance.java | 168 ((params.dp.heightPx - startRect.bottom) * TWO_BUTTON_EXTRA_DRAG_FACTOR); in createRecentsResistanceAnim() 178 / (params.dp.heightPx - startRect.bottom); in createRecentsResistanceAnim()
|
D | RecentsOrientedState.java | 367 float fullHeight = dp.heightPx - insets.top - insets.bottom; in getFullScreenScaleAndPivot()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsTransitionController.java | 95 mShiftRange = mLauncher.getDeviceProfile().heightPx; in AllAppsTransitionController() 240 mShiftRange = mLauncher.getDeviceProfile().heightPx - mScrollRangeDelta; in setScrollRangeDelta()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | TaskViewSimulator.java | 218 mDp.widthPx, mDp.heightPx, matrix); in applyWindowToHomeRotation() 244 mScrollState.halfScreenSize = poh.getPrimaryValue(mDp.widthPx, mDp.heightPx) / 2; in apply()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | SwipeUpGestureTutorialController.java | 182 new Rect(0, 0, dp.widthPx, dp.heightPx), dp.getInsets()); in initDp() 218 int fakeHomeIconTop = mDp.heightPx - (mDp.allAppsCellHeightPx * 3); in handleSwipeUpToHome()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | TransposedQuickSwitchTouchController.java | 42 return mLauncher.getDeviceProfile().heightPx / 2f; in getShiftRange()
|
D | NavBarToHomeTouchController.java | 150 return mLauncher.getDeviceProfile().heightPx; in getShiftRange()
|
D | NoButtonQuickSwitchTouchController.java | 129 mMaxYProgress = mLauncher.getDeviceProfile().heightPx / mYRange; in NoButtonQuickSwitchTouchController()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | LauncherSwipeHandlerV2.java | 133 long accuracy = 2 * Math.max(mDp.widthPx, mDp.heightPx); in createActivityAnimationToHome()
|
D | FallbackActivityInterface.java | 66 return dp.heightPx - outRect.bottom; in getSwipeUpDestinationAndLength()
|
D | SwipeUpAnimationLogic.java | 94 mDragLengthFactor = (float) dp.heightPx / mTransitionDragLength; in initTransitionEndpoints()
|
D | FallbackSwipeHandler.java | 263 .setMinimumVisibleChange(1f / mDp.heightPx) in playAtomicAnimation()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 94 float distanceFromBottom = dp.heightPx / 2 - dp.hotseatBarBottomPaddingPx; in getHotseatScaleAndTranslation()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/ |
D | LauncherUIScrollTest.java | 177 coords[0].y = dp.heightPx / 2; in createScrollEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | PortraitPagedViewHandler.java | 274 return dp.heightPx - rect.bottom; in getDistanceToBottomOfRect()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | AllAppsEduView.java | 241 lp.topMargin = grid.heightPx - grid.hotseatBarSizePx - mMaxHeightPx; in init()
|
D | LauncherRecentsView.java | 147 float maxShiftRange = mActivity.getDeviceProfile().heightPx; in createAdjacentPageAnimForTaskLaunch()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | BaseActivityInterface.java | 253 int launcherVisibleHeight = dp.heightPx - insets.top - insets.bottom; in calculateTaskSizeInternal()
|