Methods Summary |
---|
public void | dumpLocked(java.io.PrintWriter pw)Dumps the local state of the display adapter.
|
public final android.content.Context | getContext()Gets the display adapter's context.
return mContext;
|
public final android.os.Handler | getHandler()Gets a handler that the display adapter may use to post asynchronous messages.
return mHandler;
|
public final java.lang.String | getName()Gets the display adapter name for debugging purposes.
return mName;
|
public final DisplayManagerService.SyncRoot | getSyncRoot()Gets the object that the display adapter should synchronize on when handling
calls that come in from outside of the display manager service.
return mSyncRoot;
|
public void | registerLocked()Registers the display adapter with the display manager.
The display adapter should register any built-in display devices as soon as possible.
The boot process will wait for the default display to be registered.
Other display devices can be registered dynamically later.
|
protected final void | sendDisplayDeviceEventLocked(DisplayDevice device, int event)Sends a display device event to the display adapter listener asynchronously.
mHandler.post(new Runnable() {
@Override
public void run() {
mListener.onDisplayDeviceEvent(device, event);
}
});
|
protected final void | sendTraversalRequestLocked()Sends a request to perform traversals.
mHandler.post(new Runnable() {
@Override
public void run() {
mListener.onTraversalRequested();
}
});
|