/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransitionController.java | 109 int transit = appTransition.getAppTransition(); in handleAppTransitionReady() local 110 if (mDisplayContent.mSkipAppTransitionAnimation && !isKeyguardGoingAwayTransit(transit)) { in handleAppTransitionReady() 111 transit = WindowManager.TRANSIT_UNSET; in handleAppTransitionReady() 148 transit = maybeUpdateTransitToTranslucentAnim(transit); in handleAppTransitionReady() 149 transit = maybeUpdateTransitToWallpaper(transit, openingAppHasWallpaper, in handleAppTransitionReady() 160 ? findAnimLayoutParamsToken(transit, activityTypes) in handleAppTransitionReady() 172 overrideWithRemoteAnimationIfSet(animLpToken, transit, activityTypes); in handleAppTransitionReady() 181 processApplicationsAnimatingInPlace(transit); in handleAppTransitionReady() 183 handleClosingApps(transit, animLp, voiceInteraction); in handleAppTransitionReady() 184 handleOpeningApps(transit, animLp, voiceInteraction); in handleAppTransitionReady() [all …]
|
D | AppTransition.java | 325 boolean isTransitionEqual(@TransitionType int transit) { in isTransitionEqual() argument 326 return mNextAppTransition == transit; in isTransitionEqual() 333 private void setAppTransition(int transit, int flags) { in setAppTransition() argument 334 mNextAppTransition = transit; in setAppTransition() 340 void setLastAppTransition(int transit, AppWindowToken openingApp, AppWindowToken closingApp, in setLastAppTransition() argument 342 mLastUsedAppTransition = transit; in setLastAppTransition() 432 int goodToGo(int transit, AppWindowToken topOpeningApp, ArraySet<AppWindowToken> openingApps) { in goodToGo() argument 439 int redoLayout = notifyAppTransitionStartingLocked(transit, in goodToGo() 446 .notifyAppTransitionStarting(openingApps, transit); in goodToGo() 465 final int transit = mNextAppTransition; in freeze() local [all …]
|
D | StatusBarController.java | 64 public int onAppTransitionStartingLocked(int transit, long duration, 77 public void onAppTransitionCancelledLocked(int transit) {
|
D | WindowManagerInternal.java | 114 public void onAppTransitionCancelledLocked(int transit) {} in onAppTransitionCancelledLocked() argument 132 public int onAppTransitionStartingLocked(int transit, long duration, in onAppTransitionStartingLocked() argument
|
D | WindowStateAnimator.java | 1299 final int transit; in applyEnterAnimationLocked() local 1302 transit = WindowManagerPolicy.TRANSIT_ENTER; in applyEnterAnimationLocked() 1304 transit = WindowManagerPolicy.TRANSIT_SHOW; in applyEnterAnimationLocked() 1310 applyAnimationLocked(transit, true); in applyEnterAnimationLocked() 1314 mService.mAccessibilityController.onWindowTransitionLocked(mWin, transit); in applyEnterAnimationLocked() 1327 boolean applyAnimationLocked(int transit, boolean isEntrance) { in applyAnimationLocked() argument 1346 int anim = mWin.getDisplayContent().getDisplayPolicy().selectAnimationLw(mWin, transit); in applyAnimationLocked() 1352 switch (transit) { in applyAnimationLocked() 1375 + " transit=" + transit in applyAnimationLocked()
|
D | DisplayPolicy.java | 1035 public int selectAnimationLw(WindowState win, int transit) { in selectAnimationLw() argument 1037 + ": transit=" + transit); in selectAnimationLw() 1045 if (transit == TRANSIT_EXIT in selectAnimationLw() 1046 || transit == TRANSIT_HIDE) { in selectAnimationLw() 1048 } else if (transit == TRANSIT_ENTER in selectAnimationLw() 1049 || transit == TRANSIT_SHOW) { in selectAnimationLw() 1058 if (transit == TRANSIT_EXIT in selectAnimationLw() 1059 || transit == TRANSIT_HIDE) { in selectAnimationLw() 1065 } else if (transit == TRANSIT_ENTER in selectAnimationLw() 1066 || transit == TRANSIT_SHOW) { in selectAnimationLw() [all …]
|
D | AppWindowToken.java | 612 boolean visible, int transit, boolean performLayout, boolean isVoiceInteraction) { in commitVisibility() argument 635 if (transit != WindowManager.TRANSIT_UNSET) { in commitVisibility() 638 } else if (applyAnimationLocked(lp, transit, visible, isVoiceInteraction)) { in commitVisibility() 644 accessibilityController.onAppWindowTransitionLocked(window, transit); in commitVisibility() 2486 boolean shouldAnimate(int transit) { in shouldAnimate() argument 2489 final boolean allowSplitScreenPrimaryAnimation = transit != TRANSIT_WALLPAPER_OPEN; in shouldAnimate() 2542 boolean applyAnimationLocked(WindowManager.LayoutParams lp, int transit, boolean enter, in applyAnimationLocked() argument 2545 if (mWmService.mDisableTransitionAnimation || !shouldAnimate(transit)) { in applyAnimationLocked() 2570 final boolean isChanging = AppTransition.isChangeTransit(transit) && enter in applyAnimationLocked() 2597 mTransit = transit; in applyAnimationLocked() [all …]
|
D | ActivityStack.java | 3222 int transit = TRANSIT_ACTIVITY_OPEN; in startActivityLocked() local 3225 transit = TRANSIT_TASK_OPEN_BEHIND; in startActivityLocked() 3227 transit = TRANSIT_SHOW_SINGLE_TASK_DISPLAY; in startActivityLocked() 3237 transit = TRANSIT_TASK_OPEN; in startActivityLocked() 3240 dc.prepareAppTransition(transit, keepCurTransition); in startActivityLocked() 4027 final int transit = endTask ? TRANSIT_TASK_CLOSE : TRANSIT_ACTIVITY_CLOSE; in finishActivityLocked() local 4035 getDisplay().mDisplayContent.prepareAppTransition(transit, false); in finishActivityLocked() 4063 prepareActivityHideTransitionAnimation(r, transit); in finishActivityLocked() 4083 prepareActivityHideTransitionAnimation(taskOverlay, transit); in finishActivityLocked() 4097 private void prepareActivityHideTransitionAnimation(ActivityRecord r, int transit) { in prepareActivityHideTransitionAnimation() argument [all …]
|
D | RecentsAnimationController.java | 144 public int onAppTransitionStartingLocked(int transit, long duration, 151 public void onAppTransitionCancelledLocked(int transit) {
|
D | DisplayContent.java | 4977 void prepareAppTransition(@WindowManager.TransitionType int transit, in prepareAppTransition() argument 4979 prepareAppTransition(transit, alwaysKeepCurrent, 0 /* flags */, false /* forceOverride */); in prepareAppTransition() 4982 void prepareAppTransition(@WindowManager.TransitionType int transit, in prepareAppTransition() argument 4986 transit, alwaysKeepCurrent, flags, forceOverride); in prepareAppTransition() 5036 final int transit = mAppTransition.getAppTransition(); in isNextTransitionForward() local 5037 return transit == TRANSIT_ACTIVITY_OPEN in isNextTransitionForward() 5038 || transit == TRANSIT_TASK_OPEN in isNextTransitionForward() 5039 || transit == TRANSIT_TASK_TO_FRONT; in isNextTransitionForward()
|
D | WindowManagerService.java | 923 public void onAppTransitionCancelledLocked(int transit) { 2329 int transit = WindowManagerPolicy.TRANSIT_EXIT; in tryStartExitingAnimation() local 2331 transit = WindowManagerPolicy.TRANSIT_PREVIEW_DONE; in tryStartExitingAnimation() 2333 if (win.isWinVisibleLw() && winAnimator.applyAnimationLocked(transit, false)) { in tryStartExitingAnimation() 2358 mAccessibilityController.onWindowTransitionLocked(win, transit); in tryStartExitingAnimation() 2524 public void prepareAppTransition(@TransitionType int transit, boolean alwaysKeepCurrent) { in prepareAppTransition() argument 2528 getDefaultDisplayContentLocked().prepareAppTransition(transit, in prepareAppTransition()
|
D | WindowState.java | 2051 final int transit = (!startingWindow) ? TRANSIT_EXIT : TRANSIT_PREVIEW_DONE; in removeIfPossible() local 2054 if (mWinAnimator.applyAnimationLocked(transit, false)) { in removeIfPossible() 2063 mWmService.mAccessibilityController.onWindowTransitionLocked(this, transit); in removeIfPossible()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | BoundsAnimationControllerTests.java | 106 public void notifyTransitionCancelled(int transit) { in notifyTransitionCancelled() argument 107 mListener.onAppTransitionCancelledLocked(transit); in notifyTransitionCancelled() 110 public void notifyTransitionStarting(int transit) { in notifyTransitionStarting() argument 111 mListener.onAppTransitionStartingLocked(transit, 0, 0, 0); in notifyTransitionStarting()
|
/frameworks/base/core/java/android/app/ |
D | FragmentTransaction.java | 217 public abstract FragmentTransaction setTransition(@Transit int transit); in setTransition() argument
|
D | FragmentManager.java | 1105 Animator loadAnimator(Fragment fragment, int transit, boolean enter, in loadAnimator() argument 1107 Animator animObj = fragment.onCreateAnimator(transit, enter, fragment.getNextAnim()); in loadAnimator() 1120 if (transit == 0) { in loadAnimator() 1124 int styleIndex = transitToStyleIndex(transit, enter); in loadAnimator() 1165 void moveToState(Fragment f, int newState, int transit, int transitionStyle, in moveToState() argument 1392 anim = loadAnimator(f, transit, false, in moveToState() 3476 public static int reverseTransit(int transit) { in reverseTransit() argument 3478 switch (transit) { in reverseTransit() 3493 public static int transitToStyleIndex(int transit, boolean enter) { in transitToStyleIndex() argument 3495 switch (transit) { in transitToStyleIndex()
|
D | Fragment.java | 1506 public Animator onCreateAnimator(int transit, boolean enter, int nextAnim) {
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 97 void prepareAppTransition(int transit, boolean alwaysKeepCurrent); in prepareAppTransition() argument
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 1949 public int onAppTransitionStartingLocked(int transit, long duration, in init() 1951 return handleStartTransitionForKeyguardLw(transit, duration); in init() 1955 public void onAppTransitionCancelledLocked(int transit) { in init() 1956 handleStartTransitionForKeyguardLw(transit, 0 /* duration */); in init() 3280 private int handleStartTransitionForKeyguardLw(int transit, long duration) { in handleStartTransitionForKeyguardLw() argument 3289 if (AppTransition.isKeyguardGoingAwayTransit(transit)) { in handleStartTransitionForKeyguardLw()
|