Merge "Allow Launcher to use PipContentOverlay" into tm-qpr-dev am: 98ef7be762 am: e75e50f298
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21106077 Change-Id: I8fa183a606d4d6148de679ce39a5c2c7e5bef31c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -47,6 +47,7 @@ filegroup {
|
||||
"src/com/android/wm/shell/sysui/ShellSharedConstants.java",
|
||||
"src/com/android/wm/shell/common/TransactionPool.java",
|
||||
"src/com/android/wm/shell/animation/Interpolators.java",
|
||||
"src/com/android/wm/shell/pip/PipContentOverlay.java",
|
||||
"src/com/android/wm/shell/startingsurface/SplashScreenExitAnimationUtils.java",
|
||||
],
|
||||
path: "src",
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.android.wm.shell.pip;
|
||||
|
||||
import android.annotation.Nullable;
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Color;
|
||||
@@ -41,6 +42,11 @@ public abstract class PipContentOverlay {
|
||||
}
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public SurfaceControl getLeash() {
|
||||
return mLeash;
|
||||
}
|
||||
|
||||
/**
|
||||
* Animates the internal {@link #mLeash} by a given fraction.
|
||||
* @param atomicTx {@link SurfaceControl.Transaction} to operate, you should not explicitly
|
||||
|
||||
Reference in New Issue
Block a user