Lines Matching defs:keys
240 * of keys is a string containing the key names as specified in KeyEvent, without the
245 * @param keysSequence The sequence of keys.
248 final String[] keys = keysSequence.split(" ");
249 final int count = keys.length;
254 String key = keys[i];
297 * @param keys The series of key codes to send through instrumentation.
299 public void sendKeys(int... keys) {
300 final int count = keys.length;
305 instrumentation.sendKeyDownUpSync(keys[i]);
321 * @param keys The series of key repeats and codes to send through instrumentation.
323 public void sendRepeatedKeys(int... keys) {
324 final int count = keys.length;
326 throw new IllegalArgumentException("The size of the keys array must "
333 final int keyCount = keys[i];
334 final int keyCode = keys[i + 1];