Home
last modified time | relevance | path

Searched refs:getDeviceProfile (Results 1 – 25 of 125) sorted by relevance

12345

/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
H A DTransposedQuickSwitchTouchController.java31 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 DTwoButtonNavbarTouchController.java57 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 DHotseatEduController.java98 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 DHotseatEduDialog.java96 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 DBackgroundAppState.java49 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in getVerticalProgress()
54 launcher.getDeviceProfile(), in getVerticalProgress()
92 DeviceProfile dp = launcher.getDeviceProfile(); in getWorkspaceScrimColor()
H A DQuickSwitchState.java46 DeviceProfile dp = launcher.getDeviceProfile(); in getWorkspaceScrimColor()
66 return !launcher.getDeviceProfile().isTaskbarPresentInApps; in isTaskbarStashed()
H A DOverviewState.java67 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 DShortcutDragPreviewProvider.java48 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 DActivityContextWrapper.java37 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 DRotationHelper.java101 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 DLauncherAllAppsContainerView.java69 int allAppsStartingPositionY = mLauncher.getDeviceProfile().availableHeightPx in setInsets()
70 - mLauncher.getDeviceProfile().allAppsOpenVerticalTranslate; in setInsets()
H A DAllAppsTransitionController.java97 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 DHotseat.java86 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 DShortcutAndWidgetContainer.java109 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 DLauncherRootView.java52 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 DLauncherTaskbarUIController.java73 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 DActivityContext.java62 return getDeviceProfile().getAbsoluteOpenFolderBounds(); in getFolderBoundingBox()
95 DeviceProfile getDeviceProfile(); in getDeviceProfile() method
H A DFloatingIconView.java154 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 DTaskView.java446 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 DTaskMenuView.java140 DeviceProfile deviceProfile = mActivity.getDeviceProfile();
235 TaskOverlayFactory.getEnabledShortcuts(mTaskView, mActivity.getDeviceProfile(),
247 menuOptionView, mActivity.getDeviceProfile());
269 DeviceProfile deviceProfile = mActivity.getDeviceProfile();
H A DRecentsView.java1325 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 DDeferredAppWidgetHostView.java52 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 DCompanionDeviceManagerService.java439 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 DFlingToDeleteHelper.java92 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 DPredictionRowView.java85 mNumPredictedAppsPerRow = mLauncher.getDeviceProfile().numShownAllAppsColumns; in PredictionRowView()
124 Launcher.getLauncher(getContext()).getDeviceProfile().allAppsCellHeightPx in getExpectedHeight()
203 lp.height = mLauncher.getDeviceProfile().allAppsCellHeightPx; in applyPredictionApps()

12345