Lines Matching refs:keyCodes
165 int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists);
400 * @param keyCodes The array of key codes to check.
401 * @param keyExists An array at least as large as keyCodes whose entries will be set
407 public boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists) {
408 if (keyCodes == null) {
409 throw new IllegalArgumentException("keyCodes must not be null.");
411 if (keyExists == null || keyExists.length < keyCodes.length) {
413 + "least as large as keyCodes.");
416 return nativeHasKeys(mPtr, deviceId, sourceMask, keyCodes, keyExists);