/frameworks/base/core/proto/android/server/ |
H A D | surfaceanimator.proto | 32 optional .android.view.SurfaceControlProto leash = 1;
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | RemoteAnimationTargetCompat.java | 41 public final SurfaceControlCompat leash; field in class:RemoteAnimationTargetCompat 53 leash = new SurfaceControlCompat(app.leash);
|
/frameworks/base/core/java/android/view/ |
H A D | RemoteAnimationTarget.java | 79 public final SurfaceControl leash; field in class:RemoteAnimationTarget 107 * The source position of the app, in screen spaces coordinates. If the position of the leash 115 * of the leash is modified from the controlling app, it needs to take the source container 130 public RemoteAnimationTarget(int taskId, int mode, SurfaceControl leash, boolean isTranslucent, argument 135 this.leash = leash; 149 leash = in.readParcelable(null); 169 dest.writeParcelable(leash, 0 /* flags */); 191 pw.print(prefix); pw.print("leash="); pw.println(leash); [all...] |
/frameworks/base/core/proto/android/view/ |
H A D | remote_animation_target.proto | 35 optional .android.view.SurfaceControlProto leash = 3;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | SurfaceAnimationRunner.java | 134 void onAnimationCancelled(SurfaceControl leash) { argument 136 if (mPendingAnimations.containsKey(leash)) { 137 mPendingAnimations.remove(leash); 140 final RunningAnimation anim = mRunningAnimations.get(leash); 142 mRunningAnimations.remove(leash); 259 RunningAnimation(AnimationSpec animSpec, SurfaceControl leash, Runnable finishCallback) { argument 261 mLeash = leash;
|
H A D | WindowAnimationSpec.java | 95 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { argument 100 t.setMatrix(leash, tmp.transformation.getMatrix(), tmp.floats); 101 t.setAlpha(leash, tmp.transformation.getAlpha()); 103 t.setWindowCrop(leash, tmp.transformation.getClipRect()); 108 t.setFinalCrop(leash, mTmpRect); 109 t.setWindowCrop(leash, tmp.transformation.getClipRect()); 113 t.setWindowCrop(leash, mTmpRect);
|
H A D | SurfaceAnimator.java | 105 * This is important as it will start with the leash hidden or visible before 180 * When the layer of the surface needs to be adjusted, we need to set it on the leash if the 181 * surface is reparented to the leash. This method takes care of that. 206 * @return True if the surface is attached to the leash; false otherwise. 242 * Cancels the animation, and resets the leash. 252 final SurfaceControl leash = mLeash; 257 animation.onAnimationCancelled(leash); 289 // Make sure to inform the animatable after the leash was destroyed. 302 if (DEBUG_ANIM) Slog.i(TAG, "Reparenting to leash"); 305 .setName(surface + " - animation-leash") 379 onAnimationLeashCreated(Transaction t, SurfaceControl leash) argument [all...] |
H A D | AppWindowThumbnail.java | 147 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { argument 148 t.setLayer(leash, Integer.MAX_VALUE);
|
H A D | LocalAnimationAdapter.java | 134 * Called when the spec needs to apply the current animation state to the leash. 137 * @param leash The leash to apply the state to. 140 void apply(Transaction t, SurfaceControl leash, long currentPlayTime); argument
|
H A D | Dimmer.java | 61 public void onAnimationLeashCreated(SurfaceControl.Transaction t, SurfaceControl leash) { argument 90 // This will determine the size of the leash created. This should be the size of the 92 // that occurs, the leash size cannot change so we need to ensure the leash is big
|
H A D | AppWindowToken.java | 1887 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { argument 1888 // The leash is parented to the animation layer. We need to preserve the z-order by using 1903 leash.setLayer(layer);
|
H A D | WindowContainer.java | 126 * surface to the animation leash 190 // mSurfaceControl stays attached to the leash and we just reparent the leash to the 965 // attached to the leash, and leash is attached to parent container. 972 // attached to the leash, and leash is attached to parent container. 1084 // If a leash has been set when the transaction was committed, then the leash reparent has 1093 * @return true if the reparent to animation leash transactio 1177 onAnimationLeashCreated(Transaction t, SurfaceControl leash) argument [all...] |
H A D | WindowState.java | 4674 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { argument 4675 super.onAnimationLeashCreated(t, leash); 4876 public void apply(Transaction t, SurfaceControl leash, long currentPlayTime) { argument 4879 t.setPosition(leash, mFrom.x + (mTo.x - mFrom.x) * v,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | SurfaceAnimatorTest.java | 160 final SurfaceControl leash = mAnimatable.mLeash; 165 assertEquals(leash, mAnimatable2.mSurfaceAnimator.mLeash); 166 verify(mTransaction, never()).destroy(eq(leash)); 170 verify(mTransaction).destroy(eq(leash)); 238 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { argument
|
H A D | RemoteAnimationControllerTest.java | 106 assertEquals(mMockLeash, app.leash); 205 assertEquals(mMockLeash, appsCaptor.getValue()[0].leash);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | ActivityLaunchAnimator.java | 249 SurfaceParams params = new SurfaceParams(new SurfaceControlCompat(app.leash),
|