Lines Matching refs:descriptor
222 * Gets information about the input device with the specified descriptor.
223 * @param descriptor The input device descriptor.
227 public InputDevice getInputDeviceByDescriptor(String descriptor) {
228 if (descriptor == null) {
229 throw new IllegalArgumentException("descriptor must not be null.");
248 if (descriptor.equals(inputDevice.getDescriptor())) {
350 * Gets the keyboard layout with the specified descriptor.
352 * @param keyboardLayoutDescriptor The keyboard layout descriptor, as returned by
372 * Gets the current keyboard layout descriptor for the specified input device.
374 * @param inputDeviceDescriptor The input device descriptor.
375 * @return The keyboard layout descriptor, or null if no keyboard layout has been set.
393 * Sets the current keyboard layout descriptor for the specified input device.
399 * @param inputDeviceDescriptor The input device descriptor.
400 * @param keyboardLayoutDescriptor The keyboard layout descriptor to use, must not be null.
424 * @param inputDeviceDescriptor The input device descriptor.
443 * Adds the keyboard layout descriptor for the specified input device.
449 * @param inputDeviceDescriptor The input device descriptor.
450 * @param keyboardLayoutDescriptor The descriptor of the keyboard layout to add.
471 * Removes the keyboard layout descriptor for the specified input device.
477 * @param inputDeviceDescriptor The input device descriptor.
478 * @param keyboardLayoutDescriptor The descriptor of the keyboard layout to remove.