QuickSwitch Compat Q to U (#3948)
Initial support quickstep, Android versions from Q to U, ensuring a smooth and efficient user experience. Enjoy effortless navigation and swift app switching on your Android device with QuickSwitch's compatibility across the Q, R, S, T, and U. Co-authored-by: Goooler <wangzongler@gmail.com> Co-authored-by: 无言 <57122860+liu-wanshun@users.noreply.github.com>
This commit is contained in:
111 files changed
+4547
-602
No files matched your search
@@ -0,0 +1,28 @@
|
||||
package app.lawnchair.compatlib;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.view.IRecentsAnimationController;
|
||||
import android.view.RemoteAnimationTarget;
|
||||
import android.window.TaskSnapshot;
|
||||
|
||||
public interface RecentsAnimationRunnerCompat {
|
||||
|
||||
void onAnimationStart(
|
||||
IRecentsAnimationController controller,
|
||||
RemoteAnimationTarget[] apps,
|
||||
RemoteAnimationTarget[] wallpapers,
|
||||
Rect homeContentInsets,
|
||||
Rect minimizedHomeBounds);
|
||||
|
||||
/** Called only in T platform */
|
||||
void onAnimationCanceled(int[] taskIds, TaskSnapshot[] taskSnapshots);
|
||||
|
||||
/** Called only in Q/R/S platform */
|
||||
void onAnimationCanceled(Object taskSnapshot);
|
||||
|
||||
/** Called only in R/S platform */
|
||||
void onTaskAppeared(RemoteAnimationTarget app);
|
||||
|
||||
/** Called only in T+ platform */
|
||||
void onTasksAppeared(RemoteAnimationTarget[] apps);
|
||||
}
|
||||
Reference in new issue
Block a user