Home
last modified time | relevance | path

Searched refs:mTransition (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DPhysicalDisplaySwitchTransitionLauncher.java58 private Transition mTransition; field in PhysicalDisplaySwitchTransitionLauncher
114 mTransition = null; in requestDisplaySwitchTransitionIfNeeded()
118 mTransition = mTransitionController.getCollectingTransition(); in requestDisplaySwitchTransitionIfNeeded()
119 mTransition.collect(mDisplayContent); in requestDisplaySwitchTransitionIfNeeded()
122 mTransition.setReady(mDisplayContent, false); in requestDisplaySwitchTransitionIfNeeded()
123 mTransition.addFlag(TRANSIT_FLAG_PHYSICAL_DISPLAY_SWITCH); in requestDisplaySwitchTransitionIfNeeded()
137 mTransition = mTransitionController.requestStartDisplayTransition(TRANSIT_CHANGE, in requestDisplaySwitchTransitionIfNeeded()
139 mTransition.collect(mDisplayContent); in requestDisplaySwitchTransitionIfNeeded()
142 if (mTransition != null) { in requestDisplaySwitchTransitionIfNeeded()
159 if (mTransition == null) return; in onDisplayUpdated()
[all …]
DTransitionController.java178 final Transition mTransition; field in TransitionController.QueuedTransition
183 mTransition = transition; in QueuedTransition()
189 mTransition = null; in QueuedTransition()
1049 if (queued.mTransition == null) return; in tryStartCollectFromQueue()
1050 if (!canStartCollectingNow(queued.mTransition)) return; in tryStartCollectFromQueue()
1062 if (queued.mTransition != null) { in tryStartCollectFromQueue()
1063 moveToCollecting(queued.mTransition); in tryStartCollectFromQueue()
1068 if (queued.mTransition != null in tryStartCollectFromQueue()
1069 && queued.mTransition.mType == WindowManager.TRANSIT_SLEEP) { in tryStartCollectFromQueue()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/
DUnfoldTransitionHandlerTest.java70 private final IBinder mTransition = new Binder(); field in UnfoldTransitionHandlerTest
105 WindowContainerTransaction result = mUnfoldTransitionHandler.handleRequest(mTransition, in handleRequest_physicalDisplayChangeUnfold_handlesTransition()
122 WindowContainerTransaction result = mUnfoldTransitionHandler.handleRequest(mTransition, in handleRequest_physicalDisplayChangeFold_doesNotHandleTransition()
136 WindowContainerTransaction result = mUnfoldTransitionHandler.handleRequest(mTransition, in handleRequest_noPhysicalDisplayChange_doesNotHandleTransition()
145 mUnfoldTransitionHandler.handleRequest(mTransition, requestInfo); in startAnimation_animationHasNotFinishedYet_doesNotFinishTheTransition()
149 mTransition, in startAnimation_animationHasNotFinishedYet_doesNotFinishTheTransition()
162 mUnfoldTransitionHandler.handleRequest(mTransition, requestInfo); in startAnimation_sameTransitionAsHandleRequest_startsAnimation()
166 mTransition, in startAnimation_sameTransitionAsHandleRequest_startsAnimation()
182 mTransition, in startAnimation_differentTransitionFromRequestWithUnfold_startsAnimation()
198 mTransition, in startAnimation_differentTransitionFromRequestWithResize_doesNotStartAnimation()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingControllerTests.java113 assertFalse(mController.startAnimation(mTransition, info, mStartTransaction, in testStartAnimation_containsNonActivityEmbeddingChange()
131 assertTrue(mController.startAnimation(mTransition, info2, mStartTransaction, in testStartAnimation_containsNonActivityEmbeddingChange()
146 assertFalse(mController.startAnimation(mTransition, info, mStartTransaction, in testStartAnimation_containsOnlyFillTaskActivityEmbeddingChange()
164 assertTrue(mController.startAnimation(mTransition, info, mStartTransaction, in testStartAnimation_containsActivityEmbeddingSplitChange()
166 verify(mAnimRunner).startAnimation(mTransition, info, mStartTransaction, in testStartAnimation_containsActivityEmbeddingSplitChange()
181 assertTrue(mController.startAnimation(mTransition, info, mStartTransaction, in testStartAnimation_containsChangeEnterActivityEmbeddingSplit()
183 verify(mAnimRunner).startAnimation(mTransition, info, mStartTransaction, in testStartAnimation_containsChangeEnterActivityEmbeddingSplit()
198 assertTrue(mController.startAnimation(mTransition, info, mStartTransaction, in testStartAnimation_containsChangeExitActivityEmbeddingSplit()
200 verify(mAnimRunner).startAnimation(mTransition, info, mStartTransaction, in testStartAnimation_containsChangeExitActivityEmbeddingSplit()
264 mController.onAnimationFinished(mTransition); in testMergeAnimation()
[all …]
DActivityEmbeddingAnimationRunnerTests.java82 mAnimRunner.startAnimation(mTransition, info, mStartTransaction, mFinishTransaction); in testStartAnimation()
96 verify(mController).onAnimationFinished(mTransition); in testStartAnimation()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DCrossfadeMultiple.java38 Transition mTransition; field in CrossfadeMultiple
65 mTransition = mCrossfadeGroup; in onCreate()
95 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in sendMessage()
126 mTransition = mCrossfadeGroup; in changeTransitionType()
130 mTransition = mCrossfadeGroup; in changeTransitionType()
133 mTransition = mInOutGroup; in changeTransitionType()
136 mTransition = mTextChangeGroup1; in changeTransitionType()
139 mTransition = mTextChangeGroup2; in changeTransitionType()
142 mTransition = mTextChangeGroup3; in changeTransitionType()
DScenesTestAutoTransition.java32 Transition mTransition = new AutoTransition(); field in ScenesTestAutoTransition
49 TransitionManager.go(mSearchScreen, mTransition); in sendMessage()
52 TransitionManager.go(mResultsScreen, mTransition); in sendMessage()
DCrossfadeImage.java36 Transition mTransition; field in CrossfadeImage
56 mTransition = group; in onCreate()
60 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in sendMessage()
DHierarchicalMove.java35 Transition mTransition; field in HierarchicalMove
94 mTransition = rootTransition; in onCreate()
99 TransitionManager.beginDelayedTransition(mSceneRoot, mTransition); in sendMessage()
DContactsExpansion.java96 Transition mTransition; field in ContactsExpansion.ToggleScene
100 mTransition = transition; in ToggleScene()
121 TransitionManager.go(mScene, mTransition); in changeToScene()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubblesTransitionObserverTest.java60 private IBinder mTransition; field in BubblesTransitionObserverTest
88 mTransitionObserver.onTransitionReady(mTransition, info, mStartT, mFinishT); in testOnTransitionReady_open_collapsesStack()
102 mTransitionObserver.onTransitionReady(mTransition, info, mStartT, mFinishT); in testOnTransitionReady_toFront_collapsesStack()
117 mTransitionObserver.onTransitionReady(mTransition, info, mStartT, mFinishT); in testOnTransitionReady_noTaskInfo_skip()
133 mTransitionObserver.onTransitionReady(mTransition, info, mStartT, mFinishT); in testOnTransitionReady_noTaskId_skip()
147 mTransitionObserver.onTransitionReady(mTransition, info, mStartT, mFinishT); in testOnTransitionReady_notOpening_skip()
150 mTransitionObserver.onTransitionReady(mTransition, info, mStartT, mFinishT); in testOnTransitionReady_notOpening_skip()
153 mTransitionObserver.onTransitionReady(mTransition, info, mStartT, mFinishT); in testOnTransitionReady_notOpening_skip()
167 mTransitionObserver.onTransitionReady(mTransition, info, mStartT, mFinishT); in testOnTransitionReady_stackAnimating_skip()
181 mTransitionObserver.onTransitionReady(mTransition, info, mStartT, mFinishT); in testOnTransitionReady_stackNotExpanded_skip()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
DUnfoldTransitionHandler.java67 private IBinder mTransition; field in UnfoldTransitionHandler
110 if (shouldPlayUnfoldAnimation(info) && transition != mTransition) { in startAnimation()
114 mTransition = transition; in startAnimation()
120 if (transition != mTransition) return false; in startAnimation()
161 if (mTransition == null) return; in onStateChangeProgress()
283 mTransition = transition; in handleRequest()
290 return mTransition != null; in willHandleTransition()
317 mTransition = null; in finishTransitionIfNeeded()
/frameworks/base/core/java/android/transition/
DTransitionManager.java255 Transition mTransition; field in TransitionManager.MultiListener
260 mTransition = transition; in MultiListener()
289 mTransition.clearValues(true); in onViewDetachedFromWindow()
312 currentTransitions.add(mTransition); in onPreDraw()
313 mTransition.addListener(new TransitionListenerAdapter() { in onPreDraw()
322 mTransition.captureValues(mSceneRoot, false); in onPreDraw()
328 mTransition.playTransition(mSceneRoot); in onPreDraw()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DOneShotRemoteHandler.java45 private IBinder mTransition = null; field in OneShotRemoteHandler
57 mTransition = transition; in setTransition()
65 if (mTransition != transition) return false; in startAnimation()
140 if (mTransition != transition) return false; in takeOverAnimation()
186 mTransition = transition; in handleRequest()
DDefaultMixedTransition.java145 mTransition, everythingElse, startTransaction, finishTransaction, finishCB); in animateEnterPipFromActivityEmbedding()
196 mTransition, info, startTransaction, finishTransaction, finishCB)) { in tryAnimateOpenIntentWithRemoteAndPip()
215 && mLeftoversHandler.startAnimation(mTransition, info, in tryAnimateOpenIntentWithRemoteAndPip()
220 mTransition, info, startTransaction, finishTransaction, finishCB, mMixedHandler); in tryAnimateOpenIntentWithRemoteAndPip()
246 mTransition, info, startTransaction, finishTransaction, finishCB); in animateUnfold()
DDefaultMixedHandler.java124 final IBinder mTransition; field in DefaultMixedHandler.MixedTransition
156 mTransition = transition; in MixedTransition()
188 mTransition, info, startT, finishT, wct -> onSubAnimationFinished(info, wct))) { in startSubAnimation()
414 if (mActiveTransitions.get(i).mTransition != transition) continue; in startAnimation()
547 mixed.mLeftoversHandler = mPlayer.dispatchTransition(mixed.mTransition, displayPart, in animatePendingSplitWithDisplayChange()
583 mixed.mLeftoversHandler = mPlayer.dispatchTransition(mixed.mTransition, changeInfo, in animateEnteringPipWithDisplayChange()
657 if (mActiveTransitions.get(i).mTransition != mergeTarget) continue; in mergeAnimation()
673 if (mActiveTransitions.get(i).mTransition != transition) continue; in onTransitionConsumed()
DMixedTransitionHelper.java146 mixed.mLeftoversHandler = player.dispatchTransition(mixed.mTransition, everythingElse, in animateEnterPipFromSplit()
156 mixed.mTransition, info, startTransaction, finishTransaction, finishCB); in animateEnterPipFromSplit()
DRecentsMixedTransition.java99 mTransition, info, startTransaction, finishTransaction, finishCB); in animateRecentsDuringDesktop()
168 mTransition, info, startTransaction, finishTransaction, finishCB); in animateRecentsDuringSplit()
/frameworks/base/core/java/android/app/
DBackStackRecord.java36 final int mTransition; field in BackStackState
66 mTransition = bse.mTransition; in BackStackState()
81 mTransition = in.readInt(); in BackStackState()
123 bse.mTransition = mTransition; in instantiate()
145 dest.writeInt(mTransition); in writeToParcel()
212 int mTransition; field in BackStackRecord
261 if (mTransition != FragmentTransaction.TRANSIT_NONE) { in dump()
264 writer.print(Integer.toHexString(mTransition)); in dump()
524 mTransition = transition; in setTransition()
765 f.setNextTransition(mTransition, mTransitionStyle); in executeOps()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java75 private Transition mTransition; field in AnimatedStateListDrawable
93 if (mTransition != null && (changed || restart)) { in setVisible()
95 mTransition.start(); in setVisible()
164 final Transition currentTransition = mTransition; in selectTransition()
187 mTransition = null; in selectTransition()
231 mTransition = transition; in selectTransition()
367 if (mTransition != null) { in jumpToCurrentState()
368 mTransition.stop(); in jumpToCurrentState()
369 mTransition = null; in jumpToCurrentState()
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp547 CHECK_EQ((int)port->mTransition, (int)PortInfo::NONE); in onPortEnable()
559 port->mTransition = PortInfo::DISABLING; in onPortEnable()
578 port->mTransition = PortInfo::ENABLING; in onPortEnable()
607 if (port->mTransition != PortInfo::NONE) { in onPortFlush()
703 if (port->mTransition == PortInfo::DISABLING) { in checkTransitions()
707 port->mTransition = PortInfo::NONE; in checkTransitions()
712 } else if (port->mTransition == PortInfo::ENABLING) { in checkTransitions()
716 port->mTransition = PortInfo::NONE; in checkTransitions()
732 info->mTransition = PortInfo::NONE; in addPort()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentsTransitionHandler.java192 if (mControllers.get(i).mTransition == transition) return i; in findController()
285 private IBinder mTransition = null; field in RecentsTransitionHandler.RecentsController
323 mTransition = transition; in setTransition()
431 mTransition = null; in cleanUp()
443 if (mListener == null || mTransition == null) { in start()
445 " hasTransition=" + (mTransition != null)); in start()
447 + ") or no transition (" + (mTransition == null) + ")"); in start()
589 mTakeoverHandler = mTransitions.getHandlerForTakeover(mTransition, info); in start()
657 mTransition, mInfo, new SurfaceControl.Transaction(), in handOffAnimation()
1164 requestRes = mTransitions.dispatchRequest(mTransition, in finishInner()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
DHomeTransitionObserverTest.java83 private Transitions mTransition; field in HomeTransitionObserverTest
92 mTransition = new Transitions(mContext, mock(ShellInit.class), mock(ShellController.class), in setUp()
95 mHomeTransitionObserver.setHomeTransitionListener(mTransition, mListener); in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityMetricsLaunchObserverTests.java83 private Transition mTransition; field in ActivityMetricsLaunchObserverTests
108 mTransition = new Transition(TRANSIT_OPEN, 0 /* flags */, in setUpAMLO()
110 mTransition.mParticipants.add(mTopActivity); in setUpAMLO()
111 mTopActivity.mTransitionController.moveToCollecting(mTransition); in setUpAMLO()
489 mTransition.mParticipants.remove(mTopActivity); in testActivityDrawnWithoutTransition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitScreenTransitions.java313 return mPendingEnter != null && mPendingEnter.mTransition == transition; in isPendingEnter()
317 return mPendingDismiss != null && mPendingDismiss.mTransition == transition; in isPendingDismiss()
321 return mPendingResize != null && mPendingResize.mTransition == transition; in isPendingResize()
326 mPendingRemotePassthrough.mTransition == transition; in isPendingPassThrough()
591 final IBinder mTransition; field in SplitScreenTransitions.TransitSession
612 mTransition = transition; in TransitSession()

12