Home
last modified time | relevance | path

Searched refs:leash (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimator.java258 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 …]
DSurfaceAnimationRunner.java140 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()
DWindowAnimationSpec.java94 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()
DWindowChangeAnimationSpec.java144 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()
DAppWindowThumbnail.java190 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()
DTaskScreenshotAnimatable.java89 public void onAnimationLeashCreated(SurfaceControl.Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() argument
90 t.setLayer(leash, 1); in onAnimationLeashCreated()
DLocalAnimationAdapter.java128 void apply(Transaction t, SurfaceControl leash, long currentPlayTime); in apply() argument
DDimmer.java61 public void onAnimationLeashCreated(SurfaceControl.Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() argument
DAppWindowToken.java2749 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()
DWindowContainer.java1317 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() argument
DWindowState.java4983 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/
DRemoteAnimationTarget.java91 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()
DInsetsSourceControl.java34 public InsetsSourceControl(@InternalInsetType int type, SurfaceControl leash, in InsetsSourceControl() argument
37 mLeash = leash; in InsetsSourceControl()
DInsetsAnimationControlImpl.java234 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/
DRemoteAnimationTargetCompat.java42 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/
DAppWindowTokenAnimationTests.java95 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()
DSurfaceAnimatorTest.java169 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
DRemoteAnimationControllerTest.java108 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/
Dremote_animation_target.proto34 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/
Dsurfaceanimator.proto32 optional .android.view.SurfaceControlProto leash = 1; field
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DActivityLaunchAnimator.java273 SurfaceParams params = new SurfaceParams(app.leash, 1f /* alpha */, m, mWindowCrop, in applyParamsToWindow()