public class ShortcutKeyDispatcher extends SystemUI implements ShortcutKeyServiceProxy.Callbacks
Modifier and Type | Field and Description |
---|---|
protected long |
ALT_MASK |
protected long |
CTRL_MASK |
protected long |
META_MASK |
protected long |
SC_DOCK_LEFT |
protected long |
SC_DOCK_RIGHT |
protected long |
SHIFT_MASK |
mComponents, mContext
Constructor and Description |
---|
ShortcutKeyDispatcher() |
Modifier and Type | Method and Description |
---|---|
void |
onShortcutKeyPressed(long shortcutCode) |
void |
registerShortcutKey(long shortcutCode)
Registers a shortcut key to window manager.
|
void |
start() |
dump, getComponent, onBootCompleted, onConfigurationChanged, overrideNotificationAppName, putComponent
protected final long META_MASK
protected final long ALT_MASK
protected final long CTRL_MASK
protected final long SHIFT_MASK
protected final long SC_DOCK_LEFT
protected final long SC_DOCK_RIGHT
public void registerShortcutKey(long shortcutCode)
shortcutCode
- packed representation of shortcut key code and meta informationpublic void onShortcutKeyPressed(long shortcutCode)
onShortcutKeyPressed
in interface ShortcutKeyServiceProxy.Callbacks