Lines Matching defs:inputDeviceDescriptor
897 public String getCurrentKeyboardLayoutForInputDevice(String inputDeviceDescriptor) {
898 if (inputDeviceDescriptor == null) {
899 throw new IllegalArgumentException("inputDeviceDescriptor must not be null");
903 return mDataStore.getCurrentKeyboardLayout(inputDeviceDescriptor);
908 public void setCurrentKeyboardLayoutForInputDevice(String inputDeviceDescriptor,
914 if (inputDeviceDescriptor == null) {
915 throw new IllegalArgumentException("inputDeviceDescriptor must not be null");
924 inputDeviceDescriptor, keyboardLayoutDescriptor)) {
934 public String[] getKeyboardLayoutsForInputDevice(String inputDeviceDescriptor) {
935 if (inputDeviceDescriptor == null) {
936 throw new IllegalArgumentException("inputDeviceDescriptor must not be null");
940 return mDataStore.getKeyboardLayouts(inputDeviceDescriptor);
945 public void addKeyboardLayoutForInputDevice(String inputDeviceDescriptor,
951 if (inputDeviceDescriptor == null) {
952 throw new IllegalArgumentException("inputDeviceDescriptor must not be null");
960 String oldLayout = mDataStore.getCurrentKeyboardLayout(inputDeviceDescriptor);
961 if (mDataStore.addKeyboardLayout(inputDeviceDescriptor, keyboardLayoutDescriptor)
963 mDataStore.getCurrentKeyboardLayout(inputDeviceDescriptor))) {
973 public void removeKeyboardLayoutForInputDevice(String inputDeviceDescriptor,
979 if (inputDeviceDescriptor == null) {
980 throw new IllegalArgumentException("inputDeviceDescriptor must not be null");
988 String oldLayout = mDataStore.getCurrentKeyboardLayout(inputDeviceDescriptor);
989 if (mDataStore.removeKeyboardLayout(inputDeviceDescriptor,
992 mDataStore.getCurrentKeyboardLayout(inputDeviceDescriptor))) {
1009 final String inputDeviceDescriptor = device.getDescriptor();
1014 changed = mDataStore.switchKeyboardLayout(inputDeviceDescriptor, direction);
1016 inputDeviceDescriptor);
1427 private String[] getKeyboardLayoutOverlay(String inputDeviceDescriptor) {
1433 inputDeviceDescriptor);