/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowSurfacePlacer.java | 256 int transit = mService.mAppTransition.getAppTransition(); 257 if (mService.mSkipAppTransitionAnimation && !isKeyguardGoingAwayTransit(transit)) { 258 transit = WindowManager.TRANSIT_UNSET; 293 transit = maybeUpdateTransitToTranslucentAnim(transit); 294 transit = maybeUpdateTransitToWallpaper(transit, openingAppHasWallpaper, 304 ? findAnimLayoutParamsToken(transit, activityTypes) 308 overrideWithRemoteAnimationIfSet(animLpToken, transit, activityTypes); 316 processApplicationsAnimatingInPlace(transit); 370 overrideWithRemoteAnimationIfSet(AppWindowToken animLpToken, int transit, ArraySet<Integer> activityTypes) argument 391 findAnimLayoutParamsToken(@ransitionType int transit, ArraySet<Integer> activityTypes) argument 455 handleOpeningApps(int transit, LayoutParams animLp, boolean voiceInteraction) argument 499 handleClosingApps(int transit, LayoutParams animLp, boolean voiceInteraction, LayerAndToken layerAndToken) argument 536 handleNonAppWindowsInTransition(int transit, int flags) argument 631 maybeUpdateTransitToWallpaper(int transit, boolean openingAppHasWallpaper, boolean closingAppHasWallpaper) argument 718 maybeUpdateTransitToTranslucentAnim(int transit) argument 783 processApplicationsAnimatingInPlace(int transit) argument [all...] |
H A D | AppTransition.java | 301 boolean isTransitionEqual(@TransitionType int transit) { argument 302 return mNextAppTransition == transit; 309 private void setAppTransition(int transit, int flags) { argument 310 mNextAppTransition = transit; 316 void setLastAppTransition(int transit, AppWindowToken openingApp, AppWindowToken closingApp) { argument 317 mLastUsedAppTransition = transit; 406 int goodToGo(int transit, AppWindowToken topOpeningApp, argument 415 int redoLayout = notifyAppTransitionStartingLocked(transit, 424 .notifyAppTransitionStarting(openingApps, transit); 443 final int transit 488 notifyAppTransitionCancelledLocked(int transit) argument 494 notifyAppTransitionStartingLocked(int transit, IBinder openToken, IBinder closeToken, long duration, long statusBarAnimationStartTime, long statusBarAnimationDuration) argument 541 loadAnimationAttr(LayoutParams lp, int animAttr, int transit) argument 580 updateToTranslucentAnimIfNeeded(int anim, int transit) argument 664 createScaleUpAnimationLocked(int transit, boolean enter, Rect containingFrame) argument 793 createClipRevealAnimationLocked(int transit, boolean enter, Rect appFrame, Rect displayFrame) argument 930 prepareThumbnailAnimation(Animation a, int appWidth, int appHeight, int transit) argument 1164 createAspectScaledThumbnailEnterExitAnimationLocked(int thumbTransitState, int uiMode, int orientation, int transit, Rect containingFrame, Rect contentInsets, @Nullable Rect surfaceInsets, @Nullable Rect stableInsets, boolean freeform, int taskId) argument 1366 createThumbnailScaleAnimationLocked(int appWidth, int appHeight, int transit, GraphicBuffer thumbnailHeader) argument 1408 createThumbnailEnterExitAnimationLocked(int thumbTransitState, Rect containingFrame, int transit, int taskId) argument 1552 loadAnimation(LayoutParams lp, int transit, boolean enter, int uiMode, int orientation, Rect frame, Rect displayFrame, Rect insets, @Nullable Rect surfaceInsets, @Nullable Rect stableInsets, boolean isVoiceInteraction, boolean freeform, int taskId) argument 1729 loadKeyguardExitAnimation(int transit) argument 2132 prepareAppTransitionLocked(@ransitionType int transit, boolean alwaysKeepCurrent, @TransitionFlags int flags, boolean forceOverride) argument 2175 isKeyguardGoingAwayTransit(int transit) argument 2180 isKeyguardTransit(int transit) argument 2185 isTaskTransit(int transit) argument 2192 isTaskOpenTransit(int transit) argument 2198 isActivityTransit(int transit) argument [all...] |
H A D | WindowManagerInternal.java | 112 * @param transit transition type indicating what kind of transition got cancelled 114 public void onAppTransitionCancelledLocked(int transit) {} argument 119 * @param transit transition type indicating what kind of transition gets run, must be one 134 public int onAppTransitionStartingLocked(int transit, IBinder openToken, IBinder closeToken, argument
|
H A D | AppWindowToken.java | 388 boolean visible, int transit, boolean performLayout, boolean isVoiceInteraction) { 410 if (transit != WindowManager.TRANSIT_UNSET) { 411 if (applyAnimationLocked(lp, transit, visible, isVoiceInteraction)) { 418 accessibilityController.onAppWindowTransitionLocked(window, transit); 1711 private boolean shouldAnimate(int transit) { argument 1714 final boolean allowSplitScreenPrimaryAnimation = transit != TRANSIT_WALLPAPER_OPEN; 1722 boolean applyAnimationLocked(WindowManager.LayoutParams lp, int transit, boolean enter, argument 1725 if (mService.mDisableTransitionAnimation || !shouldAnimate(transit)) { 1755 final Animation a = loadAnimation(lp, transit, enter, isVoiceInteraction); 1766 mTransit = transit; 387 setVisibility(WindowManager.LayoutParams lp, boolean visible, int transit, boolean performLayout, boolean isVoiceInteraction) argument 1786 loadAnimation(WindowManager.LayoutParams lp, int transit, boolean enter, boolean isVoiceInteraction) argument [all...] |
H A D | WindowStateAnimator.java | 1314 final int transit; 1317 transit = WindowManagerPolicy.TRANSIT_ENTER; 1319 transit = WindowManagerPolicy.TRANSIT_SHOW; 1321 applyAnimationLocked(transit, true); 1325 mService.mAccessibilityController.onWindowTransitionLocked(mWin, transit); 1331 * @param transit If AppTransition.TRANSIT_PREVIEW_DONE and the app window has been drawn 1338 boolean applyAnimationLocked(int transit, boolean isEntrance) { argument 1357 int anim = mPolicy.selectAnimationLw(mWin, transit); 1363 switch (transit) { 1385 + " transit [all...] |
H A D | WindowManagerService.java | 850 public void onAppTransitionCancelledLocked(int transit) { 2196 int transit = WindowManagerPolicy.TRANSIT_EXIT; 2198 transit = WindowManagerPolicy.TRANSIT_PREVIEW_DONE; 2200 if (win.isWinVisibleLw() && winAnimator.applyAnimationLocked(transit, false)) { 2225 mAccessibilityController.onWindowTransitionLocked(win, transit); 2567 public void prepareAppTransition(@TransitionType int transit, boolean alwaysKeepCurrent) { argument 2568 prepareAppTransition(transit, alwaysKeepCurrent, 0 /* flags */, false /* forceOverride */); 2572 * @param transit What kind of transition is happening. Use one of the constants 2578 * @param forceOverride Always override the transit, not matter what was set previously. 2580 public void prepareAppTransition(@TransitionType int transit, boolea argument [all...] |
H A D | WindowState.java | 2019 final int transit = (!startingWindow) ? TRANSIT_EXIT : TRANSIT_PREVIEW_DONE; 2022 if (mWinAnimator.applyAnimationLocked(transit, false)) { 2032 mService.mAccessibilityController.onWindowTransitionLocked(this, transit);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | StatusBarController.java | 57 public int onAppTransitionStartingLocked(int transit, IBinder openToken, 74 public void onAppTransitionCancelledLocked(int transit) {
|
H A D | PhoneWindowManager.java | 2279 public int onAppTransitionStartingLocked(int transit, IBinder openToken, 2282 return handleStartTransitionForKeyguardLw(transit, duration); 2286 public void onAppTransitionCancelledLocked(int transit) { 2287 handleStartTransitionForKeyguardLw(transit, 0 /* duration */); 3339 public int selectAnimationLw(WindowState win, int transit) { argument 3341 + ": transit=" + transit); 3349 if (transit == TRANSIT_EXIT 3350 || transit == TRANSIT_HIDE) { 3352 } else if (transit 3411 selectDockedDividerAnimationLw(WindowState win, int transit) argument 4241 handleStartTransitionForKeyguardLw(int transit, long duration) argument [all...] |
H A D | WindowManagerPolicy.java | 1046 * @param transit What is happening to the window: {@link #TRANSIT_ENTER}, 1052 public int selectAnimationLw(WindowState win, int transit); argument
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentTransaction.java | 217 public abstract FragmentTransaction setTransition(@Transit int transit); argument 230 * Set a custom style resource that will be used for resolving transit
|
H A D | FragmentManager.java | 1100 Animator loadAnimator(Fragment fragment, int transit, boolean enter, argument 1102 Animator animObj = fragment.onCreateAnimator(transit, enter, fragment.getNextAnim()); 1115 if (transit == 0) { 1119 int styleIndex = transitToStyleIndex(transit, enter); 1160 void moveToState(Fragment f, int newState, int transit, int transitionStyle, argument 1387 anim = loadAnimator(f, transit, false, 3470 public static int reverseTransit(int transit) { argument 3472 switch (transit) { 3487 public static int transitToStyleIndex(int transit, boolean enter) { argument 3489 switch (transit) { [all...] |
H A D | Fragment.java | 1494 public Animator onCreateAnimator(int transit, boolean enter, int nextAnim) { argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | BoundsAnimationControllerTests.java | 108 public void notifyTransitionCancelled(int transit) { argument 109 mListener.onAppTransitionCancelledLocked(transit); 112 public void notifyTransitionStarting(int transit) { argument 113 mListener.onAppTransitionStartingLocked(transit, null, null, 0, 0, 0);
|
H A D | TestWindowManagerPolicy.java | 191 public int selectAnimationLw(WindowState win, int transit) { argument
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
H A D | FragmentTransaction.java | 276 public abstract FragmentTransaction setTransition(@Transit int transit); argument 279 * Set a custom style resource that will be used for resolving transit
|
H A D | FragmentManager.java | 1158 AnimationOrAnimator loadAnimation(Fragment fragment, int transit, boolean enter, argument 1161 Animation animation = fragment.onCreateAnimation(transit, enter, nextAnim); 1166 Animator animator = fragment.onCreateAnimator(transit, enter, nextAnim); 1211 if (transit == 0) { 1215 int styleIndex = transitToStyleIndex(transit, enter); 1318 void moveToState(Fragment f, int newState, int transit, int transitionStyle, argument 1543 anim = loadAnimation(f, transit, false, 3652 public static int reverseTransit(int transit) { argument 3654 switch (transit) { 3676 public static int transitToStyleIndex(int transit, boolea argument [all...] |
H A D | Fragment.java | 1428 * @param transit The value set in {@link FragmentTransaction#setTransition(int)} or 0 if not 1437 public Animation onCreateAnimation(int transit, boolean enter, int nextAnim) { argument 1448 * @param transit The value set in {@link FragmentTransaction#setTransition(int)} or 0 if not 1457 public Animator onCreateAnimator(int transit, boolean enter, int nextAnim) { argument
|
/frameworks/base/core/java/android/view/ |
H A D | IWindowManager.aidl | 95 void prepareAppTransition(int transit, boolean alwaysKeepCurrent);
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | FragmentAnimationTest.java | 563 public Animation onCreateAnimation(int transit, boolean enter, int nextAnim) { argument 592 public Animation onCreateAnimation(int transit, final boolean enter, int nextAnim) { argument
|
H A D | FragmentAnimatorTest.java | 564 public Animator onCreateAnimator(int transit, boolean enter, int nextAnim) { argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStack.java | 2929 int transit = TRANSIT_ACTIVITY_OPEN; 2932 transit = TRANSIT_TASK_OPEN_BEHIND; 2942 transit = TRANSIT_TASK_OPEN; 2945 mWindowManager.prepareAppTransition(transit, keepCurTransition); 3721 final int transit = endTask ? TRANSIT_TASK_CLOSE : TRANSIT_ACTIVITY_CLOSE; 3729 mWindowManager.prepareAppTransition(transit, false); 3749 prepareActivityHideTransitionAnimation(r, transit); 3769 prepareActivityHideTransitionAnimation(taskOverlay, transit); 3783 private void prepareActivityHideTransitionAnimation(ActivityRecord r, int transit) { argument 3784 mWindowManager.prepareAppTransition(transit, fals 4518 updateTransitLocked(int transit, ActivityOptions options) argument [all...] |
H A D | ActivityManagerService.java | 4026 int transit = mWindowManager.getPendingAppTransition(); 4027 return transit == TRANSIT_ACTIVITY_OPEN 4028 || transit == TRANSIT_TASK_OPEN 4029 || transit == TRANSIT_TASK_TO_FRONT; [all...] |