package android.view;
public interface IRecentsAnimationController extends android.os.IInterface
{
public static abstract class Stub extends android.os.Binder implements android.view.IRecentsAnimationController
{
private static final java.lang.String DESCRIPTOR = "android.view.IRecentsAnimationController";
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
}
public static android.view.IRecentsAnimationController asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);
if (((iin!=null)&&(iin instanceof android.view.IRecentsAnimationController))) {
return ((android.view.IRecentsAnimationController)iin);
}
return new android.view.IRecentsAnimationController.Stub.Proxy(obj);
}
@Override public android.os.IBinder asBinder()
{
return this;
}
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{
java.lang.String descriptor = DESCRIPTOR;
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(descriptor);
return true;
}
case TRANSACTION_screenshotTask:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
android.app.ActivityManager.TaskSnapshot _result = this.screenshotTask(_arg0);
reply.writeNoException();
if ((_result!=null)) {
reply.writeInt(1);
_result.writeToParcel(reply, android.os.Parcelable.PARCELABLE_WRITE_RETURN_VALUE);
}
else {
reply.writeInt(0);
}
return true;
}
case TRANSACTION_finish:
{
data.enforceInterface(descriptor);
boolean _arg0;
_arg0 = (0!=data.readInt());
this.finish(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_setInputConsumerEnabled:
{
data.enforceInterface(descriptor);
boolean _arg0;
_arg0 = (0!=data.readInt());
this.setInputConsumerEnabled(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_setAnimationTargetsBehindSystemBars:
{
data.enforceInterface(descriptor);
boolean _arg0;
_arg0 = (0!=data.readInt());
this.setAnimationTargetsBehindSystemBars(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_setSplitScreenMinimized:
{
data.enforceInterface(descriptor);
boolean _arg0;
_arg0 = (0!=data.readInt());
this.setSplitScreenMinimized(_arg0);
reply.writeNoException();
return true;
}
case TRANSACTION_hideCurrentInputMethod:
{
data.enforceInterface(descriptor);
this.hideCurrentInputMethod();
reply.writeNoException();
return true;
}
default:
{
return super.onTransact(code, data, reply, flags);
}
}
}
private static class Proxy implements android.view.IRecentsAnimationController
{
private android.os.IBinder mRemote;
Proxy(android.os.IBinder remote)
{
mRemote = remote;
}
@Override public android.os.IBinder asBinder()
{
return mRemote;
}
public java.lang.String getInterfaceDescriptor()
{
return DESCRIPTOR;
}
@Override public android.app.ActivityManager.TaskSnapshot screenshotTask(int taskId) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
android.app.ActivityManager.TaskSnapshot _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(taskId);
mRemote.transact(Stub.TRANSACTION_screenshotTask, _data, _reply, 0);
_reply.readException();
if ((0!=_reply.readInt())) {
_result = android.app.ActivityManager.TaskSnapshot.CREATOR.createFromParcel(_reply);
}
else {
_result = null;
}
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
@Override public void finish(boolean moveHomeToTop) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(((moveHomeToTop)?(1):(0)));
mRemote.transact(Stub.TRANSACTION_finish, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void setInputConsumerEnabled(boolean enabled) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(((enabled)?(1):(0)));
mRemote.transact(Stub.TRANSACTION_setInputConsumerEnabled, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void setAnimationTargetsBehindSystemBars(boolean behindSystemBars) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(((behindSystemBars)?(1):(0)));
mRemote.transact(Stub.TRANSACTION_setAnimationTargetsBehindSystemBars, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void setSplitScreenMinimized(boolean minimized) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(((minimized)?(1):(0)));
mRemote.transact(Stub.TRANSACTION_setSplitScreenMinimized, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
@Override public void hideCurrentInputMethod() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_hideCurrentInputMethod, _data, _reply, 0);
_reply.readException();
}
finally {
_reply.recycle();
_data.recycle();
}
}
}
static final int TRANSACTION_screenshotTask = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
static final int TRANSACTION_finish = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
static final int TRANSACTION_setInputConsumerEnabled = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
static final int TRANSACTION_setAnimationTargetsBehindSystemBars = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3);
static final int TRANSACTION_setSplitScreenMinimized = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4);
static final int TRANSACTION_hideCurrentInputMethod = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5);
}
public android.app.ActivityManager.TaskSnapshot screenshotTask(int taskId) throws android.os.RemoteException;
public void finish(boolean moveHomeToTop) throws android.os.RemoteException;
public void setInputConsumerEnabled(boolean enabled) throws android.os.RemoteException;
public void setAnimationTargetsBehindSystemBars(boolean behindSystemBars) throws android.os.RemoteException;
public void setSplitScreenMinimized(boolean minimized) throws android.os.RemoteException;
public void hideCurrentInputMethod() throws android.os.RemoteException;
}