/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepTransitionManager.java | 256 private DeviceProfile mDeviceProfile; field in QuickstepTransitionManager 293 mDeviceProfile = mLauncher.getDeviceProfile(); in QuickstepTransitionManager() 324 mDeviceProfile = dp; in onDeviceProfileChanged() 511 if (target == null) return new Rect(0, 0, mDeviceProfile.widthPx, mDeviceProfile.heightPx); in getWindowTargetBounds() 521 Utilities.rotateBounds(bounds, mDeviceProfile.heightPx, mDeviceProfile.widthPx, in getWindowTargetBounds() 524 Utilities.rotateBounds(bounds, mDeviceProfile.widthPx, mDeviceProfile.heightPx, in getWindowTargetBounds() 552 ? new float[]{1, mDeviceProfile.workspaceContentScale} in getLauncherContentAnimator() 553 : new float[]{mDeviceProfile.workspaceContentScale, 1}; in getLauncherContentAnimator() 563 if (mDeviceProfile.isTablet) { in getLauncherContentAnimator() 611 if (mDeviceProfile.isTaskbarPresent) { in getLauncherContentAnimator() [all …]
|
D | WidgetPickerActivity.java | 168 mDeviceProfile = idp.getDeviceProfile(this); in onCreate() 364 mDeviceProfile.bottomSheetOpenDuration);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 208 private DeviceProfile mDeviceProfile; field in BubbleTextView 300 mDeviceProfile = mActivity.getDeviceProfile(); in BubbleTextView() 306 setTextSize(TypedValue.COMPLEX_UNIT_PX, mDeviceProfile.iconTextSizePx); in BubbleTextView() 307 setCompoundDrawablePadding(mDeviceProfile.iconDrawablePaddingPx); in BubbleTextView() 308 defaultIconSize = mDeviceProfile.iconSizePx; in BubbleTextView() 309 setCenterVertically(mDeviceProfile.iconCenterVertically); in BubbleTextView() 312 setTextSize(TypedValue.COMPLEX_UNIT_PX, mDeviceProfile.allAppsIconTextSizePx); in BubbleTextView() 313 setCompoundDrawablePadding(mDeviceProfile.allAppsIconDrawablePaddingPx); in BubbleTextView() 314 defaultIconSize = mDeviceProfile.allAppsIconSizePx; in BubbleTextView() 316 setTextSize(TypedValue.COMPLEX_UNIT_PX, mDeviceProfile.folderChildTextSizePx); in BubbleTextView() [all …]
|
D | BaseActivity.java | 111 protected DeviceProfile mDeviceProfile; field in BaseActivity 204 return mDeviceProfile; in getDeviceProfile() 490 if ((flags & CHANGE_ROTATION) != 0 && mDeviceProfile.isVerticalBarLayout()) { in onDisplayInfoChanged()
|
D | Launcher.java | 756 initDeviceProfile(mDeviceProfile.inv); 776 if (!initDeviceProfile(mDeviceProfile.inv)) { 807 Objects.requireNonNull(mDeviceProfile.inv).isFixedLandscape 821 if (mDeviceProfile == deviceProfile) { 825 mDeviceProfile = deviceProfile; 827 mDeviceProfile = mDeviceProfile.getMultiWindowProfile( 831 if (FOLDABLE_SINGLE_PAGE.get() && mDeviceProfile.isTwoPanels) { 832 mCellPosMapper = new TwoPanelCellPosMapper(mDeviceProfile.inv.numColumns); 834 mCellPosMapper = new CellPosMapper(mDeviceProfile.isVerticalBarLayout(), 835 mDeviceProfile.numShownHotseatIcons); [all …]
|
D | Workspace.java | 535 return !FOLDABLE_SINGLE_PAGE.get() && mLauncher.mDeviceProfile.isTwoPanels; in isTwoPanelEnabled()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | RecentsHitboxExtender.java | 42 private DeviceProfile mDeviceProfile; field in RecentsHitboxExtender 62 mDeviceProfile = deviceProfile; in init() 104 y + mRecentsButton.getHeight() + mDeviceProfile.getTaskbarOffsetY() in onAnimationProgressToOverview()
|
D | TaskbarActivityContext.java | 219 private DeviceProfile mDeviceProfile; field in TaskbarActivityContext 281 mDeviceProfile.inv.numRows, in TaskbarActivityContext() 282 mDeviceProfile.inv.numColumns); in TaskbarActivityContext() 319 || (!mDeviceProfile.isPhone && !mDeviceProfile.isVerticalBarLayout()); in TaskbarActivityContext() 472 mDeviceProfile = originDeviceProfile.toBuilder(this) in applyDeviceProfile() 476 mTransientTaskbarDeviceProfile = mDeviceProfile; in applyDeviceProfile() 477 mPersistentTaskbarDeviceProfile = mDeviceProfile in applyDeviceProfile() 483 mPersistentTaskbarDeviceProfile = mDeviceProfile; in applyDeviceProfile() 484 mTransientTaskbarDeviceProfile = mDeviceProfile in applyDeviceProfile() 580 && mDeviceProfile.isPhone in isPhoneMode() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
D | TestInformationHandler.java | 94 protected DeviceProfile mDeviceProfile; field in TestInformationHandler 98 mDeviceProfile = InvariantDeviceProfile.INSTANCE.get(context).getDeviceProfile(context); in init() 181 mDeviceProfile.cellLayoutBorderSpacePx.y); in call() 197 mDeviceProfile.allAppsCellHeightPx); in call() 206 response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD, mDeviceProfile.isTablet); in call() 210 mDeviceProfile.isPredictiveBackSwipe); in call() 223 mDeviceProfile.numShownAllAppsColumns); in call() 233 FOLDABLE_SINGLE_PAGE.get() ? false : mDeviceProfile.isTwoPanels); in call()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | EdgeBackGestureHandler.java | 48 private final DeviceProfile mDeviceProfile; field in EdgeBackGestureHandler 96 mDeviceProfile = deviceProfile; in EdgeBackGestureHandler() 121 mDisplaySize.set(mDeviceProfile.widthPx, mDeviceProfile.heightPx); in setViewGroupParent()
|
D | TutorialFragment.java | 85 private DeviceProfile mDeviceProfile; field in TutorialFragment 184 mDeviceProfile = InvariantDeviceProfile.INSTANCE.get(getContext()) in onCreate() 186 mIsLargeScreen = mDeviceProfile.isTablet; in onCreate() 187 mIsFoldable = mDeviceProfile.isTwoPanels; in onCreate() 204 return mDeviceProfile; in getDeviceProfile()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | QuickstepTestInformationHandler.java | 69 LayoutUtils.getDefaultSwipeHeight(mContext, mDeviceProfile); in call() 75 final float swipeHeight = mDeviceProfile.heightPx / 2f; in call() 98 mDeviceProfile.overviewPageSpacing); in call() 123 getFromNavThreshold(resources, mDeviceProfile)); in call()
|
D | RecentsActivity.java | 436 mDeviceProfile = createDeviceProfile(); in initDeviceProfile()
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/ |
D | TaskViewSimulatorTest.java | 137 private DeviceProfile mDeviceProfile; field in TaskViewSimulatorTest.TaskMatrixVerifier 208 mDeviceProfile = InvariantDeviceProfile.INSTANCE.get(helper.sandboxContext) in verifyNoTransforms() 210 mDeviceProfile.updateInsets(mLauncherInsets); in verifyNoTransforms() 214 tvs.setDp(mDeviceProfile); in verifyNoTransforms()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsFullSheet.java | 154 protected DeviceProfile mDeviceProfile; field in WidgetsFullSheet 172 mDeviceProfile = mActivityContext.getDeviceProfile(); in WidgetsFullSheet() 640 mDeviceProfile, in onRecommendedWidgetsBound() 656 if (mDeviceProfile.isLandscape) { in getMaxAvailableHeightForRecommendations() 660 return (mDeviceProfile.heightPx - mDeviceProfile.bottomSheetTopPadding) in getMaxAvailableHeightForRecommendations() 884 if (shouldRecreateLayout(/*oldDp=*/ mDeviceProfile, /*newDp=*/ dp)) { in onDeviceProfileChanged() 898 mDeviceProfile = dp; in onDeviceProfileChanged()
|
D | WidgetsTwoPaneSheet.java | 139 if (!mDeviceProfile.isTwoPanels) { in setupSheet() 245 if (changed && mDeviceProfile.isTwoPanels) { in onLayout() 406 return (mDeviceProfile.heightPx - mDeviceProfile.bottomSheetTopPadding) in getMaxAvailableHeightForRecommendations() 415 if (mDeviceProfile.isTwoPanels) { in getAvailableWidthForSuggestions()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 93 private DeviceProfile mDeviceProfile; field in FolderAnimationManager 104 mDeviceProfile = folder.mActivityContext.getDeviceProfile(); in FolderAnimationManager() 105 mPreviewVerifier = createFolderGridOrganizer(mDeviceProfile); in FolderAnimationManager() 251 int extraRadius = (int) ((mDeviceProfile.folderIconSizePx / initialScale) in getAnimator()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | QuickstepLauncher.java | 499 if (!mDeviceProfile.isTablet || mSplitSelectStateController.isSplitSelectActive()) { in getSplitShortcuts() 506 mDeviceProfile); in getSplitShortcuts() 724 mDeviceProfile.isPredictiveBackSwipe = in initDeviceProfile() 727 SystemUiProxy.INSTANCE.get(this).setLauncherAppIconSize(mDeviceProfile.iconSizePx); in initDeviceProfile() 1154 translationX += mDeviceProfile in getHotseatItemTranslationX() 1158 && mDeviceProfile.shouldAdjustHotseatForBubbleBar(asContext(), hasBubbles())) { in getHotseatItemTranslationX() 1159 translationX += (int) mDeviceProfile in getHotseatItemTranslationX() 1370 SystemUiProxy.INSTANCE.get(this).setLauncherAppIconSize(mDeviceProfile.iconSizePx); in dispatchDeviceProfileChanged()
|
D | PredictedAppIcon.java | 91 private final DeviceProfile mDeviceProfile; field in PredictedAppIcon 140 mDeviceProfile = ActivityContext.lookupContext(context).getDeviceProfile(); in PredictedAppIcon() 317 return getPaddingTop() + mDeviceProfile.folderIconOffsetYPx; in getOutlineOffsetY()
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | SecondaryDisplayLauncher.java | 98 mDeviceProfile = InvariantDeviceProfile.INSTANCE.get(this) in onCreate() 100 mDeviceProfile.autoResizeAllAppsCells(); in onCreate()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 137 mDeviceProfile = mIdp.getDeviceProfile(getApplicationContext()); in onCreate()
|