Home
last modified time | relevance | path

Searched refs:getStateManager (Results 1 – 25 of 53) sorted by relevance

123

/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DLauncherActivityControllerHelper.java94 LauncherState startState = activity.getStateManager().getRestState(); in onTransitionCancelled()
95 activity.getStateManager().goToState(startState, activityVisible); in onTransitionCancelled()
101 activity.getStateManager().reapplyState(); in onSwipeUpToRecentsComplete()
109 activity.getStateManager().reapplyState(); in onSwipeUpToHomeComplete()
163 return activity.getStateManager().createAnimationToNewWorkspace(NORMAL, accuracy, in prepareHomeUI()
178 final LauncherState startState = activity.getStateManager().getState();
182 resetState = activity.getStateManager().getRestState();
184 activity.getStateManager().setRestState(resetState);
187 activity.getStateManager().goToState(fromState, false);
218 activity.getStateManager().goToState(startState, false /* animate */);
[all …]
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DLauncherActivityControllerHelper.java42 LauncherState fromState = activity.getStateManager().getState(); in prepareRecentsUI()
48 callback.accept(activity.getStateManager().createAnimationToNewWorkspace( in prepareRecentsUI()
81 return launcher != null && launcher.getStateManager().getState().overviewUi
96 launcher.getStateManager().goToState(OVERVIEW,
97 launcher.getStateManager().shouldAnimateStateChange(), onCompleteCallback);
104 return launcher != null ? launcher.getStateManager().getState().containerType
110 launcher.getStateManager().moveToRestState();
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java71 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()
DAbstractGalleryActivity.java89 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()
DAlbumPage.java228 } 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()
DAlbumSetPage.java262 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()
DPhotoPage.java524 mActivity.getStateManager().finishState( in onCreate()
888 if (mActivity.getStateManager().getStateCount() > 1) { in onUpPressed()
903 mActivity.getStateManager().switchState(this, AlbumPage.class, data); in onUpPressed()
978 if (mActivity.getStateManager().hasStateClass(AlbumPage.class)) { in switchToGrid()
990 boolean inAlbum = mActivity.getStateManager().hasStateClass(AlbumPage.class); in switchToGrid()
1001 mActivity.getStateManager().startState(AlbumPage.class, data); in switchToGrid()
1003 mActivity.getStateManager().switchState(this, AlbumPage.class, data); in switchToGrid()
1041 mActivity.getStateManager().startStateForResult( in onItemSelected()
1159 mActivity.getStateManager().finishState(this); in onSingleTapUp()
1251 mActivity.getStateManager().startState(SinglePhotoPage.class, data); in setCurrentPhotoByIntent()
[all …]
DActivityState.java97 mActivity.getStateManager().finishState(this); in onBackPressed()
207 int stateCount = mActivity.getStateManager().getStateCount(); in resume()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/
DLauncherAppTransitionManagerImpl.java78 return mLauncher.getStateManager().getState().overviewUi in isLaunchingFromRecents()
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()
152 mLauncher.getStateManager().reapplyState(); in composeViewContentAnimator()
212 LauncherStateManager stateManager = mLauncher.getStateManager(); in createStateElementAnimation()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java98 mActivity.getStateManager().addStateListener(this); in LauncherRecentsView()
103 mActivity.getStateManager().goToState(NORMAL); in startHome()
110 LauncherState state = mActivity.getStateManager().getState(); in setTranslationY()
150 LauncherState state = mActivity.getStateManager().getState(); in createAdjacentPageAnimForTaskLaunch()
209 mActivity.getStateManager().goToState(NORMAL, false /* animate */); in onTaskLaunched()
211 LauncherState state = mActivity.getStateManager().getState(); in onTaskLaunched()
293 LauncherState state = mActivity.getStateManager().getState(); in setOverviewStateEnabled()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DUiFactory.java94 && launcher.getStateManager().getState().hideBackButton in onLauncherStateOrFocusChanged()
110 launcher.getStateManager().addStateListener(new LauncherStateManager.StateListener() { in onCreate()
119 LauncherState prevState = launcher.getStateManager().getLastState(); in onCreate()
125 launcher.getStateManager().removeStateListener(this); in onCreate()
132 launcher.getStateManager().addStateListener(new LauncherStateManager.StateListener() { in onCreate()
139 LauncherState prevState = launcher.getStateManager().getLastState(); in onCreate()
144 launcher.getStateManager().removeStateListener(this); in onCreate()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DQuickSwitchState.java58 launcher.getStateManager().goToState(OVERVIEW); in onStateTransitionEnd()
61 launcher.getStateManager().moveToRestState(); in onStateTransitionEnd()
65 launcher.getStateManager().goToState(NORMAL); in onStateTransitionEnd()
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/
DGoLauncherAppTransitionManagerImpl.java32 return mLauncher.getStateManager().getState().overviewUi; in isLaunchingFromRecents()
62 return mLauncher.getStateManager()::reapplyState; in composeViewContentAnimator()
81 && (mLauncher.getStateManager().getState() == LauncherState.OVERVIEW); in onCreateAnimation()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java136 mLauncher.getStateManager().getLastState() : NORMAL; in getTargetState()
231 mLauncher.getStateManager().goToState(OVERVIEW, false /* animate */); in initCurrentAnimation()
242 mLauncher.getStateManager().setCurrentUserControlledAnimation(mCurrentAnimation); in initCurrentAnimation()
246 mCurrentAnimation = mLauncher.getStateManager() in initCurrentAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java152 LauncherState fromState = mLauncher.getStateManager().getState(); in getSwipeDirection()
187 LauncherState newFromState = mFromState == null ? mLauncher.getStateManager().getState() in reinitCurrentAnimation()
234 mStartState = mLauncher.getStateManager().getState(); in onDragStart()
362 return mLauncher.getStateManager().createAtomicAnimation(fromState, targetState, builder, in createAtomicAnimForState()
528 mLauncher.getStateManager().goToState(targetState, false /* animated */); in goToTargetState()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DDiscoveryBounce.java83 launcher.getStateManager().addStateListener(mStateListener); in DiscoveryBounce()
120 mLauncher.getAllAppsController().setProgress(mLauncher.getStateManager() in handleClose()
122 mLauncher.getStateManager().removeStateListener(mStateListener); in handleClose()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DAppsDividerView.java241 mLauncher.getStateManager().addStateListener(this); in onAttachedToWindow()
249 mLauncher.getStateManager().removeStateListener(this); in onDetachedFromWindow()
266 mLauncher.getStateManager().removeStateListener(this); in onStateTransitionComplete()
DAllAppsTipView.java190 launcher.getStateManager().addStateListener( in scheduleShowIfNeeded()
200 launcher.getStateManager().removeStateListener(this); in scheduleShowIfNeeded()
DPredictionUiStateManager.java175 Launcher.getLauncher(mAppsView.getContext()).getStateManager() in onStateTransitionComplete()
185 Launcher.getLauncher(mAppsView.getContext()).getStateManager().addStateListener(this); in scheduleApplyPredictedApps()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DNavBarToHomeTouchController.java83 mStartState = mLauncher.getStateManager().getState(); in onControllerInterceptTouchEvent()
195 mLauncher.getStateManager().goToState(mEndState, true, in onDragEnd()
223 mLauncher.getStateManager().goToState(targetState, false /* animated */); in onSwipeInteractionCompleted()
DNoButtonQuickSwitchTouchController.java171 mStartState = mLauncher.getStateManager().getState(); in onDragStart()
222 mNonOverviewAnim = mLauncher.getStateManager().createAnimationToNewWorkspace(toState, in updateNonOverviewAnim()
444 mLauncher.getStateManager().goToState(targetState, false, this::clearState); in onAnimationToStateCompleted()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DShelfPeekAnim.java55 mLauncher.getStateManager().cancelStateElementAnimation(INDEX_SHELF_ANIM); in setShelfState()
73 Animator shelfAnim = mLauncher.getStateManager() in setShelfState()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java257 launcher -> launcher.getStateManager().getCurrentStableState() == state); in waitForState()
401 return getFromLauncher(launcher -> launcher.getStateManager().getState() == state); in isInState()
411 final LauncherStateManager stateManager = launcher.getStateManager(); in checkLauncherIntegrity()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java326 LauncherStateManager stateManager = mLauncher.getStateManager(); in onAccessibilityStateChanged()
437 mLauncher.getStateManager().getState().containerType); in onPerformActionForVirtualView()
438 mLauncher.getStateManager().goToState(ALL_APPS); in onPerformActionForVirtualView()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java199 LauncherState state = launcher.getStateManager().getState(); in onLauncherStateOrResumeChanged()
225 mActivity.getStateManager().setCurrentUserControlledAnimation(animController); in onUserControlledAnimationCreated()

123