/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | Workspace.java | 58 mLauncher.addContextLayer("want to switch from workspace to all apps")) { in switchToAllApps() 63 final int swipeHeight = mLauncher.getTestInfo( in switchToAllApps() 68 + mLauncher.getTouchSlop()); in switchToAllApps() 70 mLauncher.swipeToState( in switchToAllApps() 74 start.y - swipeHeight - mLauncher.getTouchSlop(), in switchToAllApps() 78 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( in switchToAllApps() 80 return new AllApps(mLauncher); in switchToAllApps() 93 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in tryGetWorkspaceAppIcon() 97 AppIcon.getAppIconSelector(appName, mLauncher)); in tryGetWorkspaceAppIcon() 98 return icon != null ? new AppIcon(mLauncher, icon) : null; in tryGetWorkspaceAppIcon() [all …]
|
D | Background.java | 54 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in switchToOverview() 58 return mLauncher.isFallbackOverview() ? in switchToOverview() 59 new BaseOverview(mLauncher) : new Overview(mLauncher); in switchToOverview() 64 switch (mLauncher.getNavigationModel()) { in goToOverviewUnchecked() 66 final int centerX = mLauncher.getDevice().getDisplayWidth() / 2; in goToOverviewUnchecked() 68 final int swipeHeight = mLauncher.getTestInfo(getSwipeHeightRequestName()). in goToOverviewUnchecked() 72 new Point(centerX, startY - swipeHeight - mLauncher.getTouchSlop()); in goToOverviewUnchecked() 75 mLauncher.sendPointer(downTime, downTime, MotionEvent.ACTION_DOWN, start); in goToOverviewUnchecked() 76 mLauncher.executeAndWaitForEvent( in goToOverviewUnchecked() 77 () -> mLauncher.movePointer( in goToOverviewUnchecked() [all …]
|
D | AllApps.java | 45 final UiObject2 appListRecycler = mLauncher.waitForObjectInContainer(allAppsContainer, in AllApps() 48 mLauncher.waitForObjectInContainer(appListRecycler, By.clazz(TextView.class)); in AllApps() 50 mIconHeight = mLauncher.getTestInfo( in AllApps() 97 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in getAppIcon() 100 final UiObject2 appListRecycler = mLauncher.waitForObjectInContainer(allAppsContainer, in getAppIcon() 108 mLauncher.getResources()) + 1); in getAppIcon() 109 final BySelector appIconSelector = AppIcon.getAppIconSelector(appName, mLauncher); in getAppIcon() 114 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("scrolled")) { in getAppIcon() 116 mLauncher.scrollToLastVisibleRow( in getAppIcon() 118 mLauncher.getObjectsInContainer(allAppsContainer, "icon"), in getAppIcon() [all …]
|
D | BaseOverview.java | 52 mLauncher.addContextLayer("want to fling forward in overview")) { in flingForward() 55 final int leftMargin = mLauncher.getTestInfo( in flingForward() 58 mLauncher.scroll(overview, Direction.LEFT, new Rect(leftMargin, 0, 0, 0), 20); in flingForward() 67 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in dismissAllTasks() 69 final BySelector clearAllSelector = mLauncher.getLauncherObjectSelector("clear_all"); in dismissAllTasks() 77 mLauncher.waitForObjectInContainer(verifyActiveContainer(), clearAllSelector).click(); in dismissAllTasks() 78 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer( in dismissAllTasks() 80 return new Workspace(mLauncher); in dismissAllTasks() 90 mLauncher.addContextLayer("want to fling backward in overview")) { in flingBackward() 93 final int rightMargin = mLauncher.getTestInfo( in flingBackward() [all …]
|
D | Widgets.java | 44 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in flingForward() 48 mLauncher.scroll( in flingForward() 51 new Rect(0, 0, 0, mLauncher.getBottomGestureMargin(widgetsContainer)), in flingForward() 53 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung forward")) { in flingForward() 64 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in flingBackward() 68 mLauncher.scroll( in flingBackward() 73 try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung back")) { in flingBackward() 87 final Point displaySize = mLauncher.getRealDisplaySize(); in getWidget() 92 final Collection<UiObject2> cells = mLauncher.getObjectsInContainer( in getWidget() 94 mLauncher.assertTrue("Widgets doesn't have 2 rows", cells.size() >= 2); in getWidget() [all …]
|
D | OverviewTask.java | 29 private final LauncherInstrumentation mLauncher; field in OverviewTask 34 mLauncher = launcher; in OverviewTask() 48 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in dismiss() 55 mLauncher.linearGesture(centerX, centerY, centerX, 0, 10); in dismiss() 56 mLauncher.waitForIdle(); in dismiss() 65 try (LauncherInstrumentation.Closable c = mLauncher.addContextLayer( in open() 67 mLauncher.executeAndWaitForEvent( in open() 73 return new Background(mLauncher); in open()
|
D | Launchable.java | 32 protected final LauncherInstrumentation mLauncher; field in Launchable 38 mLauncher = launcher; in Launchable() 56 mLauncher.executeAndWaitForEvent( in launch() 61 mLauncher.assertTrue( in launch() 63 mLauncher.getDevice().wait(Until.hasObject(selector), in launch() 65 return new Background(mLauncher); in launch() 73 final Point displaySize = mLauncher.getRealDisplaySize(); in dragToWorkspace() 76 mLauncher, in dragToWorkspace()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/ |
D | LauncherAppTransitionManagerImpl.java | 78 return mLauncher.getStateManager().getState().overviewUi in isLaunchingFromRecents() 79 && findTaskViewToLaunch(mLauncher, v, targets) != null; in isLaunchingFromRecents() 85 RecentsView recentsView = mLauncher.getOverviewPanel(); in composeRecentsLaunchAnimator() 88 TaskView taskView = findTaskViewToLaunch(mLauncher, v, targets); in composeRecentsLaunchAnimator() 90 ClipAnimationHelper helper = new ClipAnimationHelper(mLauncher); in composeRecentsLaunchAnimator() 107 mLauncher.getStateManager().moveToRestState(); in composeRecentsLaunchAnimator() 108 mLauncher.getStateManager().reapplyState(); in composeRecentsLaunchAnimator() 113 mLauncher.getStateManager().createAnimationToNewWorkspace(NORMAL, in composeRecentsLaunchAnimator() 121 mLauncher.getStateManager().goToState(NORMAL, false); in composeRecentsLaunchAnimator() 130 mLauncher.getStateManager().setCurrentAnimation(anim, childStateAnimation); in composeRecentsLaunchAnimator() [all …]
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NoButtonQuickSwitchTouchController.java | 95 private final Launcher mLauncher; field in NoButtonQuickSwitchTouchController 115 mLauncher = launcher; in NoButtonQuickSwitchTouchController() 116 mSwipeDetector = new BothAxesSwipeDetector(mLauncher, this); in NoButtonQuickSwitchTouchController() 117 mXRange = mLauncher.getDeviceProfile().widthPx / 2f; in NoButtonQuickSwitchTouchController() 118 mYRange = LayoutUtils.getShelfTrackingDistance(mLauncher, mLauncher.getDeviceProfile()); in NoButtonQuickSwitchTouchController() 119 mMotionPauseDetector = new MotionPauseDetector(mLauncher); in NoButtonQuickSwitchTouchController() 120 mMotionPauseMinDisplacement = mLauncher.getResources().getDimension( in NoButtonQuickSwitchTouchController() 151 if (!mLauncher.isInState(LauncherState.NORMAL)) { in canInterceptTouch() 157 int stateFlags = OverviewInteractionState.INSTANCE.get(mLauncher).getSystemUiStateFlags(); in canInterceptTouch() 168 mShelfPeekAnim = ((QuickstepAppTransitionManagerImpl) mLauncher in onDragStart() [all …]
|
D | NavBarToHomeTouchController.java | 64 private final Launcher mLauncher; field in NavBarToHomeTouchController 74 mLauncher = launcher; in NavBarToHomeTouchController() 75 mSwipeDetector = new SingleAxisSwipeDetector(mLauncher, this, in NavBarToHomeTouchController() 77 mPullbackDistance = mLauncher.getResources().getDimension(R.dimen.home_pullback_distance); in NavBarToHomeTouchController() 83 mStartState = mLauncher.getStateManager().getState(); in onControllerInterceptTouchEvent() 108 if (AbstractFloatingView.getTopOpenView(mLauncher) != null) { in canInterceptTouch() 124 return mLauncher.getDeviceProfile().heightPx; in getShiftRange() 136 RecentsView recentsView = mLauncher.getOverviewPanel(); in initCurrentAnimation() 146 AllAppsTransitionController allAppsController = mLauncher.getAllAppsController(); in initCurrentAnimation() 156 allAppsController.setAlphas(mEndState.getVisibleElements(mLauncher), config, builder); in initCurrentAnimation() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepAppTransitionManagerImpl.java | 138 protected final Launcher mLauncher; field in QuickstepAppTransitionManagerImpl 159 mLauncher.addForceInvisibleFlag(INVISIBLE_BY_APP_TRANSITIONS); 164 mLauncher.clearForceInvisibleFlag(INVISIBLE_BY_APP_TRANSITIONS); 169 mLauncher = Launcher.getLauncher(context); in QuickstepAppTransitionManagerImpl() 170 mDragLayer = mLauncher.getDragLayer(); in QuickstepAppTransitionManagerImpl() 173 mIsRtl = Utilities.isRtl(mLauncher.getResources()); in QuickstepAppTransitionManagerImpl() 174 mDeviceProfile = mLauncher.getDeviceProfile(); in QuickstepAppTransitionManagerImpl() 176 Resources res = mLauncher.getResources(); in QuickstepAppTransitionManagerImpl() 181 mLauncher.addOnDeviceProfileChangeListener(this); in QuickstepAppTransitionManagerImpl() 184 mShelfPeekAnim = new ShelfPeekAnim(mLauncher); in QuickstepAppTransitionManagerImpl() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 78 @Thunk final Launcher mLauncher; field in LauncherAccessibilityDelegate 83 mLauncher = launcher; in LauncherAccessibilityDelegate() 106 mActions.put(action, new AccessibilityAction(action, mLauncher.getText(actionLabel))); in addAccessibilityAction() 126 for (ButtonDropTarget target : mLauncher.getDropTargetBar().getDropTargets()) { in addSupportedActions() 170 CustomActionsPopup popup = new CustomActionsPopup(mLauncher, host); in performAction() 181 mLauncher.getStateManager().goToState(NORMAL, true, new Runnable() { in performAction() 187 mLauncher.getModelWriter().addItemToDatabase(info, in performAction() 193 mLauncher.bindItems(itemList, true); in performAction() 196 Workspace workspace = mLauncher.getWorkspace(); in performAction() 198 mLauncher.addPendingItem(info, Favorites.CONTAINER_DESKTOP, in performAction() [all …]
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplTestsQuickstep.java | 78 assertNotNull("getOverview() returned null", mLauncher.getOverview()); in testPressRecentAppsLauncherAndGetOverview() 86 mLauncher.getWorkspace().switchToAllApps()); in testWorkspaceSwitchToAllApps() 94 mLauncher.getWorkspace().switchToOverview().switchToAllApps()); in testAllAppsFromOverview() 96 TaplTestsLauncher3.runAllAppsTest(this, mLauncher.getAllAppsFromOverview()); in testAllAppsFromOverview() 103 Overview overview = mLauncher.pressHome().switchToOverview(); in testOverview() 126 OverviewTask task = mLauncher.pressHome().switchToOverview().getCurrentTask(); in testOverview() 138 overview = mLauncher.pressHome().switchToOverview(); in testOverview() 168 mLauncher.getOverview(); in testOverview() 176 mLauncher.getWorkspace().switchToOverview().dismissAllTasks(); in testOverview() 194 mLauncher.getWorkspace().switchToOverview().switchToAllApps(); in testAppIconLaunchFromAllAppsFromOverview() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 173 @Thunk final Launcher mLauncher; field in Workspace 272 mLauncher = Launcher.getLauncher(context); in Workspace() 273 mStateTransitionAnimation = new WorkspaceStateTransitionAnimation(mLauncher, this); in Workspace() 283 setOnTouchListener(new WorkspaceTouchListener(mLauncher, this)); in Workspace() 288 DeviceProfile grid = mLauncher.getDeviceProfile(); in setInsets() 289 DeviceProfile stableGrid = mLauncher.getWallpaperDeviceProfile(); in setInsets() 298 RotationMode rotationMode = mLauncher.getRotationMode(); in setInsets() 340 DeviceProfile profile = mLauncher.getWallpaperDeviceProfile(); in estimateItemSize() 424 mLauncher.getStateManager().goToState(SPRING_LOADED); in onDragStart() 531 mLauncher.mHandler.removeCallbacksAndMessages(DeferredWidgetRefresh.class); in removeAllWorkspaceScreens() [all …]
|
D | LauncherStateManager.java | 109 private final Launcher mLauncher; field in LauncherStateManager 125 mLauncher = l; in LauncherStateManager() 147 mStateHandlers = UiFactory.getStateHandler(mLauncher); in getStateHandlers() 164 return !mLauncher.isForceInvisible() && mLauncher.isStarted(); in shouldAnimateStateChange() 228 animated &= Utilities.areAnimationsEnabled(mLauncher); in goToState() 229 if (mLauncher.isInState(state)) { in goToState() 304 toState.prepareForAtomicAnimation(mLauncher, fromState, builder); in prepareForAtomicAnimation() 313 for (StateHandler handler : mLauncher.getStateManager().getStateHandlers()) { in createAtomicAnimation() 405 mState.onStateDisabled(mLauncher); in onStateTransitionStart() 408 mState.onStateEnabled(mLauncher); in onStateTransitionStart() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 95 AllAppsTransitionController allAppsController = mLauncher.getAllAppsController(); in canInterceptTouch() 108 if (mLauncher.isInState(ALL_APPS)) { in canInterceptTouch() 110 if (!mLauncher.getAppsView().shouldContainerScroll(ev)) { in canInterceptTouch() 113 } else if (mLauncher.isInState(OVERVIEW)) { in canInterceptTouch() 119 boolean interceptAnywhere = mLauncher.isInState(NORMAL) && !mAllowDragToOverview; in canInterceptTouch() 121 if (!interceptAnywhere && !isTouchOverHotseat(mLauncher, ev)) { in canInterceptTouch() 125 if (AbstractFloatingView.getTopOpenViewWithType(mLauncher, TYPE_ACCESSIBLE) != null) { in canInterceptTouch() 136 mLauncher.getStateManager().getLastState() : NORMAL; in getTargetState() 140 int stateFlags = OverviewInteractionState.INSTANCE.get(mLauncher) in getTargetState() 151 return isTouchOverHotseat(mLauncher, ev) ? ContainerType.HOTSEAT : ContainerType.WORKSPACE; in getLogContainerTypeForNormalState() [all …]
|
D | StatusBarTouchController.java | 65 protected final Launcher mLauncher; field in StatusBarTouchController 75 mLauncher = l; in StatusBarTouchController() 141 mLauncher.getUserEventDispatcher().logActionOnContainer(action == ACTION_UP ? in onControllerTouchEvent() 143 mLauncher.getWorkspace().getCurrentPage()); in onControllerTouchEvent() 151 Window w = mLauncher.getWindow(); in setWindowSlippery() 162 if (!mLauncher.isInState(LauncherState.NORMAL) || in canInterceptTouch() 163 AbstractFloatingView.getTopOpenViewWithType(mLauncher, in canInterceptTouch() 168 DeviceProfile dp = mLauncher.getDeviceProfile(); in canInterceptTouch() 169 if (ev.getY() > (mLauncher.getDragLayer().getHeight() - dp.getInsets().bottom)) { in canInterceptTouch() 173 mSysUiProxy = RecentsModel.INSTANCE.get(mLauncher).getSystemUiProxy(); in canInterceptTouch()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsTransitionController.java | 69 private final Launcher mLauncher; field in AllAppsTransitionController 85 mLauncher = l; in AllAppsTransitionController() 86 mShiftRange = mLauncher.getDeviceProfile().heightPx; in AllAppsTransitionController() 89 mIsDarkTheme = Themes.getAttrBoolean(mLauncher, R.attr.isMainColorDark); in AllAppsTransitionController() 90 mIsVerticalLayout = mLauncher.getDeviceProfile().isVerticalBarLayout(); in AllAppsTransitionController() 91 mLauncher.addOnDeviceProfileChangeListener(this); in AllAppsTransitionController() 105 mLauncher.getHotseat().setTranslationY(0); in onDeviceProfileChanged() 106 mLauncher.getWorkspace().getPageIndicator().setTranslationY(0); in onDeviceProfileChanged() 129 <= mLauncher.getDeviceProfile().getInsets().top / 2; in setProgress() 131 mLauncher.getSystemUiController().updateUiState(UI_STATE_ALL_APPS, !mIsDarkTheme); in setProgress() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
D | TestInformationHandler.java | 51 protected Launcher mLauncher; field in TestInformationHandler 59 mLauncher = mLauncherAppState != null ? in init() 67 if (mLauncher == null) return null; in call() 69 final float progress = LauncherState.OVERVIEW.getVerticalProgress(mLauncher) in call() 70 - LauncherState.ALL_APPS.getVerticalProgress(mLauncher); in call() 71 final float distance = mLauncher.getAllAppsController().getShiftRange() * progress; in call() 77 if (mLauncher == null) return null; in call() 79 final float progress = LauncherState.NORMAL.getVerticalProgress(mLauncher) in call() 80 - LauncherState.ALL_APPS.getVerticalProgress(mLauncher); in call() 81 final float distance = mLauncher.getAllAppsController().getShiftRange() * progress; in call() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetHostViewLoader.java | 31 @Thunk Launcher mLauncher; field in WidgetHostViewLoader 42 mLauncher = launcher; in WidgetHostViewLoader() 60 mLauncher.getDragController().removeDragListener(this); in onDragEnd() 67 mLauncher.getAppWidgetHost().deleteAppWidgetId(mWidgetLoadingId); in onDragEnd() 76 mLauncher.getDragLayer().removeView(mInfo.boundWidget); in onDragEnd() 77 mLauncher.getAppWidgetHost().deleteAppWidgetId(mInfo.boundWidget.getAppWidgetId()); in onDragEnd() 91 final Bundle options = getDefaultOptionsForWidget(mLauncher, mInfo); in preloadWidget() 102 mWidgetLoadingId = mLauncher.getAppWidgetHost().allocateAppWidgetId(); in preloadWidget() 106 if(AppWidgetManagerCompat.getInstance(mLauncher).bindAppWidgetIdIfAllowed( in preloadWidget() 124 AppWidgetHostView hostView = mLauncher.getAppWidgetHost().createView( in preloadWidget() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | BaseItemDragListener.java | 65 protected Launcher mLauncher; field in BaseItemDragListener 87 mLauncher = launcher; in init() 94 if (mLauncher == null || mDragController == null) { in onDrag() 141 return !mLauncher.isWorkspaceLocked(); in shouldStartDrag() 149 mLauncher.getDragLayer().setAlpha(1); in onPreDragStart() 152 mLauncher.getResources().getColor(R.color.delete_target_hover_tint)); in onPreDragStart() 169 if (mLauncher != null) { in postCleanup() 171 Intent newIntent = new Intent(mLauncher.getIntent()); in postCleanup() 173 mLauncher.setIntent(newIntent); in postCleanup() 180 if (mLauncher != null) { in removeListener() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 144 protected final Launcher mLauncher; field in Folder 200 mLauncher = Launcher.getLauncher(context); in Folder() 236 if (!mLauncher.isDraggingEnabled()) return true; in onLongClick() 263 mLauncher.getWorkspace().beginDragShared(v, this, options); in startDrag() 319 mLauncher.getModelWriter().updateItemInDatabase(mInfo); in onBackKey() 448 final Workspace workspace = mLauncher.getWorkspace(); in startAnimation() 519 Folder openFolder = getOpen(mLauncher); in animateOpen() 532 DragLayer dragLayer = mLauncher.getDragLayer(); in animateOpen() 568 mLauncher.getUserEventDispatcher().logActionOnItem( in animateOpen() 598 mLauncher, android.R.interpolator.fast_out_slow_in)); in animateOpen() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | TaplTestsLauncher3.java | 69 test.mLauncher.getWorkspace(); in initialize() 103 mLauncher.pressHome(); in testDevicePressMenu() 109 final AllApps allApps = mLauncher.getWorkspace().switchToAllApps(); in testPressHomeOnAllAppsContextMenu() 116 mLauncher.pressHome(); in testPressHomeOnAllAppsContextMenu() 172 mLauncher.getWorkspace().switchToAllApps()); in testWorkspaceSwitchToAllApps() 178 final Workspace workspace = mLauncher.getWorkspace(); in testWorkspace() 233 final AllApps allApps = mLauncher.getWorkspace().switchToAllApps(); in testAppIconLaunchFromAllAppsFromHome() 245 Widgets widgets = mLauncher.getWorkspace().openAllWidgets(); in testWidgets() 247 widgets = mLauncher.getAllWidgets(); in testWidgets() 264 mLauncher.pressHome(); in testWidgets() [all …]
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/ |
D | AllAppsSwipeController.java | 36 if (AbstractFloatingView.getTopOpenView(mLauncher) != null) { in canInterceptTouch() 39 if (!mLauncher.isInState(NORMAL) && !mLauncher.isInState(ALL_APPS)) { in canInterceptTouch() 43 if (mLauncher.isInState(ALL_APPS) && !mLauncher.getAppsView().shouldContainerScroll(ev)) { in canInterceptTouch() 61 return mLauncher.getDragLayer().isEventOverView(mLauncher.getHotseat(), mTouchDownEvent) ? in getLogContainerTypeForNormalState() 69 mCurrentAnimation = mLauncher.getStateManager() in initCurrentAnimation() 71 float startVerticalShift = mFromState.getVerticalProgress(mLauncher) * range; in initCurrentAnimation() 72 float endVerticalShift = mToState.getVerticalProgress(mLauncher) * range; in initCurrentAnimation()
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | RotationHelper.java | 55 private final Launcher mLauncher; field in RotationHelper 82 mLauncher = launcher; in RotationHelper() 85 mIgnoreAutoRotateSettings = mLauncher.getResources().getBoolean(R.bool.allow_rotation); in RotationHelper() 87 mPrefs = Utilities.getPrefs(mLauncher); in RotationHelper() 103 || mLauncher.getDeviceProfile().isMultiWindowMode; in homeScreenCanRotate() 108 WindowManager.LayoutParams lp = mLauncher.getWindow().getAttributes(); in updateRotationAnimation() 114 mLauncher.getWindow().setAttributes(lp); in updateRotationAnimation() 128 mLauncher.reapplyUi(); in onSharedPreferenceChanged() 157 allowRotation || mLauncher.getResources().getBoolean(R.bool.allow_rotation); in forceAllowRotationForTesting() 202 UiThreadHelper.setOrientationAsync(mLauncher, activityFlags); in notifyChange()
|