android.view
Class IWindow.Stub
java.lang.Object
android.os.Binder
android.view.IWindow.Stub
- All Implemented Interfaces:
- IBinder, IInterface, IWindow
- Direct Known Subclasses:
- ViewRoot.W
- Enclosing interface:
- IWindow
public abstract static class IWindow.Stub
- extends Binder
- implements IWindow
Local-side IPC implementation stub class.
|
Constructor Summary |
IWindow.Stub()
Construct the stub at attach it to the interface. |
|
Method Summary |
IBinder |
asBinder()
Retrieve the Binder object associated with this interface. |
static IWindow |
asInterface(IBinder obj)
Cast an IBinder object into an IWindow interface,
generating a proxy if needed. |
boolean |
onTransact(int code,
Parcel data,
Parcel reply,
int flags)
Default implementation is a stub that returns false. |
| Methods inherited from class android.os.Binder |
attachInterface, clearCallingIdentity, dump, finalize, flushPendingCommands, getCallingPid, getCallingUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, transact, unlinkToDeath |
TRANSACTION_executeCommand
static final int TRANSACTION_executeCommand
- See Also:
- Constant Field Values
TRANSACTION_resized
static final int TRANSACTION_resized
- See Also:
- Constant Field Values
TRANSACTION_dispatchKey
static final int TRANSACTION_dispatchKey
- See Also:
- Constant Field Values
TRANSACTION_dispatchPointer
static final int TRANSACTION_dispatchPointer
- See Also:
- Constant Field Values
TRANSACTION_dispatchTrackball
static final int TRANSACTION_dispatchTrackball
- See Also:
- Constant Field Values
TRANSACTION_dispatchAppVisibility
static final int TRANSACTION_dispatchAppVisibility
- See Also:
- Constant Field Values
TRANSACTION_dispatchGetNewSurface
static final int TRANSACTION_dispatchGetNewSurface
- See Also:
- Constant Field Values
TRANSACTION_windowFocusChanged
static final int TRANSACTION_windowFocusChanged
- See Also:
- Constant Field Values
IWindow.Stub
public IWindow.Stub()
- Construct the stub at attach it to the interface.
asInterface
public static IWindow asInterface(IBinder obj)
- Cast an IBinder object into an IWindow interface,
generating a proxy if needed.
asBinder
public IBinder asBinder()
- Description copied from interface:
IInterface
- Retrieve the Binder object associated with this interface.
You must use this instead of a plain cast, so that proxy objects
can return the correct result.
- Specified by:
asBinder in interface IInterface
onTransact
public boolean onTransact(int code,
Parcel data,
Parcel reply,
int flags)
throws RemoteException
- Description copied from class:
Binder
- Default implementation is a stub that returns false. You will want
to override this to do the appropriate unmarshalling of transactions.
If you want to call this, call transact().
- Overrides:
onTransact in class Binder
- Throws:
RemoteException
Please submit a feedback, bug or feature