package android.view;
public interface IPinnedStackController extends android.os.IInterface
{
public static abstract class Stub extends android.os.Binder implements android.view.IPinnedStackController
{
private static final java.lang.String DESCRIPTOR = "android.view.IPinnedStackController";
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
}
public static android.view.IPinnedStackController asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);
if (((iin!=null)&&(iin instanceof android.view.IPinnedStackController))) {
return ((android.view.IPinnedStackController)iin);
}
return new android.view.IPinnedStackController.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_setIsMinimized:
{
data.enforceInterface(descriptor);
boolean _arg0;
_arg0 = (0!=data.readInt());
this.setIsMinimized(_arg0);
return true;
}
case TRANSACTION_setMinEdgeSize:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
this.setMinEdgeSize(_arg0);
return true;
}
case TRANSACTION_getDisplayRotation:
{
data.enforceInterface(descriptor);
int _result = this.getDisplayRotation();
reply.writeNoException();
reply.writeInt(_result);
return true;
}
default:
{
return super.onTransact(code, data, reply, flags);
}
}
}
private static class Proxy implements android.view.IPinnedStackController
{
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 void setIsMinimized(boolean isMinimized) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(((isMinimized)?(1):(0)));
mRemote.transact(Stub.TRANSACTION_setIsMinimized, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void setMinEdgeSize(int minEdgeSize) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(minEdgeSize);
mRemote.transact(Stub.TRANSACTION_setMinEdgeSize, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public int getDisplayRotation() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
int _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_getDisplayRotation, _data, _reply, 0);
_reply.readException();
_result = _reply.readInt();
}
finally {
_reply.recycle();
_data.recycle();
}
return _result;
}
}
static final int TRANSACTION_setIsMinimized = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
static final int TRANSACTION_setMinEdgeSize = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
static final int TRANSACTION_getDisplayRotation = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
}
public void setIsMinimized(boolean isMinimized) throws android.os.RemoteException;
public void setMinEdgeSize(int minEdgeSize) throws android.os.RemoteException;
public int getDisplayRotation() throws android.os.RemoteException;
}