Lines Matching defs:inputDeviceDescriptor

898     public String getCurrentKeyboardLayoutForInputDevice(String inputDeviceDescriptor) {
899 if (inputDeviceDescriptor == null) {
900 throw new IllegalArgumentException("inputDeviceDescriptor must not be null");
904 return mDataStore.getCurrentKeyboardLayout(inputDeviceDescriptor);
909 public void setCurrentKeyboardLayoutForInputDevice(String inputDeviceDescriptor,
915 if (inputDeviceDescriptor == null) {
916 throw new IllegalArgumentException("inputDeviceDescriptor must not be null");
925 inputDeviceDescriptor, keyboardLayoutDescriptor)) {
935 public String[] getKeyboardLayoutsForInputDevice(String inputDeviceDescriptor) {
936 if (inputDeviceDescriptor == null) {
937 throw new IllegalArgumentException("inputDeviceDescriptor must not be null");
941 return mDataStore.getKeyboardLayouts(inputDeviceDescriptor);
946 public void addKeyboardLayoutForInputDevice(String inputDeviceDescriptor,
952 if (inputDeviceDescriptor == null) {
953 throw new IllegalArgumentException("inputDeviceDescriptor must not be null");
961 String oldLayout = mDataStore.getCurrentKeyboardLayout(inputDeviceDescriptor);
962 if (mDataStore.addKeyboardLayout(inputDeviceDescriptor, keyboardLayoutDescriptor)
964 mDataStore.getCurrentKeyboardLayout(inputDeviceDescriptor))) {
974 public void removeKeyboardLayoutForInputDevice(String inputDeviceDescriptor,
980 if (inputDeviceDescriptor == null) {
981 throw new IllegalArgumentException("inputDeviceDescriptor must not be null");
989 String oldLayout = mDataStore.getCurrentKeyboardLayout(inputDeviceDescriptor);
990 if (mDataStore.removeKeyboardLayout(inputDeviceDescriptor,
993 mDataStore.getCurrentKeyboardLayout(inputDeviceDescriptor))) {
1010 final String inputDeviceDescriptor = device.getDescriptor();
1015 changed = mDataStore.switchKeyboardLayout(inputDeviceDescriptor, direction);
1017 inputDeviceDescriptor);
1429 private String[] getKeyboardLayoutOverlay(String inputDeviceDescriptor) {
1435 inputDeviceDescriptor);