/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | BaseActivityInterface.java | 88 STATE_TYPE startState = activity.getStateManager().getRestState(); in onTransitionCancelled() 100 startState = activity.getStateManager().getRestState(); in onTransitionCancelled() 105 activity.getStateManager().goToState(startState, activityVisible); in onTransitionCancelled() 168 if (activity != null && activity.getStateManager().getState() == mBackgroundState) { in runOnInitBackgroundStateUI() 219 mStartState = mActivity.getStateManager().getState(); in DefaultAnimationFactory() 225 resetState = mActivity.getStateManager().getRestState(); in initBackgroundStateUI() 227 mActivity.getStateManager().setRestState(resetState); in initBackgroundStateUI() 228 mActivity.getStateManager().goToState(mBackgroundState, false); in initBackgroundStateUI() 238 mActivity.getStateManager().setCurrentUserControlledAnimation(controller); in createActivityInterface() 241 controller.setEndAction(() -> mActivity.getStateManager().goToState( in createActivityInterface() [all …]
|
D | LauncherActivityInterface.java | 97 MAIN_EXECUTOR.getHandler().post(launcher.getStateManager()::reapplyState); in onSwipeUpToHomeComplete() 195 launcher != null && launcher.getStateManager().getState().isRecentsViewVisible in getVisibleRecentsView() 236 launcher.getStateManager().goToState(OVERVIEW, in switchToRecentsIfVisible() 237 launcher.getStateManager().shouldAnimateStateChange(), in switchToRecentsIfVisible() 246 getCreatedContainer().getStateManager(); in onExitOverview() 290 && launcher.getStateManager().getState() == OVERVIEW in isInLiveTileMode() 299 && launcher.getStateManager().getState() == NORMAL in isInMinusOne() 310 launcher.getStateManager().goToState(OVERVIEW); in onLaunchTaskFailed()
|
D | RecentsActivity.java | 139 new SplitSelectStateController(this, mHandler, getStateManager(), in setupViews() 153 getStateManager(), systemUiProxy, getIApplicationThread(), in setupViews() 458 getStateManager().createAnimationToNewWorkspace( 471 () -> getStateManager().goToState(RecentsState.HOME, false), 481 public StateManager<RecentsState, RecentsActivity> getStateManager() { in getStateManager() method in RecentsActivity 526 return getStateManager().getState().isRecentsViewVisible();
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | LauncherRecentsView.java | 79 getStateManager().addStateListener(this); in LauncherRecentsView() 92 StateManager stateManager = getStateManager(); in handleStartHome() 108 public StateManager<LauncherState, Launcher> getStateManager() { in getStateManager() method in LauncherRecentsView 109 return mContainer.getStateManager(); in getStateManager() 115 getStateManager().moveToRestState(); in onTaskLaunchAnimationEnd() 117 LauncherState state = getStateManager().getState(); in onTaskLaunchAnimationEnd() 199 LauncherState state = getStateManager().getState(); in setOverviewStateEnabled() 210 return result || getStateManager().getState().isRecentsViewVisible; in onTouchEvent() 222 getStateManager().goToState(LauncherState.OVERVIEW_MODAL_TASK, animate); in setModalStateEnabled() 224 getStateManager().goToState(LauncherState.OVERVIEW, animate); in setModalStateEnabled() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActivity.java | 71 getStateManager().restoreFromState(savedInstanceState); in onCreate() 107 getStateManager().startState(AlbumSetPage.class, data); in startDefaultPage() 123 getStateManager().startState(AlbumSetPage.class, data); in startGetContent() 160 getStateManager().startState(SlideshowPage.class, data); in startViewAction() 177 getStateManager().startState(AlbumSetPage.class, data); in startViewAction() 196 getStateManager().startState(AlbumPage.class, data); in startViewAction() 199 getStateManager().startState(AlbumSetPage.class, data); in startViewAction() 226 getStateManager().startState(SinglePhotoPage.class, data); in startViewAction() 233 Utils.assertTrue(getStateManager().getStateCount() > 0); in onResume()
|
D | AbstractGalleryActivity.java | 89 getStateManager().saveState(outState); in onSaveInstanceState() 107 return getStateManager().createOptionsMenu(menu); in onCreateOptionsMenu() 125 public synchronized StateManager getStateManager() { in getStateManager() method in AbstractGalleryActivity 208 getStateManager().resume(); in onResume() 224 getStateManager().pause(); in onPause() 238 getStateManager().destroy(); in onDestroy() 249 getStateManager().notifyActivityResult( in onActivityResult() 262 getStateManager().onBackPressed(); in onBackPressed() 280 return getStateManager().itemSelected(item); in onOptionsItemSelected()
|
D | AlbumPage.java | 228 } else if (mActivity.getStateManager().getStateCount() > 1) { in onUpPressed() 233 mActivity.getStateManager().switchState( in onUpPressed() 308 mActivity.getStateManager().switchState(this, FilmstripPage.class, data); in pickPhoto() 310 mActivity.getStateManager().startStateForResult( in pickPhoto() 360 mActivity.getStateManager().startStateForResult( in doCluster() 380 mActivity.getStateManager().hasStateClass(FilmstripPage.class); in onCreate() 412 boolean enableHomeButton = (mActivity.getStateManager().getStateCount() > 1) | in onResume() 595 mActivity.getStateManager().finishState(this); in onItemSelected() 611 mActivity.getStateManager().startStateForResult( in onItemSelected() 732 mActivity.getStateManager().finishState(this); in clearLoadingBit()
|
D | AlbumSetPage.java | 262 mActivity.getStateManager().startStateForResult( in pickAlbum() 273 mActivity.getStateManager().startStateForResult( in pickAlbum() 280 boolean inAlbum = mActivity.getStateManager().hasStateClass(AlbumPage.class); in pickAlbum() 282 mActivity.getStateManager().startStateForResult( in pickAlbum() 316 mActivity.getStateManager().switchState(this, AlbumSetPage.class, data); in doCluster() 406 if (mActivity.getStateManager().getStateCount() > 1) { in clearLoadingBit() 410 mActivity.getStateManager().finishState(this); in clearLoadingBit() 531 final boolean inAlbum = mActivity.getStateManager().hasStateClass(AlbumPage.class); in onCreateActionBar() 610 mActivity.getStateManager().startState(ManageCachePage.class, data); in onItemSelected()
|
D | PhotoPage.java | 517 mActivity.getStateManager().finishState( in onCreate() 861 if (mActivity.getStateManager().getStateCount() > 1) { in onUpPressed() 876 mActivity.getStateManager().switchState(this, AlbumPage.class, data); in onUpPressed() 951 if (mActivity.getStateManager().hasStateClass(AlbumPage.class)) { in switchToGrid() 963 boolean inAlbum = mActivity.getStateManager().hasStateClass(AlbumPage.class); in switchToGrid() 974 mActivity.getStateManager().startState(AlbumPage.class, data); in switchToGrid() 976 mActivity.getStateManager().switchState(this, AlbumPage.class, data); in switchToGrid() 1014 mActivity.getStateManager().startStateForResult( in onItemSelected() 1131 mActivity.getStateManager().finishState(this); in onSingleTapUp() 1223 mActivity.getStateManager().startState(SinglePhotoPage.class, data); in setCurrentPhotoByIntent() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
D | FallbackRecentsView.java | 73 mContainer.getStateManager().addStateListener(this); in FallbackRecentsView() 96 public StateManager<RecentsState, RecentsActivity> getStateManager() { in getStateManager() method in FallbackRecentsView 97 return mContainer.getStateManager(); in getStateManager() 223 mContainer.getStateManager().goToState(RecentsState.MODAL_TASK, animate); in setModalStateEnabled() 226 mContainer.getStateManager().goToState(DEFAULT, animate); in setModalStateEnabled() 236 mContainer.getStateManager().goToState(OVERVIEW_SPLIT_SELECT); in initiateSplitSelect() 293 RecentsState state = mContainer.getStateManager().getState(); in setOverviewStateEnabled() 302 return result || mContainer.getStateManager().getState().isRecentsViewVisible(); in onTouchEvent() 308 mContainer.getStateManager().goToState(OVERVIEW_SPLIT_SELECT); in initiateSplitSelect()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | LauncherAllAppsContainerView.java | 50 return mActivityContext.getStateManager().isInStableState(LauncherState.ALL_APPS); in isInAllApps() 59 StateManager<LauncherState, Launcher> manager = launcher.getStateManager(); in shouldFloatingSearchBarBePillWhenUnfocused() 73 StateManager<LauncherState, Launcher> stateManager = launcher.getStateManager(); in getFloatingSearchBarRestingMarginBottom() 98 StateManager<LauncherState, Launcher> stateManager = mActivityContext.getStateManager(); in getFloatingSearchBarRestingMarginStart() 120 StateManager<LauncherState, Launcher> stateManager = mActivityContext.getStateManager(); in getFloatingSearchBarRestingMarginEnd()
|
D | DiscoveryBounce.java | 67 launcher.getStateManager().addStateListener(mStateListener); in DiscoveryBounce() 104 mLauncher.getHotseat().setTranslationY(mLauncher.getStateManager().getState() in handleClose() 106 mLauncher.getStateManager().removeStateListener(mStateListener); in handleClose()
|
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
D | StatefulActivity.java | 107 getStateManager().reapplyState(true /* cancelCurrentAnimation */); in reapplyUi() 114 final STATE_TYPE origState = getStateManager().getState(); in onStop() 119 getStateManager().moveToRestState(); in onStop() 129 if ((!getStateManager().isInStableState(origState) in onStop() 146 if (hasBeenResumed() && !getStateManager().getState().hasFlag(FLAG_NON_INTERACTIVE)) { in handleDeferredResume()
|
D | StatefulContainer.java | 53 StateManager<STATE_TYPE, ?> getStateManager(); in getStateManager() method 77 return getStateManager().getState() == state; in isInState()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | KeyboardShortcutsDelegate.java | 86 mLauncher.getStateManager().goToState(ALL_APPS); in onKeyShortcut() 123 mLauncher.getStateManager().goToState(NORMAL, true); in onKeyDown() 128 mLauncher.getStateManager().goToState(NORMAL, true); in onKeyDown() 132 mLauncher.getStateManager().goToState(OVERVIEW, true); in onKeyDown()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | NavBarToHomeTouchController.java | 95 mStartState = mLauncher.getStateManager().getState(); in onControllerInterceptTouchEvent() 205 mLauncher.getStateManager().removeStateListener(this); in onDragEnd() 208 mLauncher.getStateManager().addStateListener(listener); in onDragEnd() 217 mLauncher.getStateManager().goToState(mEndState, true, in onDragEnd() 240 mLauncher.getStateManager().goToState(targetState, false /* animated */); in onSwipeInteractionCompleted()
|
D | PortraitStatesTouchController.java | 97 ? mLauncher.getStateManager().getLastState() in getTargetState() 141 mLauncher.getStateManager().goToState(OVERVIEW, false /* animate */); in initCurrentAnimation() 146 mLauncher.getStateManager().setCurrentUserControlledAnimation(mCurrentAnimation); in initCurrentAnimation() 151 mCurrentAnimation = mLauncher.getStateManager() in initCurrentAnimation()
|
D | NoButtonQuickSwitchTouchController.java | 193 mStartState = mLauncher.getStateManager().getState(); in onDragStart() 236 mNonOverviewAnim = mLauncher.getStateManager() in updateNonOverviewAnim() 330 Animator overviewAnim = mLauncher.getStateManager().createAtomicAnimation( in onDragEnd() 343 mLauncher.getStateManager().createAnimationToNewWorkspace( in onDragEnd() 474 mLauncher.getStateManager().goToState(targetState, false, forEndCallback(this::clearState)); in onAnimationToStateCompleted()
|
D | NoButtonNavbarToOverviewTouchController.java | 230 mLauncher.getStateManager().goToState(OVERVIEW, true, forSuccessCallback(() -> { in onMotionPauseDetected() 310 LauncherState state = mLauncher.getStateManager().getState(); in goToOverviewOrHomeOnDragEnd() 311 mLauncher.getStateManager().createAtomicAnimation(state, state, config).start(); in goToOverviewOrHomeOnDragEnd()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | QuickstepOnboardingPrefs.java | 52 StateManager<LauncherState, Launcher> stateManager = launcher.getStateManager(); in setup() 78 mFromAllApps = launcher.getStateManager().getCurrentStableState() == ALL_APPS; in setup() 141 launcher.getStateManager().addStateListener(new StateListener<LauncherState>() { in setup()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | LauncherDragView.java | 48 mActivity.getStateManager().addStateListener(this); in onAttachedToWindow() 54 mActivity.getStateManager().removeStateListener(this); in onDetachedFromWindow()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | AccessibilityActionsView.java | 53 Launcher.getLauncher(context).getStateManager().addStateListener(this); in AccessibilityActionsView() 83 l.getStateManager().goToState(ALL_APPS); in performAccessibilityAction()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | FallbackTaskbarUIController.java | 75 mRecentsActivity.getStateManager().addStateListener(mStateListener); in init() 82 mRecentsActivity.getStateManager().removeStateListener(mStateListener); in onDestroy()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 128 LauncherState fromState = mLauncher.getStateManager().getState(); in getSwipeDirection() 158 LauncherState newFromState = mFromState == null ? mLauncher.getStateManager().getState() in reinitCurrentAnimation() 188 mStartState = mLauncher.getStateManager().getState(); in onDragStart() 397 mLauncher.getStateManager().goToState(targetState, false /* animated */, in goToTargetState()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | QuickstepLauncher.java | 268 new SplitSelectStateController(this, mHandler, getStateManager(), in setupViews() 278 getStateManager(), systemUiProxy, getIApplicationThread(), in setupViews() 316 getStateManager().getCurrentStableState())) { in logAppLaunch() 485 LauncherState state = getStateManager().getState(); in onStateOrResumeChanging() 565 getStateManager().goToState(NORMAL); in onStateSetEnd() 572 getStateManager().goToState(OVERVIEW); in onStateSetEnd() 588 getStateManager().goToState(OVERVIEW); in onStateSetEnd() 590 getStateManager().moveToRestState(); in onStateSetEnd() 595 getStateManager().goToState(NORMAL); in onStateSetEnd() 1273 getStateManager().moveToRestState(/* isAnimated = */false); in onDisplayInfoChanged() [all …]
|