/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 97 mInsets.top = mInsets.bottom = (mDp.heightPx - mDp.availableHeightPx) / 2; in LauncherPreviewRenderer() 116 return BitmapRenderer.createHardwareBitmap(mDp.widthPx, mDp.heightPx, c -> { in call() 155 measureView(mRootView, mDp.widthPx, mDp.heightPx); 276 mDp.heightPx - searchUiManager.getScrollRangeDelta(mInsets)); 278 measureView(mRootView, mDp.widthPx, mDp.heightPx); 280 measureView(mRootView, mDp.widthPx, mDp.heightPx); 282 measureView(mRootView, mDp.widthPx, mDp.heightPx);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 49 public final int heightPx; field in DeviceProfile 144 heightPx = height; in DeviceProfile() 160 aspectRatio = ((float) Math.max(widthPx, heightPx)) / Math.min(widthPx, heightPx); in DeviceProfile() 239 return new DeviceProfile(context, inv, size, size, widthPx, heightPx, isLandscape, in copy() 466 int availablePaddingY = Math.max(0, heightPx - edgeMarginPx - paddingBottom in updateWorkspacePadding()
|
D | Workspace.java | 3273 ? mLauncher.getDeviceProfile().heightPx : getMeasuredHeight(); in getExpectedHeight()
|
/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/quickstep/src/com/android/quickstep/util/ |
D | LayoutUtils.java | 81 taskHeight = dp.heightPx; in calculateTaskSize() 98 int launcherVisibleHeight = dp.heightPx - insets.top - insets.bottom; in calculateTaskSize()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | TileSizeCalculator.java | 174 int heightPx = Math.round(((float) availableWidthPx / columnCount) in getTileSize() local 178 return new Point(widthPx, heightPx); in getTileSize()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsTransitionController.java | 89 mShiftRange = mLauncher.getDeviceProfile().heightPx; in AllAppsTransitionController() 247 mShiftRange = mLauncher.getDeviceProfile().heightPx - mScrollRangeDelta;
|
/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 | 113 return mLauncher.getDeviceProfile().heightPx; in getShiftRange()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | FallbackActivityControllerHelper.java | 70 return dp.heightPx - outRect.bottom; in getSwipeUpDestinationAndLength()
|
D | WindowTransformSwipeHandler.java | 393 mDragLengthFactor = (float) dp.heightPx / mTransitionDragLength; in initTransitionEndpoints() 788 overviewStackBounds = new Rect(0, 0, dp.widthPx, dp.heightPx); in onRecentsAnimationStart()
|
D | LauncherActivityControllerHelper.java | 171 long accuracy = 2 * Math.max(dp.widthPx, dp.heightPx); in prepareHomeUI()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | LauncherRecentsView.java | 127 float maxShiftRange = mActivity.getDeviceProfile().heightPx; in createAdjacentPageAnimForTaskLaunch()
|
D | RecentsView.java | 648 dp.heightPx - mInsets.bottom - mTempRect.bottom); in setInsets()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationViewFragment.java | 961 final int heightPx = mConversationContainer.measureOverlay(hostView); in measureOverlayHeight() local 962 convItem.setHeight(heightPx); in measureOverlayHeight() 965 return heightPx; in measureOverlayHeight()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/ |
D | FallbackNoButtonInputConsumer.java | 322 Rect overviewStackBounds = new Rect(0, 0, mDP.widthPx, mDP.heightPx);
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepAppTransitionManagerImpl.java | 309 Rect bounds = new Rect(0, 0, mDeviceProfile.widthPx, mDeviceProfile.heightPx); in getWindowTargetBounds()
|