Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DSurfaceAnimatorTest.java81 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in testRunAnimation()
97 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in testOverrideAnimation()
99 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec2, true /* hidden */); in testOverrideAnimation()
111 assertTrue(mAnimatable.mSurfaceAnimator.isAnimating()); in testOverrideAnimation()
122 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in testCancelAnimation()
124 mAnimatable.mSurfaceAnimator.cancelAnimation(); in testCancelAnimation()
133 mAnimatable.mSurfaceAnimator.startDelayingAnimationStart(); in testDelayingAnimationStart()
134 mAnimatable.mSurfaceAnimator.startAnimation(mTransaction, mSpec, true /* hidden */); in testDelayingAnimationStart()
137 assertTrue(mAnimatable.mSurfaceAnimator.isAnimationStartDelayed()); in testDelayingAnimationStart()
138 mAnimatable.mSurfaceAnimator.endDelayingAnimationStart(); in testDelayingAnimationStart()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowThumbnail.java50 private final SurfaceAnimator mSurfaceAnimator; field in AppWindowThumbnail
56 mSurfaceAnimator = new SurfaceAnimator(this, this::onAnimationFinished, appToken.mService); in AppWindowThumbnail()
97 mSurfaceAnimator.startAnimation(t, new LocalAnimationAdapter( in startAnimation()
116 mSurfaceAnimator.cancelAnimation(); in destroy()
132 mSurfaceAnimator.writeToProto(proto, SURFACE_ANIMATOR); in writeToProto()
DWindowContainer.java115 protected final SurfaceAnimator mSurfaceAnimator; field in WindowContainer
133 mSurfaceAnimator = new SurfaceAnimator(this, this::onAnimationFinished, service); in WindowContainer()
585 return mSurfaceAnimator.isAnimating(); in isSelfAnimating()
966 mSurfaceAnimator.setLayer(t, layer); in setLayer()
973 mSurfaceAnimator.setRelativeLayer(t, relativeTo, layer); in setRelativeLayer()
977 mSurfaceAnimator.reparent(t, newParent); in reparentSurfaceControl()
1030 mSurfaceAnimator.writeToProto(proto, SURFACE_ANIMATOR); in writeToProto()
1086 mCommittedReparentToAnimationLeash = mSurfaceAnimator.hasLeash(); in prepareSurfaces()
1132 mSurfaceAnimator.startAnimation(t, anim, hidden); in startAnimation()
1136 mSurfaceAnimator.transferAnimation(from.mSurfaceAnimator); in transferAnimation()
[all …]
DDimmer.java113 SurfaceAnimator mSurfaceAnimator; field in Dimmer.DimState
129 mSurfaceAnimator = new SurfaceAnimator(new DimAnimatable(dimLayer), () -> { in DimState()
304 startDimExit(mLastRequestedDimContainer, mDimState.mSurfaceAnimator, t); in updateDims()
315 startDimEnter(mLastRequestedDimContainer, mDimState.mSurfaceAnimator, t); in updateDims()
346 AnimationAdapter animationAdapter = container.mSurfaceAnimator.getAnimation(); in getDimDuration()
DAppWindowToken.java1751 && !mSurfaceAnimator.isAnimationStartDelayed()) { in applyAnimationLocked()
1867 if (!mSurfaceAnimator.hasLeash()) { in setLayer()
1874 if (!mSurfaceAnimator.hasLeash()) { in setRelativeLayer()
1881 if (!mSurfaceAnimator.hasLeash()) { in reparentSurfaceControl()
DWindowState.java4700 if (!mSurfaceAnimator.hasLeash() && !mLastSurfacePosition.equals(mSurfacePosition)) { in updateSurfacePosition()