Loading libs/WindowManager/Shell/Android.bp +7 −0 Original line number Diff line number Diff line Loading @@ -156,6 +156,13 @@ java_library { }, } filegroup { name: "wm_shell-shared-utils", srcs: [ "shared/src/com/android/wm/shell/shared/TransitionUtil.java", ], } filegroup { name: "wm_shell-shared-aidls", Loading packages/SystemUI/animation/lib/Android.bp +13 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,19 @@ java_library { ], } filegroup { name: "PlatformAnimationLib-client-srcs", srcs: [ "src/com/android/systemui/animation/OriginRemoteTransition.java", "src/com/android/systemui/animation/OriginTransitionSession.java", "src/com/android/systemui/animation/SurfaceUIComponent.java", "src/com/android/systemui/animation/Transactions.java", "src/com/android/systemui/animation/UIComponent.java", "src/com/android/systemui/animation/ViewUIComponent.java", ":PlatformAnimationLib-aidl", ], } filegroup { name: "PlatformAnimationLib-aidl", srcs: [ Loading packages/SystemUI/animation/lib/src/com/android/systemui/animation/OriginRemoteTransition.java +4 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ import java.util.List; /** * An implementation of {@link IRemoteTransition} that accepts a {@link UIComponent} as the origin * and automatically attaches it to the transition leash before the transition starts. * @hide */ public class OriginRemoteTransition extends IRemoteTransition.Stub { private static final String TAG = "OriginRemoteTransition"; Loading Loading @@ -328,7 +329,9 @@ public class OriginRemoteTransition extends IRemoteTransition.Stub { /* baseBounds= */ maxBounds); } /** An interface that represents an origin transitions. */ /** An interface that represents an origin transitions. * @hide */ public interface TransitionPlayer { /** Loading packages/SystemUI/animation/lib/src/com/android/systemui/animation/OriginTransitionSession.java +5 −1 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ import java.util.function.Supplier; /** * A session object that holds origin transition states for starting an activity from an on-screen * UI component and smoothly transitioning back from the activity to the same UI component. * @hide */ public class OriginTransitionSession { private static final String TAG = "OriginTransitionSession"; Loading Loading @@ -179,7 +180,10 @@ public class OriginTransitionSession { } } /** A builder to build a {@link OriginTransitionSession}. */ /** * A builder to build a {@link OriginTransitionSession}. * @hide */ public static class Builder { private final Context mContext; @Nullable private final IOriginTransitions mOriginTransitions; Loading packages/SystemUI/animation/lib/src/com/android/systemui/animation/SurfaceUIComponent.java +8 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,10 @@ import java.util.Arrays; import java.util.Collection; import java.util.concurrent.Executor; /** A {@link UIComponent} representing a {@link SurfaceControl}. */ /** * A {@link UIComponent} representing a {@link SurfaceControl}. * @hide */ public class SurfaceUIComponent implements UIComponent { private final Collection<SurfaceControl> mSurfaces; private final Rect mBaseBounds; Loading Loading @@ -89,7 +92,10 @@ public class SurfaceUIComponent implements UIComponent { + "}"; } /** A {@link Transaction} wrapping a {@link SurfaceControl.Transaction}. */ /** * A {@link Transaction} wrapping a {@link SurfaceControl.Transaction}. * @hide */ public static class Transaction implements UIComponent.Transaction<SurfaceUIComponent> { private final SurfaceControl.Transaction mTransaction; private final ArrayList<Runnable> mChanges = new ArrayList<>(); Loading Loading
libs/WindowManager/Shell/Android.bp +7 −0 Original line number Diff line number Diff line Loading @@ -156,6 +156,13 @@ java_library { }, } filegroup { name: "wm_shell-shared-utils", srcs: [ "shared/src/com/android/wm/shell/shared/TransitionUtil.java", ], } filegroup { name: "wm_shell-shared-aidls", Loading
packages/SystemUI/animation/lib/Android.bp +13 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,19 @@ java_library { ], } filegroup { name: "PlatformAnimationLib-client-srcs", srcs: [ "src/com/android/systemui/animation/OriginRemoteTransition.java", "src/com/android/systemui/animation/OriginTransitionSession.java", "src/com/android/systemui/animation/SurfaceUIComponent.java", "src/com/android/systemui/animation/Transactions.java", "src/com/android/systemui/animation/UIComponent.java", "src/com/android/systemui/animation/ViewUIComponent.java", ":PlatformAnimationLib-aidl", ], } filegroup { name: "PlatformAnimationLib-aidl", srcs: [ Loading
packages/SystemUI/animation/lib/src/com/android/systemui/animation/OriginRemoteTransition.java +4 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ import java.util.List; /** * An implementation of {@link IRemoteTransition} that accepts a {@link UIComponent} as the origin * and automatically attaches it to the transition leash before the transition starts. * @hide */ public class OriginRemoteTransition extends IRemoteTransition.Stub { private static final String TAG = "OriginRemoteTransition"; Loading Loading @@ -328,7 +329,9 @@ public class OriginRemoteTransition extends IRemoteTransition.Stub { /* baseBounds= */ maxBounds); } /** An interface that represents an origin transitions. */ /** An interface that represents an origin transitions. * @hide */ public interface TransitionPlayer { /** Loading
packages/SystemUI/animation/lib/src/com/android/systemui/animation/OriginTransitionSession.java +5 −1 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ import java.util.function.Supplier; /** * A session object that holds origin transition states for starting an activity from an on-screen * UI component and smoothly transitioning back from the activity to the same UI component. * @hide */ public class OriginTransitionSession { private static final String TAG = "OriginTransitionSession"; Loading Loading @@ -179,7 +180,10 @@ public class OriginTransitionSession { } } /** A builder to build a {@link OriginTransitionSession}. */ /** * A builder to build a {@link OriginTransitionSession}. * @hide */ public static class Builder { private final Context mContext; @Nullable private final IOriginTransitions mOriginTransitions; Loading
packages/SystemUI/animation/lib/src/com/android/systemui/animation/SurfaceUIComponent.java +8 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,10 @@ import java.util.Arrays; import java.util.Collection; import java.util.concurrent.Executor; /** A {@link UIComponent} representing a {@link SurfaceControl}. */ /** * A {@link UIComponent} representing a {@link SurfaceControl}. * @hide */ public class SurfaceUIComponent implements UIComponent { private final Collection<SurfaceControl> mSurfaces; private final Rect mBaseBounds; Loading Loading @@ -89,7 +92,10 @@ public class SurfaceUIComponent implements UIComponent { + "}"; } /** A {@link Transaction} wrapping a {@link SurfaceControl.Transaction}. */ /** * A {@link Transaction} wrapping a {@link SurfaceControl.Transaction}. * @hide */ public static class Transaction implements UIComponent.Transaction<SurfaceUIComponent> { private final SurfaceControl.Transaction mTransaction; private final ArrayList<Runnable> mChanges = new ArrayList<>(); Loading