Home
last modified time | relevance | path

Searched refs:mSurfaceAnimator (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceAnimatorTest.java90 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in testRunAnimation()
106 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in testOverrideAnimation()
108 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec2, true /* hidden */); in testOverrideAnimation()
120 assertTrue(mAnimatable.mSurfaceAnimator.isAnimating()); in testOverrideAnimation()
131 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in testCancelAnimation()
133 mAnimatable.mSurfaceAnimator.cancelAnimation(); in testCancelAnimation()
142 mAnimatable.mSurfaceAnimator.startDelayingAnimationStart(); in testDelayingAnimationStart()
143 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in testDelayingAnimationStart()
146 assertTrue(mAnimatable.mSurfaceAnimator.isAnimationStartDelayed()); in testDelayingAnimationStart()
147 mAnimatable.mSurfaceAnimator.endDelayingAnimationStart(); in testDelayingAnimationStart()
[all …]
DAppWindowTokenAnimationTests.java73 mToken.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in clipAfterAnim_boundsLayerIsCreated()
75 eq(mToken.mSurfaceAnimator.mLeash)); in clipAfterAnim_boundsLayerIsCreated()
76 verify(mTransaction).reparent(eq(mToken.mSurfaceAnimator.mLeash), in clipAfterAnim_boundsLayerIsCreated()
85 mToken.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in clipAfterAnim_boundsLayerZBoosted()
94 mToken.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in clipAfterAnim_boundsLayerIsDestroyed()
95 final SurfaceControl leash = mToken.mSurfaceAnimator.mLeash; in clipAfterAnim_boundsLayerIsDestroyed()
111 mToken.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in clipAfterAnimCancelled_boundsLayerIsDestroyed()
112 final SurfaceControl leash = mToken.mSurfaceAnimator.mLeash; in clipAfterAnimCancelled_boundsLayerIsDestroyed()
115 mToken.mSurfaceAnimator.cancelAnimation(); in clipAfterAnimCancelled_boundsLayerIsDestroyed()
126 mToken.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in clipNoneAnim_boundsLayerIsNotCreated()
[all …]
DRefreshRatePolicyTest.java109 overrideWindow.mAppToken.mSurfaceAnimator.startAnimation( in testAnimatingAppOverride()
125 cameraUsingWindow.mAppToken.mSurfaceAnimator.startAnimation( in testAnimatingCamera()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowThumbnail.java53 private final SurfaceAnimator mSurfaceAnimator; field in AppWindowThumbnail
79 mSurfaceAnimator = animator; in AppWindowThumbnail()
83 mSurfaceAnimator = in AppWindowThumbnail()
129 mSurfaceAnimator.startAnimation(t, new LocalAnimationAdapter( in startAnimation()
140 mSurfaceAnimator.startAnimation(t, anim, hidden); in startAnimation()
156 mSurfaceAnimator.cancelAnimation(); in destroy()
173 if (mSurfaceAnimator.isAnimating()) { in writeToProto()
174 mSurfaceAnimator.writeToProto(proto, SURFACE_ANIMATOR); in writeToProto()
DWindowContainer.java125 protected final SurfaceAnimator mSurfaceAnimator; field in WindowContainer
145 mSurfaceAnimator = new SurfaceAnimator(this, this::onAnimationFinished, wms); in WindowContainer()
624 return mSurfaceAnimator.isAnimating(); in isSelfAnimating()
1079 mSurfaceAnimator.setLayer(t, layer); in setLayer()
1086 mSurfaceAnimator.setRelativeLayer(t, relativeTo, layer); in setRelativeLayer()
1090 mSurfaceAnimator.reparent(t, newParent); in reparentSurfaceControl()
1149 if (mSurfaceAnimator.isAnimating()) { in writeToProto()
1150 mSurfaceAnimator.writeToProto(proto, SURFACE_ANIMATOR); in writeToProto()
1214 mCommittedReparentToAnimationLeash = mSurfaceAnimator.hasLeash(); in prepareSurfaces()
1272 mSurfaceAnimator.startAnimation(t, anim, hidden); in startAnimation()
[all …]
DDimmer.java120 SurfaceAnimator mSurfaceAnimator; field in Dimmer.DimState
137 mSurfaceAnimator = new SurfaceAnimator(dimAnimatable, () -> { in DimState()
314 startDimExit(mLastRequestedDimContainer, mDimState.mSurfaceAnimator, t); in updateDims()
325 startDimEnter(mLastRequestedDimContainer, mDimState.mSurfaceAnimator, t); in updateDims()
356 AnimationAdapter animationAdapter = container.mSurfaceAnimator.getAnimation(); in getDimDuration()
DAppWindowToken.java2575 && !mSurfaceAnimator.isAnimationStartDelayed()) { in applyAnimationLocked()
2729 if (!mSurfaceAnimator.hasLeash()) { in setLayer()
2736 if (!mSurfaceAnimator.hasLeash()) { in setRelativeLayer()
2743 if (!mSurfaceAnimator.hasLeash()) { in reparentSurfaceControl()
DRecentsAnimationController.java601 mRecentScreenshotAnimator.transferAnimation(task.mSurfaceAnimator); in screenshotRecentTask()
DWindowState.java5013 if (!mSurfaceAnimator.hasLeash() && mPendingSeamlessRotate == null in updateSurfacePosition()