Home
last modified time | relevance | path

Searched refs:shortcutCode (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java73 public void registerShortcutKey(long shortcutCode) { in registerShortcutKey() argument
75 mWindowManagerService.registerShortcutKey(shortcutCode, mShortcutKeyServiceProxy); in registerShortcutKey()
82 public void onShortcutKeyPressed(long shortcutCode) { in onShortcutKeyPressed() argument
84 if ((shortcutCode == SC_DOCK_LEFT || shortcutCode == SC_DOCK_RIGHT) in onShortcutKeyPressed()
86 handleDockKey(shortcutCode); in onShortcutKeyPressed()
96 private void handleDockKey(long shortcutCode) { in handleDockKey() argument
102 int dockMode = (shortcutCode == SC_DOCK_LEFT) in handleDockKey()
114 int increment = (shortcutCode == SC_DOCK_LEFT) ? -1 : 1; in handleDockKey()
DShortcutKeyServiceProxy.java36 void onShortcutKeyPressed(long shortcutCode); in onShortcutKeyPressed() argument
42 public void notifyShortcutKeyPressed(long shortcutCode) throws RemoteException { in notifyShortcutKeyPressed() argument
44 mHandler.obtainMessage(MSG_SHORTCUT_RECEIVED, shortcutCode).sendToTarget(); in notifyShortcutKeyPressed()
/frameworks/base/core/java/com/android/internal/policy/
DIShortcutService.aidl27 void notifyShortcutKeyPressed(long shortcutCode); in notifyShortcutKeyPressed() argument
/frameworks/base/core/java/android/view/
DIWindowManager.aidl419 void registerShortcutKey(in long shortcutCode, IShortcutService keySubscriber); in registerShortcutKey() argument
DWindowManagerPolicy.java135 void registerShortcutKey(long shortcutCode, IShortcutService shortcutKeyReceiver) in registerShortcutKey() argument
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java591 public void registerShortcutKey(long shortcutCode, IShortcutService service) in registerShortcutKey() argument
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3435 long shortcutCode = keyCode; in interceptKeyBeforeDispatching() local
3437 shortcutCode |= ((long) KeyEvent.META_CTRL_ON) << Integer.SIZE; in interceptKeyBeforeDispatching()
3441 shortcutCode |= ((long) KeyEvent.META_ALT_ON) << Integer.SIZE; in interceptKeyBeforeDispatching()
3445 shortcutCode |= ((long) KeyEvent.META_SHIFT_ON) << Integer.SIZE; in interceptKeyBeforeDispatching()
3449 shortcutCode |= ((long) KeyEvent.META_META_ON) << Integer.SIZE; in interceptKeyBeforeDispatching()
3452 IShortcutService shortcutService = mShortcutKeyServices.get(shortcutCode); in interceptKeyBeforeDispatching()
3456 shortcutService.notifyShortcutKeyPressed(shortcutCode); in interceptKeyBeforeDispatching()
3459 mShortcutKeyServices.delete(shortcutCode); in interceptKeyBeforeDispatching()
3555 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutService) in registerShortcutKey() argument
3558 IShortcutService service = mShortcutKeyServices.get(shortcutCode); in registerShortcutKey()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java11354 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutKeyReceiver) in registerShortcutKey() argument
11361 mPolicy.registerShortcutKey(shortcutCode, shortcutKeyReceiver); in registerShortcutKey()