Home
last modified time | relevance | path

Searched refs:TransitionUtil (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DRemoteAnimationTargetCompat.java25 import com.android.wm.shell.shared.TransitionUtil;
46 TransitionUtil.LeafTaskFilter taskFilter = new TransitionUtil.LeafTaskFilter(); in wrapApps()
68 ? TransitionUtil.isWallpaper(change) : TransitionUtil.isNonApp(change); in wrapNonApps()
78 if (TransitionUtil.isOrderOnly(change)) continue;
80 out.add(TransitionUtil.newTarget(
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationRunner.java50 import com.android.wm.shell.shared.TransitionUtil;
212 if (TransitionUtil.isClosingType(info.getType())) { in createAnimationAdapters()
248 if (TransitionUtil.isOpeningType(change.getMode())) { in createOpenCloseAnimationAdapters()
282 TransitionUtil.getRootFor(change, info)); in createOpenCloseAnimationAdapters()
313 if (!TransitionUtil.isClosingType(closingChange.getMode())) { in shouldUseSnapshotAnimationForClosingChange()
345 if (TransitionUtil.isOpeningType(adapter.mChange.getMode())) { in addEdgeExtensionIfNeeded()
379 wholeAnimationBounds, TransitionUtil.getRootFor(change, info)); in createOpenCloseAnimationAdapter()
416 if (parentChange != null && TransitionUtil.isOpeningType(parentChange.getMode())) { in createChangeAnimationAdapters()
448 final TransitionInfo.Root root = TransitionUtil.getRootFor(change, info); in createChangeAnimationAdapters()
484 } else if (TransitionUtil.isClosingType(change.getMode())) { in createChangeAnimationAdapters()
[all …]
DActivityEmbeddingAnimationSpec.java42 import com.android.wm.shell.shared.TransitionUtil;
79 final float alpha = TransitionUtil.isClosingType(change.getMode()) ? 0f : 1f; in createNoopAnimation()
205 final boolean isEnter = TransitionUtil.isOpeningType(change.getMode()); in loadOpenAnimation()
232 final boolean isEnter = TransitionUtil.isOpeningType(change.getMode()); in loadCloseAnimation()
DActivityEmbeddingAnimationAdapter.java32 import com.android.wm.shell.shared.TransitionUtil;
106 if (TransitionUtil.isClosingType(change.getMode())) { in ActivityEmbeddingAnimationAdapter()
DActivityEmbeddingController.java44 import com.android.wm.shell.shared.TransitionUtil;
190 if (!TransitionUtil.isClosingType(change.getMode())) { in handleNonEmbeddedChanges()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentsTransitionHandler.java70 import com.android.wm.shell.shared.TransitionUtil;
454 if (TransitionUtil.isWallpaper(change)) continue; in start()
455 if (TransitionUtil.isClosingType(change.getMode())) { in start()
487 TransitionUtil.LeafTaskFilter leafTaskFilter = new TransitionUtil.LeafTaskFilter(); in start()
498 .mapToInt((change) -> TransitionUtil.rootIndexFor(change, info)) in start()
507 if (TransitionUtil.isWallpaper(change)) { in start()
508 final RemoteAnimationTarget target = TransitionUtil.newTarget(change, in start()
516 final RemoteAnimationTarget target = TransitionUtil.newTarget(change, in start()
519 if (TransitionUtil.isClosingType(change.getMode())) { in start()
549 } else if (TransitionUtil.isOpeningType(change.getMode())) { in start()
[all …]
DTaskStackTransitionObserver.kt27 import com.android.wm.shell.shared.TransitionUtil in <lambda>()
106 TransitionUtil.isOpeningType(typeList[index]) && in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultTransitionHandler.java113 import com.android.wm.shell.shared.TransitionUtil;
398 final int rootIdx = TransitionUtil.rootIndexFor(change, info); in startAnimation()
422 if (isDisplayRotationAnimationStarted && TransitionUtil.isClosingType(mode)) { in startAnimation()
435 if (!isTranslucent && TransitionUtil.isOpenOrCloseMode(mode) in startAnimation()
436 && TransitionUtil.isOpenOrCloseMode(info.getType()) in startAnimation()
445 && TransitionUtil.isOpeningType(info.getType())) { in startAnimation()
453 if (TransitionUtil.isOpeningType(mode)) { in startAnimation()
456 } else if (TransitionUtil.isClosingType(mode)) { in startAnimation()
460 } else if (isOnlyTranslucent && TransitionUtil.isOpeningType(info.getType()) in startAnimation()
461 && TransitionUtil.isClosingType(mode)) { in startAnimation()
[all …]
DHomeTransitionObserver.java37 import com.android.wm.shell.shared.TransitionUtil;
75 && (TransitionUtil.isOpenOrCloseMode(mode) || isBackGesture)) { in onTransitionReady()
76 notifyHomeVisibilityChanged(TransitionUtil.isOpeningType(mode) || isBackGesture); in onTransitionReady()
DCounterRotatorHelper.java31 import com.android.wm.shell.shared.TransitionUtil;
61 if (!TransitionUtil.isClosingType(change.getMode()) in handleClosingChanges()
DTransitionAnimationHelper.java60 import com.android.wm.shell.shared.TransitionUtil;
73 final boolean enter = TransitionUtil.isOpeningType(changeMode); in loadAttributeAnimation()
208 && !TransitionUtil.isOrderOnly(change)) { in getTransitionTypeFromInfo()
DTransitions.java42 import static com.android.wm.shell.shared.TransitionUtil.isClosingType;
43 import static com.android.wm.shell.shared.TransitionUtil.isOpeningType;
93 import com.android.wm.shell.shared.TransitionUtil;
615 if (isClosing || TransitionUtil.isOrderOnly(change)) { in calculateAnimLayer()
648 final TransitionInfo.Root root = TransitionUtil.getRootFor(change, info); in setupAnimHierarchy()
687 } else if (!TransitionUtil.isOrderOnly(change) && !change.hasFlags(FLAG_IS_OCCLUDED)) { in isAllNoAnimation()
702 if (!TransitionUtil.isOrderOnly(info.getChanges().get(i))) return false; in isAllOrderOnly()
DRemoteTransitionHandler.java45 import com.android.wm.shell.shared.TransitionUtil;
122 if (!Transitions.SHELL_TRANSITIONS_ROTATION && TransitionUtil.hasDisplayChange(info)) { in startAnimation()
DDefaultMixedHandler.java27 import static com.android.wm.shell.shared.TransitionUtil.isOpeningType;
51 import com.android.wm.shell.shared.TransitionUtil;
285 && TransitionUtil.isOpeningType(request.getType()) in handleRequest()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitScreenConstants.java26 import com.android.wm.shell.shared.TransitionUtil;
130 public static final int FLAG_IS_DIVIDER_BAR = TransitionUtil.FLAG_IS_DIVIDER_BAR;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblesTransitionObserver.java27 import com.android.wm.shell.shared.TransitionUtil;
54 || !TransitionUtil.isOpeningType(change.getMode()) in onTransitionReady()
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/
DTransitionUtil.java54 public class TransitionUtil { class
166 final boolean isOpening = TransitionUtil.isOpeningType(info.getType()); in setupLeash()
172 final int rootIdx = TransitionUtil.rootIndexFor(change, info); in setupLeash()
198 } else if (TransitionUtil.isOpeningType(mode)) { in setupLeash()
209 } else if (TransitionUtil.isClosingType(mode)) { in setupLeash()
231 final int rootIdx = TransitionUtil.rootIndexFor(change, info); in createLeash()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskViewTransitions.java40 import com.android.wm.shell.shared.TransitionUtil;
131 if (TransitionUtil.isClosingType(mPending.get(i).mType)) { in findPendingCloseTransition()
156 if (TransitionUtil.isOpeningType(mPending.get(i).mType)) { in findPendingOpeningTransition()
202 if (!TransitionUtil.isClosingType(request.getType())) return null; in handleRequest()
363 if (TransitionUtil.isClosingType(chg.getMode())) { in startAnimation()
390 } else if (TransitionUtil.isOpeningType(chg.getMode())) { in startAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeLoggerTransitionObserver.kt50 import com.android.wm.shell.shared.TransitionUtil in <lambda>()
220 TransitionUtil.isOpeningType(change.mode) -> true in <lambda>()
221 TransitionUtil.isClosingType(change.mode) -> false in <lambda>()
DDragToDesktopTransitionHandler.kt38 import com.android.wm.shell.shared.TransitionUtil in <lambda>()
314 val leafTaskFilter = TransitionUtil.LeafTaskFilter() in <lambda>()
316 if (TransitionUtil.isWallpaper(change)) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/
DRemoteTransitionTest.java53 import com.android.wm.shell.shared.TransitionUtil;
125 RemoteAnimationTarget wrapped = TransitionUtil.newTarget(
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
DUnfoldTransitionHandler.java38 import com.android.wm.shell.shared.TransitionUtil;
134 || TransitionUtil.isOpeningType(change.getMode())) in startAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransition.java74 import com.android.wm.shell.shared.TransitionUtil;
311 || !TransitionUtil.hasDisplayChange(info)) { in handleEnteringPipWithDisplayChange()
674 final TransitionInfo.Root root = TransitionUtil.getRootFor(pipChange, info); in startExitAnimation()
946 if (TransitionUtil.isOpeningType(change.getMode())) { in startEnterAnimation()
952 } else if (TransitionUtil.isClosingType(change.getMode())) { in startEnterAnimation()
1194 if (TransitionUtil.isOpeningType(mode) && change.getParent() == null) { in startExitToSplitAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipTransition.java74 import com.android.wm.shell.shared.TransitionUtil;
224 final TransitionInfo.Root root = TransitionUtil.getRootFor(pipChange, info); in startAnimation()
290 if (TransitionUtil.isOpeningType(change.getMode())) { in startAnimation()
333 if (TransitionUtil.isClosingType(change.getMode()) && change != pipTaskChange) { in startCloseAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenTransitions.java53 import com.android.wm.shell.shared.TransitionUtil;
146 final int rootIdx = TransitionUtil.rootIndexFor(change, info); in playInternalAnimation()
207 boolean isOpening = TransitionUtil.isOpeningType(info.getType()); in playInternalAnimation()

12