diff options
| author | Mathew Inwood <mathewi@google.com> | 2018-08-17 15:07:52 +0100 |
|---|---|---|
| committer | Mathew Inwood <mathewi@google.com> | 2018-08-20 14:52:19 +0100 |
| commit | e5ad598d1143ecc86b4d66f70ca098df068031a9 (patch) | |
| tree | 1cd1d73a0e37d5dcf11d29cf70eb7c7d1f33c3da /core/java/android/view/RemoteAnimationTarget.java | |
| parent | 44bafe68370296c613f900e3ed15d21c39cfc2d2 (diff) | |
Add @UnsupportedAppUsage annotations
For packages:
android.view.textservice
android.view.textclassifier.logging
android.view.textclassifier
android.view.inputmethod
android.view.autofill
android.view.accessibility
android.view
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: Ie4663ebd4640b2893e575e599582d2c9530da313
Merged-In: I4147b038ed7adf0311ee9918b44766f82a057eaf
Diffstat (limited to 'core/java/android/view/RemoteAnimationTarget.java')
| -rw-r--r-- | core/java/android/view/RemoteAnimationTarget.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/view/RemoteAnimationTarget.java b/core/java/android/view/RemoteAnimationTarget.java index 5b2cc81756c1..b201d5592ca0 100644 --- a/core/java/android/view/RemoteAnimationTarget.java +++ b/core/java/android/view/RemoteAnimationTarget.java @@ -28,6 +28,7 @@ import static android.app.RemoteAnimationTargetProto.TASK_ID; import static android.app.RemoteAnimationTargetProto.WINDOW_CONFIGURATION; import android.annotation.IntDef; +import android.annotation.UnsupportedAppUsage; import android.app.WindowConfiguration; import android.graphics.Point; import android.graphics.Rect; @@ -66,21 +67,25 @@ public class RemoteAnimationTarget implements Parcelable { /** * The {@link Mode} to describe whether this app is opening or closing. */ + @UnsupportedAppUsage public final @Mode int mode; /** * The id of the task this app belongs to. */ + @UnsupportedAppUsage public final int taskId; /** * The {@link SurfaceControl} object to actually control the transform of the app. */ + @UnsupportedAppUsage public final SurfaceControl leash; /** * Whether the app is translucent and may reveal apps behind. */ + @UnsupportedAppUsage public final boolean isTranslucent; /** @@ -89,11 +94,13 @@ public class RemoteAnimationTarget implements Parcelable { * anything that extends beyond these bounds will not have any effect. This implies that any * clip-rect animation should likely stop at these bounds. */ + @UnsupportedAppUsage public final Rect clipRect; /** * The insets of the main app window. */ + @UnsupportedAppUsage public final Rect contentInsets; /** @@ -101,6 +108,7 @@ public class RemoteAnimationTarget implements Parcelable { * to preserve original z-layer order in the hierarchy tree assuming no "boosting" needs to * happen. */ + @UnsupportedAppUsage public final int prefixOrderIndex; /** @@ -108,6 +116,7 @@ public class RemoteAnimationTarget implements Parcelable { * is modified from the controlling app, any animation transform needs to be offset by this * amount. */ + @UnsupportedAppUsage public final Point position; /** @@ -115,16 +124,19 @@ public class RemoteAnimationTarget implements Parcelable { * of the leash is modified from the controlling app, it needs to take the source container * bounds into account when calculating the crop. */ + @UnsupportedAppUsage public final Rect sourceContainerBounds; /** * The window configuration for the target. */ + @UnsupportedAppUsage public final WindowConfiguration windowConfiguration; /** * Whether the task is not presented in Recents UI. */ + @UnsupportedAppUsage public boolean isNotInRecents; public RemoteAnimationTarget(int taskId, int mode, SurfaceControl leash, boolean isTranslucent, |
