public static interface InputManagerService.WindowManagerCallbacks
Modifier and Type | Method and Description |
---|---|
KeyEvent |
dispatchUnhandledKey(InputWindowHandle focus,
KeyEvent event,
int policyFlags) |
int |
getPointerLayer() |
long |
interceptKeyBeforeDispatching(InputWindowHandle focus,
KeyEvent event,
int policyFlags) |
int |
interceptKeyBeforeQueueing(KeyEvent event,
int policyFlags) |
int |
interceptMotionBeforeQueueingNonInteractive(long whenNanos,
int policyFlags) |
long |
notifyANR(InputApplicationHandle inputApplicationHandle,
InputWindowHandle inputWindowHandle,
String reason) |
void |
notifyCameraLensCoverSwitchChanged(long whenNanos,
boolean lensCovered) |
void |
notifyConfigurationChanged() |
void |
notifyInputChannelBroken(InputWindowHandle inputWindowHandle) |
void |
notifyLidSwitchChanged(long whenNanos,
boolean lidOpen) |
void notifyConfigurationChanged()
void notifyLidSwitchChanged(long whenNanos, boolean lidOpen)
void notifyCameraLensCoverSwitchChanged(long whenNanos, boolean lensCovered)
void notifyInputChannelBroken(InputWindowHandle inputWindowHandle)
long notifyANR(InputApplicationHandle inputApplicationHandle, InputWindowHandle inputWindowHandle, String reason)
int interceptKeyBeforeQueueing(KeyEvent event, int policyFlags)
int interceptMotionBeforeQueueingNonInteractive(long whenNanos, int policyFlags)
long interceptKeyBeforeDispatching(InputWindowHandle focus, KeyEvent event, int policyFlags)
KeyEvent dispatchUnhandledKey(InputWindowHandle focus, KeyEvent event, int policyFlags)
int getPointerLayer()