Rename all modules to start with a lowercase (#3245)
This commit is contained in:
1 parent
e6afbda7b6
commit
e8fde0d444
126 files changed
+4
-4
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package app.lawnchair.compatlib;
|
||||
|
||||
import android.app.ActivityManager;
|
||||
import android.content.Intent;
|
||||
import android.os.RemoteException;
|
||||
import android.view.IRecentsAnimationRunner;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public abstract class ActivityManagerCompat {
|
||||
|
||||
public abstract void startRecentsActivity(Intent intent, long eventTime, RecentsAnimationRunnerStub runner) throws RemoteException;
|
||||
|
||||
public abstract ActivityManager.RunningTaskInfo getRunningTask(boolean filterOnlyVisibleRecents);
|
||||
|
||||
public abstract List<ActivityManager.RecentTaskInfo> getRecentTasks(int numTasks, int userId);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package app.lawnchair.compatlib;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Rect;
|
||||
import android.view.AppTransitionAnimationSpec;
|
||||
import android.view.IRemoteAnimationRunner;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
public abstract class QuickstepCompatFactory {
|
||||
|
||||
@NonNull
|
||||
public abstract ActivityManagerCompat getActivityManagerCompat();
|
||||
|
||||
public abstract IRemoteAnimationRunner.Stub wrapRemoteAnimationRunnerStub(RemoteAnimationRunnerStub compatStub);
|
||||
|
||||
public abstract AppTransitionAnimationSpec createAppTransitionAnimationSpec(int taskId, Bitmap buffer, Rect rect);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package app.lawnchair.compatlib;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.view.IRecentsAnimationController;
|
||||
import android.view.RemoteAnimationTarget;
|
||||
|
||||
public interface RecentsAnimationRunnerStub {
|
||||
void onAnimationStart(IRecentsAnimationController controller,
|
||||
RemoteAnimationTarget[] apps, RemoteAnimationTarget[] wallpapers,
|
||||
Rect homeContentInsets, Rect minimizedHomeBounds);
|
||||
|
||||
void onAnimationCanceled(Object taskSnapshot);
|
||||
|
||||
void onTaskAppeared(RemoteAnimationTarget app);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package app.lawnchair.compatlib;
|
||||
|
||||
import android.view.RemoteAnimationTarget;
|
||||
import android.view.IRemoteAnimationFinishedCallback;
|
||||
|
||||
public interface RemoteAnimationRunnerStub {
|
||||
|
||||
void onAnimationStart(int transit, RemoteAnimationTarget[] apps,
|
||||
RemoteAnimationTarget[] wallpapers, RemoteAnimationTarget[] nonApps,
|
||||
final IRemoteAnimationFinishedCallback finishedCallback);
|
||||
|
||||
void onAnimationCancelled();
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package app.lawnchair.compatlib;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.view.SurfaceControl;
|
||||
import android.window.IRemoteTransitionFinishedCallback;
|
||||
import android.window.TransitionInfo;
|
||||
|
||||
public interface RemoteTransitionStub {
|
||||
/**
|
||||
* Starts a transition animation. Once complete, the implementation should call
|
||||
* `finishCallback`.
|
||||
*
|
||||
* @param token An identifier for the transition that should be animated.
|
||||
*/
|
||||
void startAnimation(IBinder token, TransitionInfo info, SurfaceControl.Transaction t,
|
||||
IRemoteTransitionFinishedCallback finishCallback);
|
||||
|
||||
/**
|
||||
* Attempts to merge a transition animation into the animation that is currently
|
||||
* being played by this remote. If merge is not possible/supported, this should be a no-op.
|
||||
* If it *is* merged, the implementation should call `finishCallback` immediately.
|
||||
*
|
||||
* @param transition An identifier for the transition that wants to be merged.
|
||||
* @param mergeTarget The transition that is currently being animated by this remote.
|
||||
* If it can be merged, call `finishCallback`; otherwise, do
|
||||
* nothing.
|
||||
*/
|
||||
void mergeAnimation(IBinder transition, TransitionInfo info,
|
||||
SurfaceControl.Transaction t, IBinder mergeTarget,
|
||||
IRemoteTransitionFinishedCallback finishCallback);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package app.lawnchair.compatlib;
|
||||
|
||||
public class TaskSnapshotCompat {
|
||||
}
|
||||
Reference in new issue
Block a user