/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/taskview/ |
D | TaskViewTransitionsTest.java | 46 import com.android.wm.shell.transition.Transitions; 63 Transitions mTransitions; 77 if (Transitions.ENABLE_SHELL_TRANSITIONS) { in setUp() 93 assumeTrue(Transitions.ENABLE_SHELL_TRANSITIONS); in testSetTaskBounds_taskNotVisible_noTransaction() 105 assumeTrue(Transitions.ENABLE_SHELL_TRANSITIONS); in testSetTaskBounds_taskVisible_boundsChangeTransaction() 117 mock(Transitions.TransitionFinishCallback.class)); in testSetTaskBounds_taskVisible_boundsChangeTransaction() 132 assumeTrue(Transitions.ENABLE_SHELL_TRANSITIONS); in testSetTaskBounds_taskVisibleWithPending_noTransaction() 148 assumeTrue(Transitions.ENABLE_SHELL_TRANSITIONS); in testSetTaskBounds_sameBounds_noTransaction() 160 mock(Transitions.TransitionFinishCallback.class)); in testSetTaskBounds_sameBounds_noTransaction() 178 mock(Transitions.TransitionFinishCallback.class)); in testSetTaskBounds_sameBounds_noTransaction() [all …]
|
D | TaskViewTest.java | 65 import com.android.wm.shell.transition.Transitions; 93 Transitions mTransitions; 136 if (Transitions.ENABLE_SHELL_TRANSITIONS) { in setUp() 180 assumeFalse(Transitions.ENABLE_SHELL_TRANSITIONS); in testOnTaskAppeared_noSurface_legacyTransitions() 191 assumeFalse(Transitions.ENABLE_SHELL_TRANSITIONS); in testOnTaskAppeared_withSurface_legacyTransitions() 202 assumeFalse(Transitions.ENABLE_SHELL_TRANSITIONS); in testSurfaceCreated_noTask_legacyTransitions() 213 assumeFalse(Transitions.ENABLE_SHELL_TRANSITIONS); in testSurfaceCreated_withTask_legacyTransitions() 224 assumeFalse(Transitions.ENABLE_SHELL_TRANSITIONS); in testSurfaceDestroyed_noTask_legacyTransitions() 234 assumeFalse(Transitions.ENABLE_SHELL_TRANSITIONS); in testSurfaceDestroyed_withTask_shouldNotHideTask_legacyTransitions() 248 assumeFalse(Transitions.ENABLE_SHELL_TRANSITIONS); in testSurfaceDestroyed_withTask_legacyTransitions() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
D | FreeformComponents.java | 26 import com.android.wm.shell.transition.Transitions; 36 public final Optional<Transitions.TransitionHandler> mTransitionHandler; 37 public final Optional<Transitions.TransitionObserver> mTransitionObserver; 44 Optional<Transitions.TransitionHandler> transitionHandler, in FreeformComponents() 45 Optional<Transitions.TransitionObserver> transitionObserver) { in FreeformComponents()
|
D | FreeformTaskTransitionHandler.java | 43 import com.android.wm.shell.transition.Transitions; 54 implements Transitions.TransitionHandler, FreeformTaskTransitionStarter { 57 private final Transitions mTransitions; 69 Transitions transitions, in FreeformTaskTransitionHandler() 81 if (Transitions.ENABLE_SHELL_TRANSITIONS) { in FreeformTaskTransitionHandler() 96 type = Transitions.TRANSIT_MAXIMIZE; in startWindowingModeTransition() 99 type = Transitions.TRANSIT_RESTORE_FROM_MAXIMIZE; in startWindowingModeTransition() 126 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() 182 @NonNull Transitions.TransitionFinishCallback finishCallback) { in mergeAnimation() 203 if (type == Transitions.TRANSIT_MAXIMIZE in startChangeTransition() [all …]
|
D | FreeformTaskTransitionObserver.java | 31 import com.android.wm.shell.transition.Transitions; 45 public class FreeformTaskTransitionObserver implements Transitions.TransitionObserver { 46 private final Transitions mTransitions; 55 Transitions transitions, in FreeformTaskTransitionObserver() 59 if (Transitions.ENABLE_SHELL_TRANSITIONS && FreeformComponents.isFreeformEnabled(context)) { in FreeformTaskTransitionObserver()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | OneShotRemoteHandler.java | 41 public class OneShotRemoteHandler implements Transitions.TransitionHandler { 64 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() 72 Transitions.setRunningRemoteTransitionDelegate(mRemote.getAppThread()); in startAnimation() 87 Log.e(Transitions.TAG, "Error running remote transition.", e); in startAnimation() 100 @NonNull Transitions.TransitionFinishCallback finishCallback) { in mergeAnimation() 130 Log.e(Transitions.TAG, "Error merging remote transition.", e); in mergeAnimation() 138 @NonNull Transitions.TransitionFinishCallback finishCallback, in takeOverAnimation() 148 Transitions.setRunningRemoteTransitionDelegate(mRemote.getAppThread()); in takeOverAnimation() 168 Log.e(Transitions.TAG, "Error running remote transition takeover.", e); in takeOverAnimation() 198 Log.e(Transitions.TAG, "Error calling onTransitionConsumed()", e); in onTransitionConsumed() [all …]
|
D | RemoteTransitionHandler.java | 55 public class RemoteTransitionHandler implements Transitions.TransitionHandler { 121 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() 122 if (!Transitions.SHELL_TRANSITIONS_ROTATION && TransitionUtil.hasDisplayChange(info)) { in startAnimation() 176 Transitions.setRunningRemoteTransitionDelegate(remote.getAppThread()); in startAnimation() 178 Log.e(Transitions.TAG, "Error running remote transition.", e); in startAnimation() 215 @NonNull Transitions.TransitionFinishCallback finishCallback) { in mergeAnimation() 252 Log.e(Transitions.TAG, "Error attempting to merge remote transition.", e); in mergeAnimation() 258 public Transitions.TransitionHandler getHandlerForTakeover( in getHandlerForTakeover() 285 @NonNull Transitions.TransitionFinishCallback finishCallback, in takeOverAnimation() 287 Transitions.TransitionHandler handler = getHandlerForTakeover(transition, info); in takeOverAnimation() [all …]
|
D | DefaultMixedHandler.java | 70 private final Transitions mPlayer; 126 protected final Transitions mPlayer; 132 Transitions.TransitionHandler mLeftoversHandler = null; 136 Transitions.TransitionFinishCallback mFinishCB = null; 152 MixedTransition(int type, IBinder transition, Transitions player, in MixedTransition() 168 @NonNull Transitions.TransitionFinishCallback finishCallback); in startAnimation() 173 @NonNull Transitions.TransitionFinishCallback finishCallback); in mergeAnimation() 180 Transitions.TransitionHandler handler, TransitionInfo info, in startSubAnimation() 223 public DefaultMixedHandler(@NonNull ShellInit shellInit, @NonNull Transitions player, in DefaultMixedHandler() 233 if (Transitions.ENABLE_SHELL_TRANSITIONS in DefaultMixedHandler() [all …]
|
D | RecentsMixedTransition.java | 45 RecentsMixedTransition(int type, IBinder transition, Transitions player, in RecentsMixedTransition() 61 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() 81 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateRecentsDuringDesktop() 90 Transitions.TransitionFinishCallback finishCB = wct -> { in animateRecentsDuringDesktop() 116 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateRecentsDuringKeyguard() 132 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateRecentsDuringSplit() 152 Transitions.TransitionFinishCallback finishCB = (wct) -> { in animateRecentsDuringSplit() 179 @NonNull Transitions.TransitionFinishCallback finishCallback) { in mergeAnimation()
|
D | DefaultMixedTransition.java | 43 DefaultMixedTransition(int type, IBinder transition, Transitions player, in DefaultMixedTransition() 71 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() 102 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateEnterPipFromActivityEmbedding() 121 final Transitions.TransitionFinishCallback finishCB = (wct) -> { in animateEnterPipFromActivityEmbedding() 153 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateOpenIntentWithRemoteAndPip() 173 @NonNull Transitions.TransitionFinishCallback finishCallback) { in tryAnimateOpenIntentWithRemoteAndPip() 186 Transitions.TransitionFinishCallback finishCB = (wct) -> { in tryAnimateOpenIntentWithRemoteAndPip() 228 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateUnfold() 232 final Transitions.TransitionFinishCallback finishCB = (wct) -> { in animateUnfold() 253 @NonNull Transitions.TransitionFinishCallback finishCallback) { in mergeAnimation()
|
D | SleepHandler.java | 35 class SleepHandler implements Transitions.TransitionHandler { 40 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() 42 Slog.e(Transitions.TAG, "Real changes included in a SLEEP transition"); in startAnimation()
|
D | HomeTransitionObserver.java | 23 import static com.android.wm.shell.transition.Transitions.TRANSIT_DESKTOP_MODE_START_DRAG_TO_DESKTO… 24 import static com.android.wm.shell.transition.Transitions.TransitionObserver; 96 public void setHomeTransitionListener(Transitions transitions, in setHomeTransitionListener() 134 public void invalidate(Transitions transitions) { in invalidate()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingController.java | 25 import static com.android.wm.shell.transition.Transitions.TRANSIT_TASK_FRAGMENT_DRAG_RESIZE; 46 import com.android.wm.shell.transition.Transitions; 53 public class ActivityEmbeddingController implements Transitions.TransitionHandler { 57 final Transitions mTransitions; 65 private final ArrayMap<IBinder, Transitions.TransitionFinishCallback> mTransitionCallbacks = 69 @NonNull Transitions transitions) { in ActivityEmbeddingController() 83 @NonNull ShellInit shellInit, @NonNull Transitions transitions) { in create() 84 return Transitions.ENABLE_SHELL_TRANSITIONS in create() 159 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() 172 @NonNull Transitions.TransitionFinishCallback finishCallback) { in mergeAnimation() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | EnterDesktopTaskTransitionHandler.java | 43 import com.android.wm.shell.transition.Transitions; 54 public class EnterDesktopTaskTransitionHandler implements Transitions.TransitionHandler { 57 private final Transitions mTransitions; 67 Transitions transitions) { in EnterDesktopTaskTransitionHandler() 72 Transitions transitions, in EnterDesktopTaskTransitionHandler() 102 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() 131 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startChangeTransition() 148 @NonNull Transitions.TransitionFinishCallback finishCallback) { in animateMoveToDesktop()
|
D | ToggleResizeDesktopTaskTransitionHandler.kt | 30 import com.android.wm.shell.transition.Transitions in <lambda>() 31 import com.android.wm.shell.transition.Transitions.TRANSIT_DESKTOP_MODE_TOGGLE_RESIZE in <lambda>() 37 private val transitions: Transitions, in <lambda>() 39 ) : Transitions.TransitionHandler { in <lambda>() 47 transitions: Transitions in <lambda>() 64 finishCallback: Transitions.TransitionFinishCallback in <lambda>()
|
D | DesktopTasksTransitionObserver.kt | 28 import com.android.wm.shell.transition.Transitions in <lambda>() 40 private val transitions: Transitions, in <lambda>() 42 ) : Transitions.TransitionObserver { in <lambda>() 45 if (Transitions.ENABLE_SHELL_TRANSITIONS && in <lambda>()
|
D | ExitDesktopTaskTransitionHandler.java | 46 import com.android.wm.shell.transition.Transitions; 58 public class ExitDesktopTaskTransitionHandler implements Transitions.TransitionHandler { 62 private final Transitions mTransitions; 69 Transitions transitions, in ExitDesktopTaskTransitionHandler() 75 Transitions transitions, in ExitDesktopTaskTransitionHandler() 105 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() 135 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startChangeTransition()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/ |
D | ShellTransitionTests.java | 160 final Transitions t = new Transitions(mContext, shellInit, mock(ShellController.class), in instantiate_addInitCallback() 172 final Transitions t = new Transitions(mContext, shellInit, shellController, in instantiateController_addExternalInterface() 182 Transitions transitions = createTestTransitions(); in testBasicTransitionFlow() 201 Transitions transitions = createTestTransitions(); in testNonDefaultHandler() 212 @NonNull Transitions.TransitionFinishCallback finishCallback) { in testNonDefaultHandler() 286 Transitions transitions = createTestTransitions(); in testRequestRemoteTransition() 447 Transitions transitions = createTestTransitions(); in testRegisteredRemoteTransition() 486 Transitions transitions = createTestTransitions(); in testRegisteredRemoteTransitionTakeover() 494 final Transitions.TransitionHandler takeoverHandler = in testRegisteredRemoteTransitionTakeover() 571 Transitions transitions = createTestTransitions(); in testOneShotRemoteHandler() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/ |
D | WMShellModule.java | 91 import com.android.wm.shell.transition.Transitions; 188 Transitions transitions, in provideBubbleController() 221 Transitions transitions, in provideWindowDecorViewModel() 289 Transitions transitions, in provideFreeformTaskTransitionHandler() 304 Transitions transitions, in provideFreeformTaskTransitionObserver() 355 Transitions transitions, in provideSplitScreenController() 388 Transitions transitions) { in provideMixedTransitionHandler() 399 Transitions transitions, in provideRecentsTransitionHandler() 484 Transitions transitions, in provideUnfoldTransitionHandler() 514 Transitions transitions, in provideDesktopTasksController() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | SplitScreenTransitions.java | 33 import static com.android.wm.shell.transition.Transitions.TRANSIT_SPLIT_DISMISS; 34 import static com.android.wm.shell.transition.Transitions.TRANSIT_SPLIT_DISMISS_SNAP; 55 import com.android.wm.shell.transition.Transitions; 65 private final Transitions mTransitions; 76 private final Transitions.TransitionFinishCallback mRemoteFinishCB = this::onFinish; 82 private Transitions.TransitionFinishCallback mFinishCallback = null; 87 SplitScreenTransitions(@NonNull TransactionPool pool, @NonNull Transitions transitions, in SplitScreenTransitions() 97 @NonNull Transitions.TransitionFinishCallback finishCallback) { in initTransition() 107 @NonNull Transitions.TransitionFinishCallback finishCallback, in playAnimation() 229 @NonNull Transitions.TransitionFinishCallback finishCallback, in playDragDismissAnimation() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingAnimationTestBase.java | 39 import com.android.wm.shell.transition.Transitions; 52 Transitions mTransitions; 65 Transitions.TransitionFinishCallback mFinishCallback; 70 assumeTrue(Transitions.ENABLE_SHELL_TRANSITIONS); in setUp()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | TaskOperations.java | 36 import com.android.wm.shell.transition.Transitions; 80 if (Transitions.ENABLE_SHELL_TRANSITIONS) { in closeTask() 90 if (Transitions.ENABLE_SHELL_TRANSITIONS) { in minimizeTask() 107 if (Transitions.ENABLE_SHELL_TRANSITIONS) { in maximizeTask()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipTransition.java | 26 import static com.android.wm.shell.transition.Transitions.TRANSIT_EXIT_PIP; 27 import static com.android.wm.shell.transition.Transitions.TRANSIT_RESIZE_PIP; 57 import com.android.wm.shell.transition.Transitions; 109 private Transitions.TransitionFinishCallback mFinishCallback; 115 @NonNull Transitions transitions, in PipTransition() 189 @NonNull Transitions.TransitionFinishCallback finishCallback) {} in mergeAnimation() 200 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startAnimation() 251 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startResizeAnimation() 284 @NonNull Transitions.TransitionFinishCallback finishCallback) { in handleSwipePipToHomeTransition() 366 @NonNull Transitions.TransitionFinishCallback finishCallback) { in startBoundsTypeEnterAnimation() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/tracing/ |
D | TransitionTracer.java | 19 import com.android.wm.shell.transition.Transitions; 28 void logDispatched(int transitionId, Transitions.TransitionHandler handler); in logDispatched()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/ |
D | TaskStackTransitionObserver.kt | 29 import com.android.wm.shell.transition.Transitions in <lambda>() 40 private val transitions: Lazy<Transitions>, in <lambda>() 42 ) : Transitions.TransitionObserver { in <lambda>() 50 if (Transitions.ENABLE_SHELL_TRANSITIONS) { in <lambda>()
|