Build 1.0_r1(from source)

android.view
Interface IWindow

All Superinterfaces:
IInterface
All Known Implementing Classes:
IWindow.Stub, ViewRoot.W

public interface IWindow
extends IInterface

API back to a client window that the Window Manager uses to inform it of interesting things happening.


Nested Class Summary
static class IWindow.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 void dispatchAppVisibility(boolean visible)
           
 void dispatchGetNewSurface()
           
 void dispatchKey(KeyEvent event)
           
 void dispatchPointer(MotionEvent event, long eventTime)
           
 void dispatchTrackball(MotionEvent event, long eventTime)
           
 void executeCommand(String command, String parameters, ParcelFileDescriptor descriptor)
          Invoked by the view server to tell a window to execute the specified command.
 void resized(int w, int h, boolean reportDraw)
           
 void windowFocusChanged(boolean hasFocus, boolean inTouchMode)
          Tell the window that it is either gaining or losing focus.
 
Methods inherited from interface android.os.IInterface
asBinder
 

Method Detail

executeCommand

void executeCommand(String command,
                    String parameters,
                    ParcelFileDescriptor descriptor)
                    throws RemoteException
Invoked by the view server to tell a window to execute the specified command. Any response from the receiver must be sent through the specified file descriptor.

Throws:
RemoteException

resized

void resized(int w,
             int h,
             boolean reportDraw)
             throws RemoteException
Throws:
RemoteException

dispatchKey

void dispatchKey(KeyEvent event)
                 throws RemoteException
Throws:
RemoteException

dispatchPointer

void dispatchPointer(MotionEvent event,
                     long eventTime)
                     throws RemoteException
Throws:
RemoteException

dispatchTrackball

void dispatchTrackball(MotionEvent event,
                       long eventTime)
                       throws RemoteException
Throws:
RemoteException

dispatchAppVisibility

void dispatchAppVisibility(boolean visible)
                           throws RemoteException
Throws:
RemoteException

dispatchGetNewSurface

void dispatchGetNewSurface()
                           throws RemoteException
Throws:
RemoteException

windowFocusChanged

void windowFocusChanged(boolean hasFocus,
                        boolean inTouchMode)
                        throws RemoteException
Tell the window that it is either gaining or losing focus. Keep it up to date on the current state showing navigational focus (touch mode) too.

Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature