Home
last modified time | relevance | path

Searched refs:transit (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfacePlacer.java242 int transit = mService.mAppTransition.getAppTransition(); in handleAppTransitionReadyLocked() local
243 if (mService.mSkipAppTransitionAnimation && !isKeyguardGoingAwayTransit(transit)) { in handleAppTransitionReadyLocked()
244 transit = AppTransition.TRANSIT_UNSET; in handleAppTransitionReadyLocked()
326 transit = maybeUpdateTransitToWallpaper(transit, openingAppHasWallpaper, in handleAppTransitionReadyLocked()
337 processApplicationsAnimatingInPlace(transit); in handleAppTransitionReadyLocked()
340 handleClosingApps(transit, animLp, voiceInteraction, mTmpLayerAndToken); in handleAppTransitionReadyLocked()
344 final AppWindowToken topOpeningApp = handleOpeningApps(transit, in handleAppTransitionReadyLocked()
347 mService.mAppTransition.setLastAppTransition(transit, topOpeningApp, topClosingApp); in handleAppTransitionReadyLocked()
355 int layoutRedo = mService.mAppTransition.goodToGo(transit, openingAppAnimator, in handleAppTransitionReadyLocked()
357 handleNonAppWindowsInTransition(transit, flags); in handleAppTransitionReadyLocked()
[all …]
DAppTransition.java304 boolean isTransitionEqual(int transit) { in isTransitionEqual() argument
305 return mNextAppTransition == transit; in isTransitionEqual()
312 private void setAppTransition(int transit, int flags) { in setAppTransition() argument
313 mNextAppTransition = transit; in setAppTransition()
319 void setLastAppTransition(int transit, AppWindowToken openingApp, AppWindowToken closingApp) { in setLastAppTransition() argument
320 mLastUsedAppTransition = transit; in setLastAppTransition()
404 int goodToGo(int transit, AppWindowAnimator topOpeningAppAnimator, in goodToGo() argument
410 int redoLayout = notifyAppTransitionStartingLocked(transit, in goodToGo()
416 .notifyAppTransitionStarting(openingApps, transit); in goodToGo()
420 if (transit == TRANSIT_DOCK_TASK_FROM_RECENTS && !mProlongedAnimationsEnded) { in goodToGo()
[all …]
DWindowStateAnimator.java1748 final int transit; in applyEnterAnimationLocked() local
1751 transit = WindowManagerPolicy.TRANSIT_ENTER; in applyEnterAnimationLocked()
1753 transit = WindowManagerPolicy.TRANSIT_SHOW; in applyEnterAnimationLocked()
1755 applyAnimationLocked(transit, true); in applyEnterAnimationLocked()
1759 mService.mAccessibilityController.onWindowTransitionLocked(mWin, transit); in applyEnterAnimationLocked()
1772 boolean applyAnimationLocked(int transit, boolean isEntrance) { in applyAnimationLocked() argument
1785 int anim = mPolicy.selectAnimationLw(mWin, transit); in applyAnimationLocked()
1791 switch (transit) { in applyAnimationLocked()
1813 + " transit=" + transit in applyAnimationLocked()
DAppWindowAnimator.java125 int parentHeight, boolean skipFirstFrame, int stackClip, int transit, in setAnimation() argument
156 mTransit = transit; in setAnimation()
DAppWindowToken.java341 boolean visible, int transit, boolean performLayout, boolean isVoiceInteraction) { in setVisibility() argument
364 if (transit != AppTransition.TRANSIT_UNSET) { in setVisibility()
368 if (mService.applyAnimationLocked(this, lp, transit, visible, isVoiceInteraction)) { in setVisibility()
375 accessibilityController.onAppWindowTransitionLocked(window, transit); in setVisibility()
DWindowManagerService.java936 public void onAppTransitionCancelledLocked(int transit) {
2194 int transit = WindowManagerPolicy.TRANSIT_EXIT; in tryStartExitingAnimation() local
2196 transit = WindowManagerPolicy.TRANSIT_PREVIEW_DONE; in tryStartExitingAnimation()
2198 if (win.isWinVisibleLw() && winAnimator.applyAnimationLocked(transit, false)) { in tryStartExitingAnimation()
2226 mAccessibilityController.onWindowTransitionLocked(win, transit); in tryStartExitingAnimation()
2304 int transit, boolean enter, boolean isVoiceInteraction) { in applyAnimationLocked() argument
2347 + " transit=" + AppTransition.appTransitionToString(transit) + " enter=" + enter in applyAnimationLocked()
2350 Animation a = mAppTransition.loadAnimation(lp, transit, enter, displayConfig.uiMode, in applyAnimationLocked()
2360 transit, mAppTransition.getTransitFlags()); in applyAnimationLocked()
2635 public void prepareAppTransition(int transit, boolean alwaysKeepCurrent) { in prepareAppTransition() argument
[all …]
DWindowState.java1855 final int transit = (!startingWindow) ? TRANSIT_EXIT : TRANSIT_PREVIEW_DONE; in removeIfPossible() local
1858 if (mWinAnimator.applyAnimationLocked(transit, false)) { in removeIfPossible()
1863 mService.mAccessibilityController.onWindowTransitionLocked(this, transit); in removeIfPossible()
/frameworks/base/core/java/android/view/
DWindowManagerInternal.java105 public void onAppTransitionCancelledLocked(int transit) {} in onAppTransitionCancelledLocked() argument
122 public int onAppTransitionStartingLocked(int transit, IBinder openToken, IBinder closeToken, in onAppTransitionStartingLocked() argument
DIWindowManager.aidl92 void prepareAppTransition(int transit, boolean alwaysKeepCurrent); in prepareAppTransition() argument
DWindowManagerPolicy.java1018 public int selectAnimationLw(WindowState win, int transit); in selectAnimationLw() argument
/frameworks/base/services/core/java/com/android/server/policy/
DStatusBarController.java59 public int onAppTransitionStartingLocked(int transit, IBinder openToken,
78 public void onAppTransitionCancelledLocked(int transit) {
DPhoneWindowManager.java2116 public int onAppTransitionStartingLocked(int transit, IBinder openToken, in init()
2119 return handleStartTransitionForKeyguardLw(transit, openAnimation); in init()
2123 public void onAppTransitionCancelledLocked(int transit) { in init()
2124 handleStartTransitionForKeyguardLw(transit, null /* transit */); in init()
3081 public int selectAnimationLw(WindowState win, int transit) { in selectAnimationLw() argument
3083 + ": transit=" + transit); in selectAnimationLw()
3091 if (transit == TRANSIT_EXIT in selectAnimationLw()
3092 || transit == TRANSIT_HIDE) { in selectAnimationLw()
3094 } else if (transit == TRANSIT_ENTER in selectAnimationLw()
3095 || transit == TRANSIT_SHOW) { in selectAnimationLw()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java107 public void notifyTransitionCancelled(int transit) { in notifyTransitionCancelled() argument
108 mListener.onAppTransitionCancelledLocked(transit); in notifyTransitionCancelled()
111 public void notifyTransitionStarting(int transit) { in notifyTransitionStarting() argument
112 mListener.onAppTransitionStartingLocked(transit, null, null, null, null); in notifyTransitionStarting()
DTestWindowManagerPolicy.java230 public int selectAnimationLw(WindowState win, int transit) {
/frameworks/base/core/java/android/app/
DFragmentTransaction.java208 public abstract FragmentTransaction setTransition(@Transit int transit); in setTransition() argument
DFragmentManager.java1078 Animator loadAnimator(Fragment fragment, int transit, boolean enter, in loadAnimator() argument
1080 Animator animObj = fragment.onCreateAnimator(transit, enter, fragment.getNextAnim()); in loadAnimator()
1093 if (transit == 0) { in loadAnimator()
1097 int styleIndex = transitToStyleIndex(transit, enter); in loadAnimator()
1138 void moveToState(Fragment f, int newState, int transit, int transitionStyle, in moveToState() argument
1365 anim = loadAnimator(f, transit, false, in moveToState()
3525 public static int reverseTransit(int transit) { in reverseTransit() argument
3527 switch (transit) { in reverseTransit()
3542 public static int transitToStyleIndex(int transit, boolean enter) { in transitToStyleIndex() argument
3544 switch (transit) { in transitToStyleIndex()
DFragment.java1584 public Animator onCreateAnimator(int transit, boolean enter, int nextAnim) {
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTransaction.java257 public abstract FragmentTransaction setTransition(@Transit int transit); in setTransition() argument
DFragmentManager.java1121 AnimationOrAnimator loadAnimation(Fragment fragment, int transit, boolean enter, in loadAnimation() argument
1124 Animation animation = fragment.onCreateAnimation(transit, enter, nextAnim); in loadAnimation()
1129 Animator animator = fragment.onCreateAnimator(transit, enter, nextAnim); in loadAnimation()
1174 if (transit == 0) { in loadAnimation()
1178 int styleIndex = transitToStyleIndex(transit, enter); in loadAnimation()
1281 void moveToState(Fragment f, int newState, int transit, int transitionStyle, in moveToState() argument
1512 anim = loadAnimation(f, transit, false, in moveToState()
3630 public static int reverseTransit(int transit) { in reverseTransit() argument
3632 switch (transit) { in reverseTransit()
3654 public static int transitToStyleIndex(int transit, boolean enter) { in transitToStyleIndex() argument
[all …]
DFragment.java1360 public Animation onCreateAnimation(int transit, boolean enter, int nextAnim) {
1380 public Animator onCreateAnimator(int transit, boolean enter, int nextAnim) {
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java2878 int transit = TRANSIT_ACTIVITY_OPEN; in startActivityLocked() local
2881 transit = TRANSIT_TASK_OPEN_BEHIND; in startActivityLocked()
2889 transit = TRANSIT_TASK_OPEN; in startActivityLocked()
2892 mWindowManager.prepareAppTransition(transit, keepCurTransition); in startActivityLocked()
3654 final int transit = endTask ? TRANSIT_TASK_CLOSE : TRANSIT_ACTIVITY_CLOSE; in finishActivityLocked() local
3662 mWindowManager.prepareAppTransition(transit, false); in finishActivityLocked()
3682 prepareActivityHideTransitionAnimation(r, transit); in finishActivityLocked()
3702 prepareActivityHideTransitionAnimation(taskOverlay, transit); in finishActivityLocked()
3716 private void prepareActivityHideTransitionAnimation(ActivityRecord r, int transit) { in prepareActivityHideTransitionAnimation() argument
3717 mWindowManager.prepareAppTransition(transit, false); in prepareActivityHideTransitionAnimation()
[all …]
DActivityManagerService.java3604 int transit = mWindowManager.getPendingAppTransition(); in isNextTransitionForward() local
3605 return transit == TRANSIT_ACTIVITY_OPEN in isNextTransitionForward()
3606 || transit == TRANSIT_TASK_OPEN in isNextTransitionForward()
3607 || transit == TRANSIT_TASK_TO_FRONT; in isNextTransitionForward()
/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentAnimationTest.java507 public Animation onCreateAnimation(int transit, boolean enter, int nextAnim) { in onCreateAnimation() argument
DFragmentAnimatorTest.java563 public Animator onCreateAnimator(int transit, boolean enter, int nextAnim) { in onCreateAnimator() argument