Home
last modified time | relevance | path

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

1234

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
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()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DLandscapeEdgeSwipeController.java44 boolean draggingFromNav = mLauncher.getDeviceProfile().isSeascape() == isDragTowardPositive; in getTargetState()
64 return (mLauncher.getDeviceProfile().isSeascape() ? 2 : -2) / range; in initCurrentAnimation()
69 return mLauncher.getDeviceProfile().isSeascape() ? Direction.RIGHT : Direction.LEFT; in getDirectionForLog()
DPortraitStatesTouchController.java244 mLauncher.getDeviceProfile()); in initCurrentAnimation()
320 DeviceProfile dp = launcher.getDeviceProfile(); in getHotseatTop()
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java46 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in createTouchControllers()
55 && !launcher.getDeviceProfile().isMultiWindowMode in createTouchControllers()
56 && !launcher.getDeviceProfile().isVerticalBarLayout()) { in createTouchControllers()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DBackgroundAppState.java52 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in getVerticalProgress()
56 launcher.getDeviceProfile()); in getVerticalProgress()
102 launcher.getDeviceProfile()); in getHotseatScaleAndTranslation()
DOverviewState.java85 ? workspacePage.getWidth() : launcher.getDeviceProfile().availableWidthPx; in getWorkspaceScaleAndTranslation()
95 DeviceProfile dp = launcher.getDeviceProfile(); in getHotseatScaleAndTranslation()
140 if (launcher.getDeviceProfile().isVerticalBarLayout()) {
175 return LayoutUtils.getDefaultSwipeHeight(launcher, launcher.getDeviceProfile());
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsTransitionController.java86 mShiftRange = mLauncher.getDeviceProfile().heightPx; in AllAppsTransitionController()
90 mIsVerticalLayout = mLauncher.getDeviceProfile().isVerticalBarLayout(); in AllAppsTransitionController()
129 <= mLauncher.getDeviceProfile().getInsets().top / 2; in setProgress()
232 mShiftRange = mLauncher.getDeviceProfile().heightPx - mScrollRangeDelta;
DAllAppsGridAdapter.java203 setAppsPerRow(mLauncher.getDeviceProfile().inv.numAllAppsColumns); in AllAppsGridAdapter()
263 icon.getLayoutParams().height = mLauncher.getDeviceProfile().allAppsCellHeightPx; in onCreateViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java219 - (mLauncher.getDeviceProfile().widthPx - lp.getMarginStart() - lp.width) in update()
282 int diffX = (int) (dX / mLauncher.getDeviceProfile().availableWidthPx in update()
284 int diffY = (int) (dY / mLauncher.getDeviceProfile().availableHeightPx in update()
332 lp.setMarginStart(Math.round(mLauncher.getDeviceProfile().widthPx - position.right)); in updatePosition()
339 ? mLauncher.getDeviceProfile().widthPx - lp.getMarginStart() - lp.width in updatePosition()
519 float aspectRatio = mLauncher.getDeviceProfile().aspectRatio; in setIcon()
527 ? mLauncher.getDeviceProfile().widthPx - lp.getMarginStart() - lp.width in setIcon()
763 view.mIsVerticalBarLayout = launcher.getDeviceProfile().isVerticalBarLayout(); in getFloatingIconView()
DActivityContext.java58 DeviceProfile getDeviceProfile(); in getDeviceProfile() method
66 return getDeviceProfile(); in getWallpaperDeviceProfile()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java169 DeviceProfile grid = mActivity.getDeviceProfile(); in BubbleTextView()
175 DeviceProfile grid = mActivity.getDeviceProfile(); in BubbleTextView()
182 defaultIconSize = mActivity.getDeviceProfile().iconSizePx; in BubbleTextView()
588 mDotRenderer = mActivity.getDeviceProfile().mDotRendererAllApps; in applyDotState()
590 mDotRenderer = mActivity.getDeviceProfile().mDotRendererWorkSpace; in applyDotState()
DBaseActivity.java113 public DeviceProfile getDeviceProfile() { in getDeviceProfile() method in BaseActivity
270 + getDeviceProfile().isVerticalBarLayout()); in dumpMisc()
DLauncherState.java227 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in getVisibleElements()
255 if (this != NORMAL || !launcher.getDeviceProfile().shouldFadeAdjacentWorkspaceScreens()) { in getWorkspacePageAlphaProvider()
DWidgetPreviewLoader.java349 DeviceProfile dp = launcher.getDeviceProfile(); in generateWidgetPreview()
420 int appIconSize = launcher.getDeviceProfile().iconSizePx; in generateWidgetPreview()
453 int iconSize = launcher.getDeviceProfile().allAppsIconSizePx; in generateShortcutPreview()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java152 if (launcher.getDeviceProfile().isVerticalBarLayout()) { in createTouchControllers()
168 && !launcher.getDeviceProfile().isMultiWindowMode) { in createTouchControllers()
200 DeviceProfile profile = launcher.getDeviceProfile(); in onLauncherStateOrResumeChanged()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/
DRecentsRootView.java71 mActivity.getDeviceProfile().updateInsets(insets); in fitSystemWindows()
89 mActivity.getDeviceProfile().updateInsets(mInsets); in dispatchInsets()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutDragPreviewProvider.java46 int size = Launcher.getLauncher(mView.getContext()).getDeviceProfile().iconSizePx; in createDragBitmap()
75 float size = launcher.getDeviceProfile().iconSizePx; in getScaleAndPosition()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DAppToOverviewAnimationProvider.java140 mHelper.getSwipeUpDestinationAndLength(mActivity.getDeviceProfile(), mActivity, targetRect); in createWindowAnimation()
142 clipHelper.prepareAnimation(mActivity.getDeviceProfile(), false /* isOpening */); in createWindowAnimation()
DLauncherActivityControllerHelper.java123 final DeviceProfile dp = activity.getDeviceProfile(); in prepareHomeUI()
282 if (!activity.getDeviceProfile().isVerticalBarLayout()
347 Rect fallbackInsets = launcher.getDeviceProfile().getInsets();
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java119 scale = ((float) launcher.getDeviceProfile().iconSizePx) / preview.getWidth(); in startDrag()
125 DeviceProfile dp = launcher.getDeviceProfile(); in startDrag()
DWidgetsFullSheet.java129 Rect padding = mLauncher.getDeviceProfile().workspacePadding; in onMeasure()
134 int heightUsed = mInsets.top + mLauncher.getDeviceProfile().edgeMarginPx; in onMeasure()
DPendingAppWidgetHostView.java77 mLauncher.getDeviceProfile().iconTextSizePx, getResources().getDisplayMetrics())); in PendingAppWidgetHostView()
203 DeviceProfile grid = mLauncher.getDeviceProfile(); in updateDrawableBounds()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java112 DeviceProfile dp = mLauncher.getDeviceProfile(); in onMeasure()
210 if (mLauncher.getDeviceProfile().isVerticalBarLayout()) { in getScrollRangeDelta()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java916 mLauncher.getDeviceProfile().inv).setFolderInfo(mInfo); in updateItemLocationsInDatabaseBatch()
943 DeviceProfile grid = mLauncher.getDeviceProfile(); in centerAboutIcon()
1001 DeviceProfile grid = mLauncher.getDeviceProfile(); in getContentAreaHeight()
1037 - mLauncher.getDeviceProfile().iconSizePx) / 2; in onMeasure()
1267 mLauncher.getDeviceProfile().inv).setFolderInfo(mInfo); in onAdd()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionRowView.java189 Launcher.getLauncher(getContext()).getDeviceProfile().allAppsCellHeightPx in getExpectedHeight()
250 lp.height = mLauncher.getDeviceProfile().allAppsCellHeightPx; in applyPredictionApps()

1234