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.java59 public void registerShortcutKey(long shortcutCode) { in registerShortcutKey() argument
61 mWindowManagerService.registerShortcutKey(shortcutCode, mShortcutKeyServiceProxy); in registerShortcutKey()
68 public void onShortcutKeyPressed(long shortcutCode) { in onShortcutKeyPressed() argument
70 if ((shortcutCode == SC_DOCK_LEFT || shortcutCode == SC_DOCK_RIGHT) in onShortcutKeyPressed()
72 handleDockKey(shortcutCode); in onShortcutKeyPressed()
82 private void handleDockKey(long shortcutCode) { in handleDockKey() argument
88 recents.splitPrimaryTask((shortcutCode == SC_DOCK_LEFT) in handleDockKey()
98 DividerSnapAlgorithm.SnapTarget target = (shortcutCode == SC_DOCK_LEFT) in handleDockKey()
DShortcutKeyServiceProxy.java37 void onShortcutKeyPressed(long shortcutCode); in onShortcutKeyPressed() argument
43 public void notifyShortcutKeyPressed(long shortcutCode) throws RemoteException { in notifyShortcutKeyPressed() argument
45 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/services/tests/wmtests/src/com/android/server/wm/
DTestWindowManagerPolicy.java61 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutKeyReceiver) in registerShortcutKey() argument
/frameworks/base/core/java/android/view/
DIWindowManager.aidl446 void registerShortcutKey(in long shortcutCode, IShortcutService keySubscriber); in registerShortcutKey() argument
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3015 long shortcutCode = keyCode; in interceptKeyBeforeDispatchingInner() local
3017 shortcutCode |= ((long) KeyEvent.META_CTRL_ON) << Integer.SIZE; in interceptKeyBeforeDispatchingInner()
3021 shortcutCode |= ((long) KeyEvent.META_ALT_ON) << Integer.SIZE; in interceptKeyBeforeDispatchingInner()
3025 shortcutCode |= ((long) KeyEvent.META_SHIFT_ON) << Integer.SIZE; in interceptKeyBeforeDispatchingInner()
3029 shortcutCode |= ((long) KeyEvent.META_META_ON) << Integer.SIZE; in interceptKeyBeforeDispatchingInner()
3032 IShortcutService shortcutService = mShortcutKeyServices.get(shortcutCode); in interceptKeyBeforeDispatchingInner()
3036 shortcutService.notifyShortcutKeyPressed(shortcutCode); in interceptKeyBeforeDispatchingInner()
3039 mShortcutKeyServices.delete(shortcutCode); in interceptKeyBeforeDispatchingInner()
3243 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutService) in registerShortcutKey() argument
3246 IShortcutService service = mShortcutKeyServices.get(shortcutCode); in registerShortcutKey()
[all …]
DWindowManagerPolicy.java165 void registerShortcutKey(long shortcutCode, IShortcutService shortcutKeyReceiver) in registerShortcutKey() argument
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java7066 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutKeyReceiver) in registerShortcutKey() argument
7072 mPolicy.registerShortcutKey(shortcutCode, shortcutKeyReceiver); in registerShortcutKey()