Home
last modified time | relevance | path

Searched refs:metaState (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DEvents.java106 public static boolean hasShiftBit(int metaState) { in hasShiftBit() argument
107 return (metaState & KeyEvent.META_SHIFT_ON) != 0; in hasShiftBit()
110 public static boolean hasCtrlBit(int metaState) { in hasCtrlBit() argument
111 return (metaState & KeyEvent.META_CTRL_ON) != 0; in hasCtrlBit()
114 public static boolean hasAltBit(int metaState) { in hasAltBit() argument
115 return (metaState & KeyEvent.META_ALT_ON) != 0; in hasAltBit()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DEmojiAltPhysicalKeyDetector.java85 int metaState = keyEvent.getMetaState(); in onKeyUp() local
90 metaState |= mMetaState; in onKeyUp()
93 final Pair<Integer, Integer> key = Pair.create(keyCode, metaState); in onKeyUp()
197 final Integer metaState = Integer.parseInt(valuePair[1]); in parseHotKeys() local
199 keyCode, KeyEvent.normalizeMetaState(metaState)); in parseHotKeys()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DKeyboardBot.java61 public void pressKey(int keyCode, int metaState) { in pressKey() argument
62 mDevice.pressKeyCode(keyCode, metaState); in pressKey()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMotionEventHelper.java53 int metaState = e.getMetaState(); in transformEventOld() local
76 pointerCount, pointerIds, pointerCoords, metaState, xPrecision, in transformEventOld()