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.java490 private void sendKeyComboSync(int keyCode, int[] metaKeys) { in sendKeyComboSync() argument
492 if (metaKeys != null) { in sendKeyComboSync()
493 for (int mk = 0; mk < metaKeys.length; ++mk) { in sendKeyComboSync()
494 metaState |= metaFromKey(metaKeys[mk]); in sendKeyComboSync()
495 mInstrumentation.sendKeySync(new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, metaKeys[mk], in sendKeyComboSync()
503 if (metaKeys != null) { in sendKeyComboSync()
504 for (int mk = 0; mk < metaKeys.length; ++mk) { in sendKeyComboSync()
505 metaState &= ~metaFromKey(metaKeys[mk]); in sendKeyComboSync()
506 mInstrumentation.sendKeySync(new KeyEvent(0, 0, KeyEvent.ACTION_UP, metaKeys[mk], 0, in sendKeyComboSync()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java556 final String[] metaKeys = metaStateString.split("\\|"); in metaStateFromString() local
557 for (final String metaKeyString : metaKeys) { in metaStateFromString()