Home
last modified time | relevance | path

Searched refs:metaKeys (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTabHostTest.java480 private void sendKeyComboSync(int keyCode, int[] metaKeys) { in sendKeyComboSync() argument
482 if (metaKeys != null) { in sendKeyComboSync()
483 for (int mk = 0; mk < metaKeys.length; ++mk) { in sendKeyComboSync()
484 metaState |= metaFromKey(metaKeys[mk]); in sendKeyComboSync()
485 mInstrumentation.sendKeySync(new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, metaKeys[mk], in sendKeyComboSync()
493 if (metaKeys != null) { in sendKeyComboSync()
494 for (int mk = 0; mk < metaKeys.length; ++mk) { in sendKeyComboSync()
495 metaState &= ~metaFromKey(metaKeys[mk]); in sendKeyComboSync()
496 mInstrumentation.sendKeySync(new KeyEvent(0, 0, KeyEvent.ACTION_UP, metaKeys[mk], 0, in sendKeyComboSync()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java555 final String[] metaKeys = metaStateString.split("\\|"); in metaStateFromString() local
556 for (final String metaKeyString : metaKeys) { in metaStateFromString()