Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java267 void setLastAppTransition(@TransitionOldType int transit, ActivityRecord openingApp, in setLastAppTransition() argument
269 mLastUsedAppTransition = transit; in setLastAppTransition()
387 int goodToGo(@TransitionOldType int transit, ActivityRecord topOpeningApp) { in goodToGo() argument
402 mRemoteAnimationController.goodToGo(transit); in goodToGo()
403 } else if ((isTaskOpenTransitOld(transit) || transit == TRANSIT_OLD_WALLPAPER_CLOSE) in goodToGo()
540 private static int mapOpenCloseTransitTypes(int transit, boolean enter) { in mapOpenCloseTransitTypes() argument
542 switch (transit) { in mapOpenCloseTransitTypes()
630 Animation loadAnimationAttr(LayoutParams lp, int animAttr, int transit) { in loadAnimationAttr() argument
631 return mTransitionAnimation.loadAnimationAttr(lp, animAttr, transit); in loadAnimationAttr()
751 Animation loadAnimation(LayoutParams lp, int transit, boolean enter, int uiMode, in loadAnimation() argument
[all …]
DNonAppWindowAnimationAdapter.java68 DisplayContent displayContent, @WindowManager.TransitionOldType int transit, in startNonAppWindowAnimations() argument
72 if (shouldStartNonAppWindowAnimationsForKeyguardExit(transit)) { in startNonAppWindowAnimations()
75 } else if (shouldAttachNavBarToApp(service, displayContent, transit)) { in startNonAppWindowAnimations()
84 @WindowManager.TransitionOldType int transit) { in shouldStartNonAppWindowAnimationsForKeyguardExit()
85 return transit == TRANSIT_OLD_KEYGUARD_GOING_AWAY in shouldStartNonAppWindowAnimationsForKeyguardExit()
86 || transit == TRANSIT_OLD_KEYGUARD_GOING_AWAY_ON_WALLPAPER; in shouldStartNonAppWindowAnimationsForKeyguardExit()
90 DisplayContent displayContent, @WindowManager.TransitionOldType int transit) { in shouldAttachNavBarToApp() argument
91 return (transit == TRANSIT_OLD_TASK_OPEN || transit == TRANSIT_OLD_TASK_TO_FRONT in shouldAttachNavBarToApp()
92 || transit == TRANSIT_OLD_WALLPAPER_CLOSE) in shouldAttachNavBarToApp()
DAppTransitionController.java264 @TransitionOldType final int transit = getTransitCompatType( in handleAppTransitionReady() local
275 tmpCloseApps, AppTransition.appTransitionOldToString(transit)); in handleAppTransitionReady()
283 final ActivityRecord animLpActivity = findAnimLayoutParamsToken(transit, activityTypes, in handleAppTransitionReady()
294 if (!overrideWithTaskFragmentRemoteAnimation(transit, activityTypes)) { in handleAppTransitionReady()
297 overrideWithRemoteAnimationIfSet(animLpActivity, transit, activityTypes); in handleAppTransitionReady()
306 applyAnimations(tmpOpenApps, tmpCloseApps, transit, animLp, voiceInteraction); in handleAppTransitionReady()
309 handleChangingApps(transit); in handleAppTransitionReady()
312 appTransition.setLastAppTransition(transit, topOpeningApp, in handleAppTransitionReady()
316 layoutRedo = appTransition.goodToGo(transit, topOpeningApp); in handleAppTransitionReady()
573 @TransitionOldType int transit, ArraySet<Integer> activityTypes) { in getRemoteAnimationOverride() argument
[all …]
DRemoteAnimationController.java153 void goodToGo(@WindowManager.TransitionOldType int transit) { in goodToGo() argument
170 if (appTargets.length == 0 && !AppTransition.isKeyguardOccludeTransitOld(transit)) { in goodToGo()
191 final RemoteAnimationTarget[] nonAppTargets = createNonAppWindowAnimations(transit); in goodToGo()
198 AppTransition.appTransitionOldToString(transit), appTargets.length, in goodToGo()
200 if (AppTransition.isKeyguardOccludeTransitOld(transit)) { in goodToGo()
202 transit == TRANSIT_OLD_KEYGUARD_UNOCCLUDE ? 0 : 1, in goodToGo()
204 transit, in goodToGo()
207 mRemoteAnimationAdapter.getRunner().onAnimationStart(transit, appTargets, in goodToGo()
292 @WindowManager.TransitionOldType int transit) {
296 transit,
DWindowStateAnimator.java512 final int transit; in applyEnterAnimationLocked() local
515 transit = WindowManagerPolicy.TRANSIT_ENTER; in applyEnterAnimationLocked()
517 transit = WindowManagerPolicy.TRANSIT_SHOW; in applyEnterAnimationLocked()
526 applyAnimationLocked(transit, true); in applyEnterAnimationLocked()
530 mService.mAccessibilityController.onWindowTransition(mWin, transit); in applyEnterAnimationLocked()
543 boolean applyAnimationLocked(int transit, boolean isEntrance) { in applyAnimationLocked() argument
568 int anim = mWin.getDisplayContent().getDisplayPolicy().selectAnimation(mWin, transit); in applyAnimationLocked()
578 switch (transit) { in applyAnimationLocked()
600 this, anim, attr, a, transit, mAttrType, isEntrance, Debug.getCallers(20)); in applyAnimationLocked()
DTransitionController.java305 Transition transit = new Transition(type, flags, this, mSyncEngine); in createTransition() local
306 ProtoLog.v(ProtoLogGroup.WM_DEBUG_WINDOW_TRANSITIONS, "Creating Transition: %s", transit); in createTransition()
307 moveToCollecting(transit); in createTransition()
308 return transit; in createTransition()
1395 private void queueTransition(Transition transit, OnStartCollect onStartCollect) { in queueTransition() argument
1396 mQueuedTransitions.add(new QueuedTransition(transit, onStartCollect)); in queueTransition()
1398 "Queueing transition: %s", transit); in queueTransition()
1402 boolean startCollectOrQueue(Transition transit, OnStartCollect onStartCollect) { in startCollectOrQueue() argument
1405 queueTransition(transit, onStartCollect); in startCollectOrQueue()
1411 if (canStartCollectingNow(transit)) { in startCollectOrQueue()
[all …]
DWindowContainer.java3096 boolean applyAnimation(WindowManager.LayoutParams lp, @TransitionOldType int transit, in applyAnimation() argument
3115 AppTransition.appTransitionOldToString(transit), enter, this); in applyAnimation()
3116 applyAnimationUnchecked(lp, enter, transit, isVoiceInteraction, sources); in applyAnimation()
3138 @TransitionOldType int transit, boolean enter, boolean isVoiceInteraction) { in getAnimationAdapter() argument
3150 final boolean isChanging = AppTransition.isChangeTransitOld(transit) && enter in getAnimationAdapter()
3220 mTransit = transit; in getAnimationAdapter()
3224 final Animation a = loadAnimation(lp, transit, enter, isVoiceInteraction); in getAnimationAdapter()
3244 || AppTransition.isClosingTransitOld(transit); in getAnimationAdapter()
3245 mTransit = transit; in getAnimationAdapter()
3255 @TransitionOldType int transit, boolean isVoiceInteraction, in applyAnimationUnchecked() argument
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DTransitionAnimation.java252 public Animation loadAnimationAttr(LayoutParams lp, int animAttr, int transit) { in loadAnimationAttr() argument
262 resId = updateToTranslucentAnimIfNeeded(resId, transit); in loadAnimationAttr()
270 public int getAnimationResId(LayoutParams lp, int animAttr, int transit) { in getAnimationResId() argument
278 resId = updateToTranslucentAnimIfNeeded(resId, transit); in getAnimationResId()
283 public int getDefaultAnimationResId(int animAttr, int transit) { in getDefaultAnimationResId() argument
292 resId = updateToTranslucentAnimIfNeeded(resId, transit); in getDefaultAnimationResId()
306 boolean translucent, @TransitionOldType int transit) { in loadAnimationAttr() argument
322 } else if (transit != TRANSIT_OLD_UNSET) { in loadAnimationAttr()
323 resId = updateToTranslucentAnimIfNeeded(resId, transit); in loadAnimationAttr()
349 public Animation loadDefaultAnimationAttr(int animAttr, @TransitionOldType int transit) { in loadDefaultAnimationAttr() argument
[all …]
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationRunner.java70 public void onAnimationStart(@WindowManager.TransitionOldType int transit, in onAnimationStart() argument
80 Log.v(TAG, "onAnimationStart transit=" + transit); in onAnimationStart()
82 mHandler.post(() -> startAnimation(transit, apps, finishedCallback)); in onAnimationStart()
91 private void startAnimation(@WindowManager.TransitionOldType int transit, in startAnimation() argument
98 mAnimator = createAnimator(transit, targets, finishedCallback); in startAnimation()
113 private Animator createAnimator(@WindowManager.TransitionOldType int transit, in createAnimator() argument
117 createAnimationAdapters(transit, targets); in createAnimator()
164 @WindowManager.TransitionOldType int transit, in createAnimationAdapters()
166 switch (transit) { in createAnimationAdapters()
176 throw new IllegalArgumentException("Unhandled transit type=" + transit); in createAnimationAdapters()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DStateMachineTest.java93 mStateMachine.transit(mStateToTransit); in exit()
127 stateMachine.transit(0x12); in testStateMachineTransitToChild()
133 stateMachine.transit(0x1233); in testStateMachineTransitToChild()
148 stateMachine.transit(0x2); in testStateMachineTransitToParent()
163 stateMachine.transit(0x253); in testStateMachineTransitSelf()
183 stateMachine.transit(0x1322); in testStateMachineTransitGeneral()
244 stateMachine.transit(0x1); in testStateMachineNestedTransition()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTransitionTests.java172 final int transit = transition.mType; in testCreateInfo_NewTask() local
180 TransitionInfo info = Transition.calculateTransitionInfo(transit, flags, targets, mMockT); in testCreateInfo_NewTask()
182 assertEquals(transit, info.getType()); in testCreateInfo_NewTask()
188 info = Transition.calculateTransitionInfo(transit, flags, targets, mMockT); in testCreateInfo_NewTask()
196 info = Transition.calculateTransitionInfo(transit, flags, targets, mMockT); in testCreateInfo_NewTask()
204 info = Transition.calculateTransitionInfo(transit, flags, targets, mMockT); in testCreateInfo_NewTask()
228 final int transit = transition.mType; in testCreateInfo_Activity() local
235 TransitionInfo info = Transition.calculateTransitionInfo(transit, flags, targets, mMockT); in testCreateInfo_Activity()
270 final int transit = transition.mType; in testCreateInfo_NestedTasks() local
279 TransitionInfo info = Transition.calculateTransitionInfo(transit, flags, targets, mMockT); in testCreateInfo_NestedTasks()
[all …]
DRemoteAnimationControllerTest.java669 final int transit = TRANSIT_OLD_TASK_OPEN; in testNonAppTarget_sendNavBar() local
670 final AnimationAdapter adapter = setupForNonAppTargetNavBar(transit, true); in testNonAppTarget_sendNavBar()
676 verify(mMockRunner).onAnimationStart(eq(transit), any(), any(), in testNonAppTarget_sendNavBar()
700 final int transit = TRANSIT_OLD_TASK_OPEN; in testNonAppTarget_notSendNavBar_notAttachToApp() local
701 setupForNonAppTargetNavBar(transit, false); in testNonAppTarget_notSendNavBar_notAttachToApp()
705 verify(mMockRunner).onAnimationStart(eq(transit), in testNonAppTarget_notSendNavBar_notAttachToApp()
719 final int transit = TRANSIT_OLD_TASK_OPEN; in testNonAppTarget_notSendNavBar_controlledByFadeRotation() local
720 setupForNonAppTargetNavBar(transit, true); in testNonAppTarget_notSendNavBar_controlledByFadeRotation()
724 verify(mMockRunner).onAnimationStart(eq(transit), in testNonAppTarget_notSendNavBar_controlledByFadeRotation()
738 final int transit = TRANSIT_OLD_TASK_OPEN; in testNonAppTarget_notSendNavBar_controlledByRecents() local
[all …]
DWallpaperControllerTests.java431 Transition transit = in testWallpaperTokenVisibility() local
439 transit.abort(); in testWallpaperTokenVisibility()
443 transit = mWm.mAtmService.getTransitionController().createTransition(TRANSIT_CLOSE); in testWallpaperTokenVisibility()
444 transit.start(); in testWallpaperTokenVisibility()
452 transit.onTransactionReady(transit.getSyncId(), t); in testWallpaperTokenVisibility()
453 dc.mTransitionController.finishTransition(transit); in testWallpaperTokenVisibility()
DAppChangeTransitionTests.java74 public void onAnimationStart(@WindowManager.TransitionOldType int transit, in onAnimationStart() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DLegacyTransitions.java48 void onAnimationStart(int transit, RemoteAnimationTarget[] apps, in onAnimationStart() argument
104 public void onAnimationStart(int transit, RemoteAnimationTarget[] apps, in onAnimationStart() argument
107 mTransit = transit; in onAnimationStart()
/frameworks/base/core/java/android/view/
DIRemoteAnimationRunner.aidl40 void onAnimationStart(int transit, in RemoteAnimationTarget[] apps, in onAnimationStart() argument
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DRemoteAnimationDelegate.kt21 @WindowManager.TransitionOldType transit: Int,
DRemoteAnimationRunnerCompat.java47 public abstract void onAnimationStart(@WindowManager.TransitionOldType int transit, in onAnimationStart() argument
52 public final void onAnimationStart(@TransitionOldType int transit, in onAnimationStart() argument
58 onAnimationStart(transit, apps, wallpapers, in onAnimationStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWindowManagerOcclusionManager.kt108 transit: Int, in <lambda>()
130 transit, in <lambda>()
159 transit: Int, in <lambda>()
DKeyguardViewMediator.java1069 public void onAnimationStart(@WindowManager.TransitionOldType int transit,
1075 startKeyguardExitAnimation(transit, apps, wallpapers, nonApps, finishedCallback);
1078 transit, apps, wallpapers, nonApps, finishedCallback);
1102 public void onAnimationStart(@WindowManager.TransitionOldType int transit,
1139 public void onAnimationStart(int transit, RemoteAnimationTarget[] apps,
1242 public void onAnimationStart(int transit, RemoteAnimationTarget[] apps,
3650 public void startKeyguardExitAnimation(@WindowManager.TransitionOldType int transit,
3654 startKeyguardExitAnimation(transit, 0, 0, apps, wallpapers, nonApps, finishedCallback);
3668 private void startKeyguardExitAnimation(@WindowManager.TransitionOldType int transit,
3675 new StartKeyguardExitAnimParams(transit, startTime, fadeoutDuration, apps,
[all …]
DWindowManagerLockscreenVisibilityManager.kt139 @WindowManager.TransitionOldType transit: Int, in onKeyguardGoingAwayRemoteAnimationStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardTransitionExecutor.kt78 transit: Int, in onAnimationStart()
/frameworks/base/core/java/android/app/
DFragmentTransaction.java217 public abstract FragmentTransaction setTransition(@Transit int transit); in setTransition() argument
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DUniverse.kt244 ship.transit = false in updateAll()
250 if (planet is Star) ship.transit = true in updateAll()
437 var transit = false variable in Spacecraft
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DActionIntentExecutor.kt152 @WindowManager.TransitionOldType transit: Int, in onAnimationStart()

12