Lines Matching refs:keyboardLayoutDescriptor
868 public KeyboardLayout getKeyboardLayout(String keyboardLayoutDescriptor) {
869 if (keyboardLayoutDescriptor == null) {
870 throw new IllegalArgumentException("keyboardLayoutDescriptor must not be null");
874 visitKeyboardLayout(keyboardLayoutDescriptor, new KeyboardLayoutVisitor() {
883 + keyboardLayoutDescriptor + "'.");
899 private void visitKeyboardLayout(String keyboardLayoutDescriptor,
901 KeyboardLayoutDescriptor d = KeyboardLayoutDescriptor.parse(keyboardLayoutDescriptor);
966 String descriptor = KeyboardLayoutDescriptor.format(
1031 String keyboardLayoutDescriptor) {
1036 if (keyboardLayoutDescriptor == null) {
1037 throw new IllegalArgumentException("keyboardLayoutDescriptor must not be null");
1043 if (mDataStore.setCurrentKeyboardLayout(key, keyboardLayoutDescriptor)) {
1070 String keyboardLayoutDescriptor) {
1075 if (keyboardLayoutDescriptor == null) {
1076 throw new IllegalArgumentException("keyboardLayoutDescriptor must not be null");
1086 if (mDataStore.addKeyboardLayout(key, keyboardLayoutDescriptor)
1099 String keyboardLayoutDescriptor) {
1104 if (keyboardLayoutDescriptor == null) {
1105 throw new IllegalArgumentException("keyboardLayoutDescriptor must not be null");
1115 boolean removed = mDataStore.removeKeyboardLayout(key, keyboardLayoutDescriptor);
1119 keyboardLayoutDescriptor);
1140 final String keyboardLayoutDescriptor;
1146 keyboardLayoutDescriptor = mDataStore.getCurrentKeyboardLayout(
1158 if (keyboardLayoutDescriptor != null) {
1159 KeyboardLayout keyboardLayout = getKeyboardLayout(keyboardLayoutDescriptor);
1569 String keyboardLayoutDescriptor = getCurrentKeyboardLayoutForInputDevice(identifier);
1570 if (keyboardLayoutDescriptor == null) {
1575 visitKeyboardLayout(keyboardLayoutDescriptor, new KeyboardLayoutVisitor() {
1590 + keyboardLayoutDescriptor + "'.");
1697 private static final class KeyboardLayoutDescriptor {
1707 public static KeyboardLayoutDescriptor parse(String descriptor) {
1717 KeyboardLayoutDescriptor result = new KeyboardLayoutDescriptor();