Home
last modified time | relevance | path

Searched refs:isTablet (Results 1 – 25 of 98) sorted by relevance

1234

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/unfold/
DLauncherUnfoldTransitionController.kt36 private var isTablet: Boolean? = null variable in com.android.quickstep.util.unfold.LauncherUnfoldTransitionController
64 if (isTablet != null && dp.isTablet != isTablet) { in onDeviceProfileChanged()
74 if (dp.isTablet && progressProvider.isActive && !hasUnfoldTransitionStarted) { in onDeviceProfileChanged()
81 if (!dp.isTablet) { in onDeviceProfileChanged()
87 isTablet = dp.isTablet in onDeviceProfileChanged()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DAnimUtils.java36 public static SplitAnimationTimings getDeviceOverviewToSplitTimings(boolean isTablet) { in getDeviceOverviewToSplitTimings() argument
37 return isTablet in getDeviceOverviewToSplitTimings()
46 public static SplitAnimationTimings getDeviceSplitToConfirmTimings(boolean isTablet) { in getDeviceSplitToConfirmTimings() argument
47 return isTablet in getDeviceSplitToConfirmTimings()
55 public static SplitAnimationTimings getDeviceAppPairLaunchTimings(boolean isTablet) { in getDeviceAppPairLaunchTimings() argument
56 return isTablet in getDeviceAppPairLaunchTimings()
DNavBarPosition.kt25 val isTablet: Boolean, constant in com.android.quickstep.util.NavBarPosition
32 ) : this(info.isTablet(info.realBounds), info.rotation, mode)
35 get() = mode != NO_BUTTON && displayRotation == Surface.ROTATION_90 && !isTablet
37 get() = mode != NO_BUTTON && displayRotation == Surface.ROTATION_270 && !isTablet
DLauncherUnfoldAnimationController.java176 if (mIsTablet != null && dp.isTablet != mIsTablet) { in onDeviceProfileChanged()
186 if (dp.isTablet in onDeviceProfileChanged()
194 if (!dp.isTablet) { in onDeviceProfileChanged()
199 mIsTablet = dp.isTablet; in onDeviceProfileChanged()
DSplitToWorkspaceController.java146 boolean isTablet = dp.isTablet; in startWorkspaceAnimation()
147 SplitAnimationTimings timings = AnimUtils.getDeviceSplitToConfirmTimings(isTablet); in startWorkspaceAnimation()
DSplitAnimationController.kt311 val timings = AnimUtils.getDeviceSplitToConfirmTimings(dp.isTablet) as SplitToConfirmTimings in <lambda>()
404 val timings = AnimUtils.getDeviceOverviewToSplitTimings(container.deviceProfile.isTablet) in <lambda>()
447 val isTablet: Boolean = container.deviceProfile.isTablet in <lambda>() constant
449 if (isTablet) SplitAnimationTimings.TABLET_CONFIRM_DURATION in <lambda>()
860 val timings = AnimUtils.getDeviceAppPairLaunchTimings(dp.isTablet) in <lambda>()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBaseOverview.java259 if (mLauncher.isTablet()) { in scrollCurrentTaskOffScreen()
375 if (!mLauncher.isTablet()) { in getTaskbar()
393 boolean isTablet = mLauncher.isTablet(); in isActionsViewVisible()
394 if (isTablet && mLauncher.isGridOnlyOverviewEnabled()) { in isActionsViewVisible()
399 OverviewTask task = isTablet ? getFocusedTaskForTablet() : getCurrentTask(); in isActionsViewVisible()
406 if (isTablet && centerOffset >= 1) { in isActionsViewVisible()
412 if (task.isTaskSplit() && (!mLauncher.isAppPairsEnabled() || !isTablet)) { in isActionsViewVisible()
469 boolean isTablet = mLauncher.isTablet(); in verifyActionsViewVisibility()
470 OverviewTask task = isTablet ? getFocusedTaskForTablet() : getCurrentTask(); in verifyActionsViewVisibility()
498 if (!mLauncher.isTablet()) { in getFocusedTaskForTablet()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DSplitScreenSelectState.java47 boolean isTablet = ((Launcher) context).getDeviceProfile().isTablet; in getTransitionDuration()
48 if (isToState && isTablet) { in getTransitionDuration()
50 } else if (isToState && !isTablet) { in getTransitionDuration()
DAllAppsState.java122 if (launcher.getDeviceProfile().isTablet) { in getHotseatScaleAndTranslation()
137 if (context.getDeviceProfile().isTablet) { in getDepthUnchecked()
158 return launcher.getDeviceProfile().isTablet in getWorkspacePageAlphaProvider()
169 if (launcher.getDeviceProfile().isTablet) {
217 return launcher.getDeviceProfile().isTablet
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsSplitscreen.java59 if (mLauncher.isTablet()) { in setUp()
69 if (mLauncher.isTablet()) { in tearDown()
78 assumeTrue(mLauncher.isTablet()); in testSplitAppFromHomeWithItself()
117 if (mLauncher.isGridOnlyOverviewEnabled() || !mLauncher.isTablet()) { in testSaveAppPairMenuItemOrActionExistsOnSplitPair()
143 assumeTrue(mLauncher.isTablet()); in testSplitSingleTaskFromTaskbar()
167 if (mLauncher.isTablet() && !mLauncher.isGridOnlyOverviewEnabled()) { in createAndLaunchASplitPair()
DTaplTestsTrackpad.java66 assumeTrue(mLauncher.isTablet()); in goHome()
80 assumeTrue(mLauncher.isTablet()); in pressBack()
101 assumeTrue(mLauncher.isTablet()); in switchToOverview()
112 assumeTrue(mLauncher.isTablet()); in testAllAppsFromHome()
123 assumeTrue(mLauncher.isTablet()); in testQuickSwitchFromHome()
DTaplTestsQuickstep.java183 mLauncher.isTablet() && mLauncher.isGridOnlyOverviewEnabled()); in testOverviewActions()
209 if (mLauncher.isTablet() && mLauncher.isGridOnlyOverviewEnabled()) { in testDismissModalTaskAndOverviewWithEscKey()
360 assumeTrue(mLauncher.isTablet()); in testQuickSwitchToPreviousAppForTablet()
433 assumeTrue(mLauncher.isTablet()); in testOverviewForTablet()
526 assumeTrue(mLauncher.isTablet()); in testTaskbarDeadzonesForTablet()
564 assumeFalse(mLauncher.isTablet()); in testDisableRotationCheckForPhone()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DAppPairInfo.kt73 val isTablet = in <lambda>() constant
74 (ActivityContext.lookupContext(context) as ActivityContext).getDeviceProfile().isTablet in <lambda>()
76 isTablet || !getFirstApp().isNonResizeable(), in <lambda>()
77 isTablet || !getSecondApp().isNonResizeable() in <lambda>()
/packages/apps/Launcher3/src_no_quickstep/com/android/launcher3/uioverrides/states/
DAllAppsState.java73 if (launcher.getDeviceProfile().isTablet) { in getHotseatScaleAndTranslation()
91 return launcher.getDeviceProfile().isTablet in getWorkspacePageAlphaProvider()
105 return launcher.getDeviceProfile().isTablet
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskShortcutFactory.java312 boolean isFocusedTask = deviceProfile.isTablet && taskView.isFocusedTask();
337 boolean isLargeTileFocusedTask = deviceProfile.isTablet && taskView.isFocusedTask();
466 boolean isTablet = container.getDeviceProfile().isTablet;
467 boolean isGridOnlyOverview = isTablet && Flags.enableGridOnlyOverview();
493 boolean isTablet = container.getDeviceProfile().isTablet;
494 boolean isGridOnlyOverview = isTablet && Flags.enableGridOnlyOverview();
DBaseContainerInterface.java210 if (dp.isTablet) { in calculateTaskSize()
241 if (dp.isTablet && dp.isGestureMode) { in calculateCarouselTaskSize()
326 if (dp.isTablet && !DisplayController.isTransientTaskbar(context)) { in getTaskDimension()
383 boolean isGridOnlyOverview = dp.isTablet && Flags.enableGridOnlyOverview(); in calculateModalTaskSize()
/packages/apps/Settings/src/com/android/settings/accessibility/
DFlashNotificationIllustrationPreferenceController.java43 final boolean isTablet = productCharacteristics.contains("tablet"); in getAvailabilityStatus()
44 return isTablet ? UNSUPPORTED_ON_DEVICE : AVAILABLE; in getAvailabilityStatus()
/packages/apps/Launcher3/src/com/android/launcher3/states/
DRotationHelper.java132 onIgnoreAutoRotateChanged(info.isTablet(info.realBounds)); in onDisplayInfoChanged()
137 onIgnoreAutoRotateChanged(dp.isTablet); in onDeviceProfileChanged()
178 setIgnoreAutoRotateSettings(info.isTablet(info.realBounds)); in initialize()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingTaskView.java259 boolean isTablet = mContainer.getDeviceProfile().isTablet; in addStagingAnimation()
263 if (isTablet && splittingFromOverview) { in addStagingAnimation()
265 } else if (!isTablet && splittingFromOverview) { in addStagingAnimation()
283 AnimUtils.getDeviceSplitToConfirmTimings(mContainer.getDeviceProfile().isTablet); in addConfirmAnimation()
DOverviewActionsView.java272 updateSplitButtonHiddenFlags(FLAG_SMALL_SCREEN_HIDE_SPLIT, !mDp.isTablet); in updateForIsTablet()
279 boolean showGroupActions = mIsGroupedTask && mDp.isTablet && mCanSaveAppPair; in updateActionButtonsVisibility()
381 if (mDp.isTablet && Flags.enableGridOnlyOverview()) { in getBottomMargin()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java101 public final boolean isTablet; field in DeviceProfile
353 isTablet = info.isTablet(windowBounds); in DeviceProfile()
354 isPhone = !isTablet; in DeviceProfile()
355 isTwoPanels = isTablet && isMultiDisplay; in DeviceProfile()
356 isTaskbarPresent = (isTablet || (enableTinyTaskbar() && isGestureMode)) in DeviceProfile()
360 context = getContext(context, info, isVerticalBarLayout() || (isTablet && isLandscape) in DeviceProfile()
429 final boolean applyExtraTopPadding = isTablet in DeviceProfile()
435 + (isTablet ? 0 : edgeMarginPx); // phones need edgeMarginPx additional padding in DeviceProfile()
440 if (isTablet) { in DeviceProfile()
519 final boolean shouldApplyWidePortraitDimens = isTablet in DeviceProfile()
[all …]
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DFakeInvariantDeviceProfileTest.kt102 whenever(info.isTablet(any())).thenReturn(false) in newDP()
184 whenever(info.isTablet(any())).thenReturn(true) in initializeVarsForTablet()
269 whenever(info.isTablet(any())).thenReturn(true) in initializeVarsForTwoPanel()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DBaseWidgetSheet.java336 if (deviceProfile.isTablet) { in doMeasure()
360 return mActivityContext.getDeviceProfile().isTablet in getIdleInterpolator()
379 !mActivityContext.getDeviceProfile().isTablet && mInsets.bottom == 0; in setupNavBarColor()
/packages/apps/Launcher3/src/com/android/launcher3/util/window/
DWindowManagerProxy.java301 boolean isTablet = swDp >= MIN_TABLET_WIDTH; in estimateWindowBounds()
302 boolean isTabletOrGesture = isTablet || isGestureNav(context); in estimateWindowBounds()
314 navBarHeightPortrait = isTablet in estimateWindowBounds()
319 navBarHeightLandscape = isTablet in estimateWindowBounds()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAllAppsSwipeController.java208 if (launcher.getDeviceProfile().isTablet) { in applyAllAppsToNormalConfig()
250 if (launcher.getDeviceProfile().isTablet) { in applyNormalToAllAppsAnimConfig()
293 if (deviceProfile.isTablet) { in applyOverviewToAllAppsAnimConfig()

1234