Searched refs:mLeash (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceAnimator.java | 52 SurfaceControl mLeash; field in SurfaceAnimator 117 mLeash = createAnimationLeash(surface, t, 119 mAnimatable.onAnimationLeashCreated(t, mLeash); 124 mAnimation.startAnimation(mLeash, t, mInnerAnimationFinishedCallback); 147 mAnimation.startAnimation(mLeash, mAnimatable.getPendingTransaction(), 184 t.setLayer(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), layer); 193 … t.setRelativeLayer(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), relativeTo, layer); 202 … t.reparent(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), newParent.getHandle()); 209 return mLeash != null; 213 if (from.mLeash == null) { [all …]
|
D | SurfaceAnimationRunner.java | 190 mFrameTransaction.show(a.mLeash); in startAnimationLocked() 198 mRunningAnimations.remove(a.mLeash); in startAnimationLocked() 210 mRunningAnimations.put(a.mLeash, a); in startAnimationLocked() 227 a.mAnimSpec.apply(t, a.mLeash, currentPlayTime); in applyTransformation() 252 final SurfaceControl mLeash; field in SurfaceAnimationRunner.RunningAnimation 261 mLeash = leash; in RunningAnimation()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | SurfaceAnimatorTest.java | 85 verify(mTransaction).reparent(eq(mAnimatable.mSurface), eq(mAnimatable.mLeash.getHandle())); in testRunAnimation() 91 verify(mTransaction).destroy(eq(mAnimatable.mLeash)); in testRunAnimation() 98 final SurfaceControl firstLeash = mAnimatable.mLeash; in testOverrideAnimation() 128 verify(mTransaction).destroy(eq(mAnimatable.mLeash)); in testCancelAnimation() 150 verify(mTransaction).destroy(eq(mAnimatable.mLeash)); in testDelayingAnimationStartAndCancelled() 160 final SurfaceControl leash = mAnimatable.mLeash; in testTransferAnimation() 165 assertEquals(leash, mAnimatable2.mSurfaceAnimator.mLeash); in testTransferAnimation() 193 verify(mTransaction).destroy(eq(mDeferFinishAnimatable.mLeash)); in testDeferFinish() 211 SurfaceControl mLeash; field in SurfaceAnimatorTest.MyAnimatable 224 mLeash = null; in MyAnimatable() [all …]
|