ee4393ef2a
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
29 lines
876 B
Java
29 lines
876 B
Java
package app.lawnchair.compatlib;
|
|
|
|
import android.graphics.Rect;
|
|
import com.android.wm.shell.recents.IRecentsAnimationController;
|
|
import android.view.RemoteAnimationTarget;
|
|
import android.window.TaskSnapshot;
|
|
|
|
public interface RecentsAnimationRunnerCompat {
|
|
|
|
void onAnimationStart(
|
|
Object 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);
|
|
}
|