Home
last modified time | relevance | path

Searched refs:GestureState (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DGestureState.java60 public class GestureState implements RecentsAnimationCallbacks.RecentsAnimationListener { class
107 public static final GestureState DEFAULT_STATE = new GestureState();
191 public GestureState(OverviewComponentObserver componentObserver, int gestureId) { in GestureState() method in GestureState
196 STATE_NAMES.toArray(new String[0]), GestureState::getTrackedEventForState); in GestureState()
200 public GestureState(GestureState other) { in GestureState() method in GestureState
213 public GestureState() { in GestureState() method in GestureState
219 STATE_NAMES.toArray(new String[0]), GestureState::getTrackedEventForState); in GestureState()
DTouchInteractionService.java38 import static com.android.quickstep.GestureState.DEFAULT_STATE;
39 import static com.android.quickstep.GestureState.TrackpadGestureType.getTrackpadGestureType;
443 public void setSwipeUpProxy(Function<GestureState, AnimatedFloat> proxy) { in setSwipeUpProxy() argument
563 private GestureState mGestureState = DEFAULT_STATE;
569 private Function<GestureState, AnimatedFloat> mSwipeUpProxyProvider = i -> null;
843 GestureState prevGestureState = new GestureState(mGestureState);
844 GestureState newGestureState = createGestureState(mGestureState,
961 GestureState gestureState, MotionEvent motionEvent) {
968 GestureState gestureState,
982 public GestureState createGestureState(GestureState previousGestureState,
[all …]
DRotationTouchHelper.java353 void onEndTargetCalculated(GestureState.GestureEndTarget endTarget, in onEndTargetCalculated()
355 if (endTarget == GestureState.GestureEndTarget.RECENTS) { in onEndTargetCalculated()
362 } else if (endTarget == GestureState.GestureEndTarget.HOME in onEndTargetCalculated()
363 || endTarget == GestureState.GestureEndTarget.ALL_APPS) { in onEndTargetCalculated()
365 } else if (endTarget == GestureState.GestureEndTarget.NEW_TASK) { in onEndTargetCalculated()
378 } else if (endTarget == GestureState.GestureEndTarget.LAST_TASK) { in onEndTargetCalculated()
DTaskAnimationManager.java24 import static com.android.quickstep.GestureState.GestureEndTarget.RECENTS;
25 import static com.android.quickstep.GestureState.STATE_END_TARGET_ANIMATION_FINISHED;
26 import static com.android.quickstep.GestureState.STATE_RECENTS_ANIMATION_INITIALIZED;
27 import static com.android.quickstep.GestureState.STATE_RECENTS_ANIMATION_STARTED;
70 private GestureState mLastGestureState;
133 public RecentsAnimationCallbacks startRecentsAnimation(@NonNull GestureState gestureState, in startRecentsAnimation()
240 return mLastGestureState.getEndTarget() == GestureState.GestureEndTarget.NEW_TASK in startRecentsAnimation()
375 public RecentsAnimationCallbacks continueRecentsAnimation(GestureState gestureState) { in continueRecentsAnimation()
DBaseContainerInterface.java21 import static com.android.quickstep.GestureState.GestureEndTarget.LAST_TASK;
22 import static com.android.quickstep.GestureState.GestureEndTarget.RECENTS;
103 public abstract STATE_TYPE stateFromGestureEndTarget(GestureState.GestureEndTarget endTarget); in stateFromGestureEndTarget()
142 GestureState.GestureEndTarget endTarget, long duration, in getParallelAnimationToLauncher()
167 public @Nullable View onSettledOnEndTarget(GestureState.GestureEndTarget endTarget) { in onSettledOnEndTarget()
182 @Nullable GestureState.GestureEndTarget endTarget) { in onTransitionCancelled()
DBaseActivityInterface.java23 import static com.android.quickstep.GestureState.GestureEndTarget.LAST_TASK;
83 @Nullable GestureState.GestureEndTarget endTarget) { in onTransitionCancelled()
203 default void setEndTarget(GestureState.GestureEndTarget endTarget) { } in setEndTarget()
311 public void setEndTarget(GestureState.GestureEndTarget endTarget) { in setEndTarget()
DAbsSwipeUpHandler.java48 import static com.android.quickstep.GestureState.GestureEndTarget.ALL_APPS;
49 import static com.android.quickstep.GestureState.GestureEndTarget.HOME;
50 import static com.android.quickstep.GestureState.GestureEndTarget.LAST_TASK;
51 import static com.android.quickstep.GestureState.GestureEndTarget.NEW_TASK;
52 import static com.android.quickstep.GestureState.GestureEndTarget.RECENTS;
53 import static com.android.quickstep.GestureState.STATE_END_TARGET_ANIMATION_FINISHED;
54 import static com.android.quickstep.GestureState.STATE_END_TARGET_SET;
55 import static com.android.quickstep.GestureState.STATE_RECENTS_ANIMATION_CANCELED;
56 import static com.android.quickstep.GestureState.STATE_RECENTS_SCROLLING_FINISHED;
121 import com.android.quickstep.GestureState.GestureEndTarget;
[all …]
DOverviewCommandHelper.java345 GestureState gestureState = mService.createGestureState(GestureState.DEFAULT_STATE, in executeCommand()
346 GestureState.TrackpadGestureType.NONE); in executeCommand()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DInputProxyHandlerFactory.java21 import com.android.quickstep.GestureState;
35 private final GestureState mGestureState;
39 GestureState gestureState) { in InputProxyHandlerFactory()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOverviewWithoutFocusInputConsumer.java32 import com.android.quickstep.GestureState;
45 private final GestureState mGestureState;
48 RecentsAnimationDeviceState deviceState, GestureState gestureState, in OverviewWithoutFocusInputConsumer()
DAccessibilityInputConsumer.java32 import com.android.quickstep.GestureState;
50 private final GestureState mGestureState;
60 GestureState gestureState, InputConsumer delegate, InputMonitorCompat inputMonitor) { in AccessibilityInputConsumer()
DOverviewInputConsumer.java35 import com.android.quickstep.GestureState;
51 private final GestureState mGestureState;
60 public OverviewInputConsumer(GestureState gestureState, T container, in OverviewInputConsumer()
DScreenPinnedInputConsumer.java23 import com.android.quickstep.GestureState;
41 public ScreenPinnedInputConsumer(Context context, GestureState gestureState) { in ScreenPinnedInputConsumer()
DProgressDelegateInputConsumer.java38 import com.android.quickstep.GestureState;
77 private final GestureState mGestureState;
92 TaskAnimationManager taskAnimationManager, GestureState gestureState, in ProgressDelegateInputConsumer()
DNavHandleLongPressInputConsumer.java34 import com.android.quickstep.GestureState;
65 private final GestureState mGestureState;
72 NavHandle navHandle, GestureState gestureState) { in NavHandleLongPressInputConsumer()
DDeviceLockedInputConsumer.java48 import com.android.quickstep.GestureState;
89 private final GestureState mGestureState;
112 TaskAnimationManager taskAnimationManager, GestureState gestureState, in DeviceLockedInputConsumer()
DTaskbarUnstashInputConsumer.java49 import com.android.quickstep.GestureState;
90 private final GestureState mGestureState;
99 OverviewCommandHelper overviewCommandHelper, GestureState gestureState) { in TaskbarUnstashInputConsumer()
DOtherActivityInputConsumer.java52 import com.android.quickstep.GestureState;
82 private final GestureState mGestureState;
125 TaskAnimationManager taskAnimationManager, GestureState gestureState, in OtherActivityInputConsumer()
DAssistantInputConsumer.java48 import com.android.quickstep.GestureState;
93 GestureState gestureState, in AssistantInputConsumer()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DFallbackRecentsView.java20 import static com.android.quickstep.GestureState.GestureEndTarget.RECENTS;
44 import com.android.quickstep.GestureState;
120 @Nullable AnimatorSet animatorSet, GestureState.GestureEndTarget endTarget, in onPrepareGestureEndAnimation()
139 if (mCurrentGestureEndTarget == GestureState.GestureEndTarget.HOME) { in onGestureAnimationEnd()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaskAnimationManagerTest.java65 final GestureState gestureState = mock(GestureState.class); in startRecentsActivity_allowBackgroundLaunch()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DLauncherRecentsView.java53 import com.android.quickstep.GestureState;
279 GestureState.GestureEndTarget endTarget = null; in onGestureAnimationEnd()
283 if (endTarget == GestureState.GestureEndTarget.LAST_TASK in onGestureAnimationEnd()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/statehandlers/
DDesktopVisibilityController.java36 import com.android.quickstep.GestureState;
267 public void setRecentsGestureEnd(@Nullable GestureState.GestureEndTarget endTarget) { in setRecentsGestureEnd()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java52 import com.android.quickstep.GestureState;
92 new GestureState(observer, -1)); in SwipeUpGestureTutorialController()
322 GestureState gestureState) { in ViewSwipeUpAnimation()
DAllSetActivity.java71 import com.android.quickstep.GestureState;
324 private AnimatedFloat createSwipeUpProxy(GestureState state) { in createSwipeUpProxy()

12