Searched refs:keyboardId (Results 1 – 8 of 8) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
D | Keyboard.java | 17 private final KeyboardId keyboardId; field in Keyboard 23 private Keyboard(KeyboardId keyboardId, ImmutableList<String> names, in Keyboard() argument 25 this.keyboardId = checkNotNull(keyboardId); in Keyboard() 35 public static Keyboard of(KeyboardId keyboardId, ImmutableList<String> names, in of() argument 37 return new Keyboard(keyboardId, names, keyMaps, transforms); in of() 40 public KeyboardId keyboardId() { in keyboardId() method in Keyboard 41 return keyboardId; in keyboardId() 62 throw new IllegalStateException("Missing base map for " + keyboardId); in getBaseMap() 76 return keyboardId.equals(other.keyboardId) && names.equals(other.names) in equals() 84 return Objects.hashCode(keyboardId, names, keyMaps, transforms); in hashCode() [all …]
|
D | KeyboardBuilder.java | 104 for (KeyboardId keyboardId : keyboardIds) { in build() 105 … keyboards.add(Keyboard.of(keyboardId, names.build(), keyMaps.build(), transforms.build())); in build()
|
D | KeyboardTool.java | 74 String id = keyboard.keyboardId().toString(); in parseWindowsKeyboards()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ShowKeyboards.java | 132 for (String keyboardId : Keyboard.getKeyboardIDs(platformId)) { in showRepertoire() 133 if (!idMatcher.reset(keyboardId).matches()) { in showRepertoire() 136 Keyboard keyboard = Keyboard.getKeyboard(platformId, keyboardId, errors); in showRepertoire() 138 totalErrors.add(new IllegalArgumentException(keyboardId, error)); in showRepertoire() 141 final Id id = new Id(keyboardId, keyboard.getPlatformVersion()); in showRepertoire() 217 for (String keyboardId : Keyboard.getKeyboardIDs(platformId)) { in showHtml() 218 if (!idMatcher.reset(keyboardId).matches()) { in showHtml() 221 String baseLocale = keyboardId.substring(0, keyboardId.indexOf('-')); in showHtml() 222 String locale = keyboardId.substring(0, keyboardId.indexOf("-t-")); in showHtml() 223 locale2keyboards.put(baseLocale, Row.of(platformId, locale, keyboardId)); in showHtml() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestKeyboard.java | 152 for (String keyboardId : Keyboard.getKeyboardIDs(keyboardPlatformId)) { in testVerifyKeyboardLoad() 155 … Keyboard keyboard = Keyboard.getKeyboard(keyboardPlatformId, keyboardId, errors); in testVerifyKeyboardLoad() 157 if (!localeId.equals(keyboardId.replace(".xml", ""))) { in testVerifyKeyboardLoad() 158 …rs.add(new IllegalArgumentException("filename and id don't match:\t" + keyboardId + "\t" + localeI… in testVerifyKeyboardLoad() 170 msg(keyboardPlatformId + "\t" + keyboardId, in testVerifyKeyboardLoad()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | Keyboard.java | 168 public static String getPlatformId(String keyboardId) { in getPlatformId() argument 169 int pos = keyboardId.indexOf("-t-k0-") + 6; in getPlatformId() 170 int pos2 = keyboardId.indexOf('-', pos); in getPlatformId() 172 pos2 = keyboardId.length(); in getPlatformId() 174 return keyboardId.substring(pos, pos2); in getPlatformId() 177 … public static Keyboard getKeyboard(String platformId, String keyboardId, Set<Exception> errors) { in getKeyboard() argument 178 final String fileName = BASE + platformId + "/" + keyboardId + ".xml"; in getKeyboard()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/out/ |
D | KeyboardToXml.java | 43 xmlWriter.startElement("keyboard", ImmutableMap.of("locale", keyboard.keyboardId())); in toXml() 54 Platform platform = keyboard.keyboardId().platform(); in addMetadata()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/ |
D | KeyboardTest.java | 58 KeyboardId id = keyboard.keyboardId(); in testKeyboardId()
|