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:
authored and GitHub committed 2024-01-26 05:59:47 +08:00
1 parent f63aa1e315
commit c31b41ae73
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);
}