/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceAnimator.java | 258 final SurfaceControl leash = mLeash; 263 animation.onAnimationCancelled(leash); 270 if (forwardCancel && leash != null) { 271 t.remove(leash); 325 final SurfaceControl leash = builder.build(); 326 t.setWindowCrop(leash, width, height); 327 t.show(leash); 329 t.setAlpha(leash, hidden ? 0 : 1); 330 t.reparent(surface, leash); 331 return leash; [all …]
|
D | SurfaceAnimationRunner.java | 140 void onAnimationCancelled(SurfaceControl leash) { in onAnimationCancelled() argument 142 if (mPendingAnimations.containsKey(leash)) { in onAnimationCancelled() 143 mPendingAnimations.remove(leash); in onAnimationCancelled() 146 final RunningAnimation anim = mRunningAnimations.get(leash); in onAnimationCancelled() 148 mRunningAnimations.remove(leash); in onAnimationCancelled() 268 RunningAnimation(AnimationSpec animSpec, SurfaceControl leash, Runnable finishCallback) { in RunningAnimation() argument 270 mLeash = leash; in RunningAnimation()
|
D | WindowAnimationSpec.java | 94 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { in apply() argument 99 t.setMatrix(leash, tmp.transformation.getMatrix(), tmp.floats); in apply() 100 t.setAlpha(leash, tmp.transformation.getAlpha()); in apply() 105 t.setWindowCrop(leash, tmp.transformation.getClipRect()); in apply() 113 t.setWindowCrop(leash, mTmpRect); in apply() 120 t.setCornerRadius(leash, mWindowCornerRadius); in apply()
|
D | WindowChangeAnimationSpec.java | 144 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { in apply() argument 148 t.setMatrix(leash, tmp.mTransformation.getMatrix(), tmp.mFloats); in apply() 149 t.setAlpha(leash, tmp.mTransformation.getAlpha()); in apply() 153 t.setMatrix(leash, matrix, tmp.mFloats); in apply() 167 t.setWindowCrop(leash, mTmpRect); in apply()
|
D | AppWindowThumbnail.java | 190 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() argument 191 t.setLayer(leash, Integer.MAX_VALUE); in onAnimationLeashCreated() 193 t.reparent(leash, mAppToken.getSurfaceControl()); in onAnimationLeashCreated()
|
D | TaskScreenshotAnimatable.java | 89 public void onAnimationLeashCreated(SurfaceControl.Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() argument 90 t.setLayer(leash, 1); in onAnimationLeashCreated()
|
D | LocalAnimationAdapter.java | 128 void apply(Transaction t, SurfaceControl leash, long currentPlayTime); in apply() argument
|
D | Dimmer.java | 61 public void onAnimationLeashCreated(SurfaceControl.Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() argument
|
D | AppWindowToken.java | 2749 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() argument 2766 leash.setLayer(layer); in onAnimationLeashCreated() 2772 if (leash == mTransitChangeLeash) { in onAnimationLeashCreated() 2807 t.reparent(leash, mAnimationBoundsLayer); in onAnimationLeashCreated()
|
D | WindowContainer.java | 1317 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() argument
|
D | WindowState.java | 4983 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() argument 4984 super.onAnimationLeashCreated(t, leash); in onAnimationLeashCreated() 5298 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { in apply() argument 5301 t.setPosition(leash, mFrom.x + (mTo.x - mFrom.x) * v, in apply()
|
/frameworks/base/core/java/android/view/ |
D | RemoteAnimationTarget.java | 91 public final SurfaceControl leash; field in RemoteAnimationTarget 166 public RemoteAnimationTarget(int taskId, int mode, SurfaceControl leash, boolean isTranslucent, in RemoteAnimationTarget() argument 172 this.leash = leash; in RemoteAnimationTarget() 188 leash = in.readParcelable(null); in RemoteAnimationTarget() 210 dest.writeParcelable(leash, 0 /* flags */); in writeToParcel() 234 pw.print(prefix); pw.print("leash="); pw.println(leash); in dump() 241 leash.writeToProto(proto, LEASH); in writeToProto()
|
D | InsetsSourceControl.java | 34 public InsetsSourceControl(@InternalInsetType int type, SurfaceControl leash, in InsetsSourceControl() argument 37 mLeash = leash; in InsetsSourceControl()
|
D | InsetsAnimationControlImpl.java | 234 final SurfaceControl leash = consumer.getControl().getLeash(); in updateLeashesForSide() local 241 surfaceParams.add(new SurfaceParams(leash, 1f, mTmpMatrix, null, 0, 0f, inset != 0)); in updateLeashesForSide()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | RemoteAnimationTargetCompat.java | 42 public final SurfaceControlCompat leash; field in RemoteAnimationTargetCompat 56 leash = new SurfaceControlCompat(app.leash); in RemoteAnimationTargetCompat() 82 leash.mSurfaceControl.release(); in release()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | AppWindowTokenAnimationTests.java | 95 final SurfaceControl leash = mToken.mSurfaceAnimator.mLeash; in clipAfterAnim_boundsLayerIsDestroyed() local 103 verify(mTransaction).remove(eq(leash)); in clipAfterAnim_boundsLayerIsDestroyed() 112 final SurfaceControl leash = mToken.mSurfaceAnimator.mLeash; in clipAfterAnimCancelled_boundsLayerIsDestroyed() local 116 verify(mTransaction).remove(eq(leash)); in clipAfterAnimCancelled_boundsLayerIsDestroyed()
|
D | SurfaceAnimatorTest.java | 169 final SurfaceControl leash = mAnimatable.mLeash; in testTransferAnimation() local 174 assertEquals(leash, mAnimatable2.mSurfaceAnimator.mLeash); in testTransferAnimation() 175 verify(mTransaction, never()).remove(eq(leash)); in testTransferAnimation() 179 verify(mTransaction).remove(eq(leash)); in testTransferAnimation() 191 final SurfaceControl leash = mAnimatable.mLeash; in testOnAnimationLeashLostWhenAnimatableParentSurfaceControlNull() local 192 verify(mTransaction).remove(eq(leash)); in testOnAnimationLeashLostWhenAnimatableParentSurfaceControlNull() 287 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() argument
|
D | RemoteAnimationControllerTest.java | 108 assertEquals(mMockLeash, app.leash); in testRun() 208 assertEquals(mMockLeash, appsCaptor.getValue()[0].leash); in testOneNotStarted() 249 assertEquals(mMockLeash, app.leash); in testChange()
|
/frameworks/base/core/proto/android/view/ |
D | remote_animation_target.proto | 34 optional .android.view.SurfaceControlProto leash = 3; field 40 // position of the leash is modified from the controlling app, any animation
|
/frameworks/base/core/proto/android/server/ |
D | surfaceanimator.proto | 32 optional .android.view.SurfaceControlProto leash = 1; field
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ActivityLaunchAnimator.java | 273 SurfaceParams params = new SurfaceParams(app.leash, 1f /* alpha */, m, mWindowCrop, in applyParamsToWindow()
|