Files
Flexera-Launcher/compatLib/src/main/java/app/lawnchair/compatlib/RecentsAnimationRunnerCompat.java
T
c31b41ae73 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>
2024-01-26 05:59:47 +08:00

29 lines
881 B
Java

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);
}