/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
H A D | TransposedQuickSwitchTouchController.java | 31 isDragTowardPositive ^ mLauncher.getDeviceProfile().isSeascape()); in getTargetState() 37 return mLauncher.getDeviceProfile().isSeascape() ? multiplier : -multiplier; in initCurrentAnimation() 42 return mLauncher.getDeviceProfile().heightPx / 2f; in getShiftRange()
|
H A D | TwoButtonNavbarTouchController.java | 57 super(l, l.getDeviceProfile().isVerticalBarLayout() in TwoButtonNavbarTouchController() 59 mIsTransposed = l.getDeviceProfile().isVerticalBarLayout(); in TwoButtonNavbarTouchController() 102 mLauncher.getDeviceProfile().isSeascape() == isDragTowardPositive; in getTargetState() 132 return LayoutUtils.getDefaultSwipeHeight(mLauncher, mLauncher.getDeviceProfile()); in getShiftRange() 141 return (mLauncher.getDeviceProfile().isSeascape() ? 1 : -1) / range; in initCurrentAnimation()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
H A D | HotseatEduController.java | 98 for (int i = 0; i < mLauncher.getDeviceProfile().numShownHotseatIcons; i++) { in migrateToFolder() 135 InvariantDeviceProfile idp = mLauncher.getDeviceProfile().inv; in placeFoldersInWorkspace() 186 toRow = mLauncher.getDeviceProfile().inv.numRows - 1; in migrateHotseatWhole() 197 boolean isPortrait = !mLauncher.getDeviceProfile().isVerticalBarLayout(); in migrateHotseatWhole() 198 int hotseatItemsNum = mLauncher.getDeviceProfile().numShownHotseatIcons; in migrateHotseatWhole() 237 < mLauncher.getDeviceProfile().numShownHotseatIcons) { in showDimissTip() 282 boolean isPortrait = !mLauncher.getDeviceProfile().isVerticalBarLayout(); in showHotseatArrowTip()
|
H A D | HotseatEduDialog.java | 96 DeviceProfile grid = mActivityContext.getDeviceProfile(); in onFinishInflate() 113 .getDeviceProfile(context).isTaskbarPresent && adjustedMarginEnd > 0) { in onFinishInflate() 157 mActivityContext.getDeviceProfile().hotseatBarSizePx + insets.bottom; in setInsets() 199 for (int i = 0; i < mActivityContext.getDeviceProfile().numShownHotseatIcons; i++) { in populatePreview() 215 || predictions.size() < mActivityContext.getDeviceProfile().numShownHotseatIcons in show()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
H A D | BackgroundAppState.java | 49 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in getVerticalProgress() 54 launcher.getDeviceProfile(), in getVerticalProgress() 92 DeviceProfile dp = launcher.getDeviceProfile(); in getWorkspaceScrimColor()
|
H A D | QuickSwitchState.java | 46 DeviceProfile dp = launcher.getDeviceProfile(); in getWorkspaceScrimColor() 66 return !launcher.getDeviceProfile().isTaskbarPresentInApps; in isTaskbarStashed()
|
H A D | OverviewState.java | 67 float workspacePageWidth = launcher.getDeviceProfile().getWorkspaceWidth(); in getWorkspaceScaleAndTranslation() 115 return LayoutUtils.getDefaultSwipeHeight(launcher, launcher.getDeviceProfile());
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
H A D | ShortcutDragPreviewProvider.java | 48 int size = Launcher.getLauncher(mView.getContext()).getDeviceProfile().iconSizePx; in createDrawable() 62 int size = Launcher.getLauncher(mView.getContext()).getDeviceProfile().iconSizePx; in createDragBitmapLegacy() 101 float size = launcher.getDeviceProfile().iconSizePx; in getScaleAndPosition()
|
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
H A D | ActivityContextWrapper.java | 37 mProfile = InvariantDeviceProfile.INSTANCE.get(base).getDeviceProfile(base).copy(base); in ActivityContextWrapper() 47 public DeviceProfile getDeviceProfile() { in getDeviceProfile() method in ActivityContextWrapper
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/states/ |
H A D | RotationHelper.java | 101 getAllowRotationDefaultValue(mActivity.getDeviceProfile())); in setIgnoreAutoRotateSettings() 115 getAllowRotationDefaultValue(mActivity.getDeviceProfile())); in onSharedPreferenceChanged() 160 setIgnoreAutoRotateSettings(mActivity.getDeviceProfile().isTablet); in initialize()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | LauncherAllAppsContainerView.java | 69 int allAppsStartingPositionY = mLauncher.getDeviceProfile().availableHeightPx in setInsets() 70 - mLauncher.getDeviceProfile().allAppsOpenVerticalTranslate; in setInsets()
|
H A D | AllAppsTransitionController.java | 97 mShiftRange = mLauncher.getDeviceProfile().heightPx; in AllAppsTransitionController() 100 mIsVerticalLayout = mLauncher.getDeviceProfile().isVerticalBarLayout(); in AllAppsTransitionController() 220 mShiftRange = mLauncher.getDeviceProfile().heightPx - mScrollRangeDelta; in setScrollRangeDelta()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Hotseat.java | 86 DeviceProfile dp = mActivity.getDeviceProfile(); in resetLayout() 97 DeviceProfile grid = mActivity.getDeviceProfile(); in setInsets() 189 int bottom = b - t - mActivity.getDeviceProfile().getQsbOffsetY(); in onLayout()
|
H A D | ShortcutAndWidgetContainer.java | 109 DeviceProfile profile = mActivity.getDeviceProfile(); in setupLp() 126 mActivity.getDeviceProfile().getCellContentHeight(mContainerType)); in getCellContentHeight() 131 final DeviceProfile dp = mActivity.getDeviceProfile(); in measureChild() 187 DeviceProfile profile = mActivity.getDeviceProfile(); in layoutChild()
|
H A D | LauncherRootView.java | 52 mActivity.getDeviceProfile().updateInsets(insets); in handleSystemWindowInsets() 95 DeviceProfile dp = mActivity.getDeviceProfile(); in updateInsetsDueToTaskbar() 141 mActivity.getDeviceProfile().updateInsets(mInsets); in dispatchInsets()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
H A D | LauncherTaskbarUIController.java | 73 mLauncher.getDeviceProfile()); 94 onStashedInAppChanged(mLauncher.getDeviceProfile()); in init() 164 onStashedInAppChanged(mLauncher.getDeviceProfile()); in onStashedInAppChanged()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A D | ActivityContext.java | 62 return getDeviceProfile().getAbsoluteOpenFolderBounds(); in getFolderBoundingBox() 95 DeviceProfile getDeviceProfile(); in getDeviceProfile() method
|
H A D | FloatingIconView.java | 154 isOpening, this, mLauncher.getDeviceProfile(), mIsVerticalBarLayout); in update() 194 lp.setMarginStart(Math.round(mLauncher.getDeviceProfile().widthPx - pos.right)); in updatePosition() 201 ? mLauncher.getDeviceProfile().widthPx - lp.getMarginStart() - lp.width in updatePosition() 324 mLauncher.getDeviceProfile()); in setIcon() 331 float aspectRatio = mLauncher.getDeviceProfile().aspectRatio; in setIcon() 580 view.mIsVerticalBarLayout = launcher.getDeviceProfile().isVerticalBarLayout(); in getFloatingIconView()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
H A D | TaskView.java | 446 mActivity.getDeviceProfile().overviewTaskThumbnailTopMarginPx); in TaskView() 829 if (!mActivity.getDeviceProfile().overviewShowAsGrid in showTaskMenu() 843 if (mActivity.getDeviceProfile().overviewShowAsGrid) { in showTaskMenuWithContainer() 845 && mActivity.getDeviceProfile().isLandscape; in showTaskMenuWithContainer() 884 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); in setOrientationState() 910 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); in isGridTask() 1005 if (mActivity.getDeviceProfile().overviewShowAsGrid) { in onLayout() 1313 mActivity.getDeviceProfile(), taskContainer)) { in onInitializeAccessibilityNodeInfo() 1351 mActivity.getDeviceProfile(), taskContainer)) { in performAccessibilityAction() 1394 mActivity.getDeviceProfile().overviewTaskThumbnailTopMarginPx); in setFullscreenProgress() [all …]
|
H A D | TaskMenuView.java | 140 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); 235 TaskOverlayFactory.getEnabledShortcuts(mTaskView, mActivity.getDeviceProfile(), 247 menuOptionView, mActivity.getDeviceProfile()); 269 DeviceProfile deviceProfile = mActivity.getDeviceProfile();
|
H A D | RecentsView.java | 1325 if (!mActivity.getDeviceProfile().overviewShowAsGrid) { in moveFocusedTaskToFront() 1596 DeviceProfile dp = mActivity.getDeviceProfile(); in setInsets() 1663 DeviceProfile dp = mActivity.getDeviceProfile(); in updateSizeAndPadding() 2695 mActivity.getDeviceProfile(), in createInitialSplitSelectAnimation() 3354 return !mActivity.getDeviceProfile().isTablet || !mActivity.getDeviceProfile().isLandscape; in shouldShiftThumbnailsForSplitSelect() 3640 mActivity.getDeviceProfile(), mTempPointF); in onLayout() 3961 mActivity.getDeviceProfile(), 4028 splitPosition, mActivity.getDeviceProfile()); 4034 mActivity.getDeviceProfile(), 4045 mActivity.getDeviceProfile()); [all …]
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | DeferredAppWidgetHostView.java | 52 mLauncher.getDeviceProfile().iconTextSizePx, in DeferredAppWidgetHostView() 88 mActivity.getDeviceProfile().dump(/*prefix=*/"", printWriter); in onMeasure()
|
/aosp12/frameworks/base/services/companion/java/com/android/server/companion/ |
H A D | CompanionDeviceManagerService.java | 439 request.getDeviceProfile() == null in associate() 442 request.getDeviceProfile()); in associate() 546 if (profile.equals(request.getDeviceProfile()) in checkProfilePermission() 647 association.getDeviceProfile(), in registerDevicePresenceListenerActive() 774 String deviceProfile = association.getDeviceProfile(); in onAssociationPreRemove() 787 association.getDeviceProfile(), in onAssociationPreRemove() 1008 if (association.getDeviceProfile() != null) { 1134 if (association.getDeviceProfile() != null) { 1150 if (association.getDeviceProfile() != null) { 1152 association.getDeviceProfile(), [all …]
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | FlingToDeleteHelper.java | 92 DeviceProfile deviceProfile = mLauncher.getDeviceProfile(); in isFlingingToDelete() 97 } else if (mLauncher.getDeviceProfile().isVerticalBarLayout() && in isFlingingToDelete()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/ |
H A D | PredictionRowView.java | 85 mNumPredictedAppsPerRow = mLauncher.getDeviceProfile().numShownAllAppsColumns; in PredictionRowView() 124 Launcher.getLauncher(getContext()).getDeviceProfile().allAppsCellHeightPx in getExpectedHeight() 203 lp.height = mLauncher.getDeviceProfile().allAppsCellHeightPx; in applyPredictionApps()
|