Home
last modified time | relevance | path

Searched refs:stateManager (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DLauncherAllAppsContainerView.java73 StateManager<LauncherState, Launcher> stateManager = launcher.getStateManager(); in getFloatingSearchBarRestingMarginBottom() local
78 int currentStateMarginBottom = stateManager.getCurrentStableState() in getFloatingSearchBarRestingMarginBottom()
81 if (stateManager.isInTransition() && stateManager.getTargetState() != null) { in getFloatingSearchBarRestingMarginBottom()
82 targetStateMarginBottom = stateManager.getTargetState() in getFloatingSearchBarRestingMarginBottom()
98 StateManager<LauncherState, Launcher> stateManager = mActivityContext.getStateManager(); in getFloatingSearchBarRestingMarginStart() local
101 if (stateManager.getCurrentStableState() == LauncherState.ALL_APPS in getFloatingSearchBarRestingMarginStart()
106 if (stateManager.isInTransition() && stateManager.getTargetState() != null) { in getFloatingSearchBarRestingMarginStart()
107 return stateManager.getTargetState() in getFloatingSearchBarRestingMarginStart()
110 return stateManager.getCurrentStableState() in getFloatingSearchBarRestingMarginStart()
120 StateManager<LauncherState, Launcher> stateManager = mActivityContext.getStateManager(); in getFloatingSearchBarRestingMarginEnd() local
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DQuickstepOnboardingPrefs.java52 StateManager<LauncherState, Launcher> stateManager = launcher.getStateManager(); in setup() local
54 stateManager.addStateListener(new StateListener<LauncherState>() { in setup()
59 LauncherState prevState = stateManager.getLastState(); in setup()
65 stateManager.removeStateListener(this); in setup()
73 stateManager.addStateListener(new StateListener<LauncherState>() { in setup()
88 stateManager.removeStateListener(this); in setup()
96 stateManager.addStateListener(new StateListener<LauncherState>() { in setup()
DOverviewToHomeAnim.java65 StateManager<LauncherState, Launcher> stateManager = mLauncher.getStateManager(); in animateWithVelocity() local
66 LauncherState startState = stateManager.getState(); in animateWithVelocity()
94 AnimatorSet stateAnim = stateManager.createAtomicAnimation( in animateWithVelocity()
109 stateManager.setCurrentAnimation(anim, NORMAL); in animateWithVelocity()
DAnimatorControllerWithResistance.java167 StateManager<LauncherState, StatefulActivity<LauncherState>> stateManager = in createForRecents() local
169 if (stateManager.isInStableState(LauncherState.BACKGROUND_APP) in createForRecents()
170 && stateManager.isInTransition()) { in createForRecents()
177 AnimatorSet allAppsAnimator = stateManager.createAnimationToNewWorkspace( in createForRecents()
DSplitAnimationController.kt494 stateManager: StateManager<*, *>, in <lambda>()
515 stateManager, in <lambda>()
531 stateManager, in <lambda>()
573 stateManager: StateManager<*, *>, in <lambda>()
581 stateManager, in <lambda>()
601 stateManager: StateManager<*, *>, in <lambda>()
612 stateManager, in <lambda>()
DScalingWorkspaceRevealAnim.kt80 launcher.stateManager
DSplitSelectStateController.java190 StateManager stateManager, DepthController depthController, in SplitSelectStateController() argument
197 mStateManager = stateManager; in SplitSelectStateController()
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/
DFallbackTaskbarUIControllerTest.kt40 private val stateManager: StateManager<RecentsState, RecentsActivity> = mock() constant in com.android.launcher3.taskbar.FallbackTaskbarUIControllerTest
45 whenever(recentsActivity.stateManager).thenReturn(stateManager) in setup()
51 verify(stateManager).addStateListener(captor.capture()) in setup()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/desktop/
DDesktopRecentsTransitionController.kt38 private val stateManager: StateManager<*, *>, constant in com.android.launcher3.desktop.DesktopRecentsTransitionController
52 stateManager, in launchDesktopFromRecents()
67 private val stateManager: StateManager<*, *>, constant in com.android.launcher3.desktop.DesktopRecentsTransitionController.RemoteDesktopLaunchTransitionRunner
89 stateManager, in startAnimation()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DSplitAnimationControllerTest.kt81 private val stateManager: StateManager<*, *> = mock() constant in com.android.quickstep.util.SplitAnimationControllerTest
226 stateManager, in playsAppropriateSplitLaunchAnimation_playsLegacyLaunchCorrectly()
262 stateManager, in playsAppropriateSplitLaunchAnimation_playsRecentsLaunchCorrectly()
290 stateManager, in playsAppropriateSplitLaunchAnimation_playsIconLaunchCorrectly()
318 stateManager, in playsAppropriateSplitLaunchAnimation_playsIconFullscreenLaunchCorrectly()
345 stateManager, in playsAppropriateSplitLaunchAnimation_playsIconLaunchFromTaskbarCMultiWindow()
372 stateManager, in playsAppropriateSplitLaunchAnimation_playsIconLaunchFromTaskbarFullscreen()
398 stateManager, in playsAppropriateSplitLaunchAnimation_playsFadeInLaunchCorrectly()
DSplitSelectStateControllerTest.kt65 private val stateManager: StateManager<LauncherState, StatefulActivity<LauncherState>> = mock() constant in com.android.quickstep.util.SplitSelectStateControllerTest
91 stateManager, in setup()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskViewUtils.java437 @NonNull StateManager stateManager, @Nullable DepthController depthController, in composeRecentsSplitLaunchAnimator() argument
458 nonAppTargets, /* launcherClosing */ true, stateManager, recentsView, in composeRecentsSplitLaunchAnimator()
483 @NonNull StateManager stateManager, in composeRecentsSplitLaunchAnimatorLegacy() argument
497 true, stateManager, in composeRecentsSplitLaunchAnimatorLegacy()
564 @NonNull StateManager stateManager, @Nullable DepthController depthController, in composeRecentsDesktopLaunchAnimator() argument
589 true /* launcherClosing */, stateManager, launchingTaskView.getRecentsView(), in composeRecentsDesktopLaunchAnimator()
599 @NonNull StateManager stateManager, @NonNull RecentsView recentsView, in composeRecentsLaunchAnimator() argument
652 stateManager.moveToRestState(); in composeRecentsLaunchAnimator()
653 stateManager.reapplyState(); in composeRecentsLaunchAnimator()
687 stateManager.createAnimationToNewWorkspace(NORMAL, RECENTS_LAUNCH_DURATION); in composeRecentsLaunchAnimator()
[all …]
DFallbackActivityInterface.java157 final StateManager<RecentsState, RecentsActivity> stateManager = in onExitOverview() local
159 if (stateManager.getState() == HOME) { in onExitOverview()
165 stateManager.addStateListener( in onExitOverview()
173 stateManager.removeStateListener(this); in onExitOverview()
DLauncherActivityInterface.java245 final StateManager<LauncherState, Launcher> stateManager = in onExitOverview() local
247 stateManager.addStateListener( in onExitOverview()
255 stateManager.removeStateListener(this); in onExitOverview()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DSplitInstructionsView.java169 StateManager stateManager = recentsView.getStateManager(); in exitSplitSelection() local
170 BaseState startState = stateManager.getState(); in exitSplitSelection()
179 AnimatorSet stateAnim = stateManager.createAtomicAnimation( in exitSplitSelection()
185 stateManager.setCurrentAnimation(stateAnim, NORMAL); in exitSplitSelection()
DLauncherRecentsView.java92 StateManager stateManager = getStateManager(); in handleStartHome() local
93 animated &= stateManager.shouldAnimateStateChange(); in handleStartHome()
94 stateManager.goToState(NORMAL, animated); in handleStartHome()
DTaskView.kt1145 recentsView.stateManager, in <lambda>()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DTransitionAnimationHelper.java80 TransitionAnimationStateManager stateManager, in TransitionAnimationHelper() argument
85 mStateManager = requireNonNull(stateManager); in TransitionAnimationHelper()
DProvisioningActivityBridgeImpl.java294 abstract Builder setStateManager(TransitionAnimationStateManager stateManager); in setStateManager() argument
/packages/apps/Launcher3/src/com/android/launcher3/
DModelCallbacks.kt199 launcher.stateManager.state == LauncherState.ALL_APPS in <lambda>()
201 launcher.stateManager.goToState(LauncherState.NORMAL) in <lambda>()
DDropTargetHandler.kt27 mLauncher.stateManager.goToState(LauncherState.NORMAL) in onDropAnimationComplete()
DWorkspace.java529 StateManager<LauncherState, Launcher> stateManager = mLauncher.getStateManager(); in onDragEnd() local
530 stateManager.addStateListener(new StateManager.StateListener<LauncherState>() { in onDragEnd()
537 stateManager.removeStateListener(this); in onDragEnd()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DCannedAnimationCoordinator.kt117 .stateManager in <lambda>()
/packages/services/Car/packages/CarManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DCarProvisioningActivityBridgeImpl.java302 abstract Builder setStateManager(TransitionAnimationStateManager stateManager); in setStateManager() argument