Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java75 public void registerShortcutKey(long shortcutCode) { in registerShortcutKey() argument
77 mWindowManagerService.registerShortcutKey(shortcutCode, mShortcutKeyServiceProxy); in registerShortcutKey()
84 public void onShortcutKeyPressed(long shortcutCode) { in onShortcutKeyPressed() argument
86 if ((shortcutCode == SC_DOCK_LEFT || shortcutCode == SC_DOCK_RIGHT) in onShortcutKeyPressed()
88 handleDockKey(shortcutCode); in onShortcutKeyPressed()
98 private void handleDockKey(long shortcutCode) { in handleDockKey() argument
104 int dockMode = (shortcutCode == SC_DOCK_LEFT) in handleDockKey()
124 DividerSnapAlgorithm.SnapTarget target = (shortcutCode == SC_DOCK_LEFT) 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.aidl383 void registerShortcutKey(in long shortcutCode, IShortcutService keySubscriber); in registerShortcutKey() argument
DWindowManagerPolicy.java190 void registerShortcutKey(long shortcutCode, IShortcutService shortcutKeyReceiver) in registerShortcutKey() argument
/frameworks/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java506 public void registerShortcutKey(long shortcutCode, IShortcutService service) in registerShortcutKey() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTestWindowManagerPolicy.java114 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutKeyReceiver) in registerShortcutKey() argument
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3802 long shortcutCode = keyCode; in interceptKeyBeforeDispatching() local
3804 shortcutCode |= ((long) KeyEvent.META_CTRL_ON) << Integer.SIZE; in interceptKeyBeforeDispatching()
3808 shortcutCode |= ((long) KeyEvent.META_ALT_ON) << Integer.SIZE; in interceptKeyBeforeDispatching()
3812 shortcutCode |= ((long) KeyEvent.META_SHIFT_ON) << Integer.SIZE; in interceptKeyBeforeDispatching()
3816 shortcutCode |= ((long) KeyEvent.META_META_ON) << Integer.SIZE; in interceptKeyBeforeDispatching()
3819 IShortcutService shortcutService = mShortcutKeyServices.get(shortcutCode); in interceptKeyBeforeDispatching()
3823 shortcutService.notifyShortcutKeyPressed(shortcutCode); in interceptKeyBeforeDispatching()
3826 mShortcutKeyServices.delete(shortcutCode); in interceptKeyBeforeDispatching()
3988 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutService) in registerShortcutKey() argument
3991 IShortcutService service = mShortcutKeyServices.get(shortcutCode); in registerShortcutKey()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7322 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutKeyReceiver) in registerShortcutKey() argument
7328 mPolicy.registerShortcutKey(shortcutCode, shortcutKeyReceiver); in registerShortcutKey()