Searched refs:toState (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | WorkspaceStateTransitionAnimation.java | 149 public TransitionStates(final Workspace.State fromState, final Workspace.State toState) { in TransitionStates() argument 156 stateIsNormal = (toState == Workspace.State.NORMAL); in TransitionStates() 157 stateIsSpringLoaded = (toState == Workspace.State.SPRING_LOADED); in TransitionStates() 158 stateIsNormalHidden = (toState == Workspace.State.NORMAL_HIDDEN); in TransitionStates() 159 stateIsOverviewHidden = (toState == Workspace.State.OVERVIEW_HIDDEN); in TransitionStates() 160 stateIsOverview = (toState == Workspace.State.OVERVIEW); in TransitionStates() 220 public AnimatorSet getAnimationToState(Workspace.State fromState, Workspace.State toState, in getAnimationToState() argument 225 TransitionStates states = new TransitionStates(fromState, toState); in getAnimationToState()
|
D | Launcher.java | 2822 public void updateInteraction(Workspace.State fromState, Workspace.State toState) { in updateInteraction() argument 2826 boolean toStateWithOverlay = toState != Workspace.State.NORMAL; in updateInteraction() 3351 private boolean showAppsOrWidgets(State toState, boolean animated, boolean focusSearchBar) { in showAppsOrWidgets() argument 3356 if (toState != State.APPS && toState != State.WIDGETS) { in showAppsOrWidgets() 3360 if (toState == State.APPS) { in showAppsOrWidgets() 3368 mState = toState; in showAppsOrWidgets() 3385 public Animator startWorkspaceStateChangeAnimation(Workspace.State toState, int toPage, in startWorkspaceStateChangeAnimation() argument 3388 Animator anim = mWorkspace.setStateWithAnimation(toState, toPage, animated, layerViews); in startWorkspaceStateChangeAnimation() 3389 updateInteraction(fromState, toState); in startWorkspaceStateChangeAnimation()
|
D | Workspace.java | 1998 public Animator setStateWithAnimation(State toState, int toPage, boolean animated, in setStateWithAnimation() argument 2002 toState, toPage, animated, layerViews); in setStateWithAnimation() 2005 mState = toState; in setStateWithAnimation()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Launcher.java | 2798 private void hideAppsCustomizeHelper(State toState, final boolean animated, in hideAppsCustomizeHelper() argument 2817 if (toState == State.WORKSPACE) { in hideAppsCustomizeHelper() 2821 } else if (toState == State.APPS_CUSTOMIZE_SPRING_LOADED) { in hideAppsCustomizeHelper()
|