Home
last modified time | relevance | path

Searched refs:IsoLayoutPosition (Results 1 – 14 of 14) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/
DIsoLayoutPositionTest.java3 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition;
9 IsoLayoutPosition position = IsoLayoutPosition.forPosition('C', 6); in testForPosition()
10 assertEquals("", IsoLayoutPosition.C06, position); in testForPosition()
15 IsoLayoutPosition.forPosition('F', 6); in testForPositionWithInvalidRow()
24 IsoLayoutPosition.forPosition('A', 14); in testForPositionWithInvalidColumn()
33 IsoLayoutPosition.forPosition('A', 9); in testForPositionWithMissingEntry()
41 String string = IsoLayoutPosition.A02.toString(); in testToStringWithLeadingZero()
46 IsoLayoutPosition position = IsoLayoutPosition.D01; in testIsoLayoutPosition()
53 IsoLayoutPosition position = IsoLayoutPosition.B00; in testIsoLayoutPositionForNonUsKey()
DKeyboardTest.java6 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition;
29 CharacterMap characterMap1 = CharacterMap.of(IsoLayoutPosition.E02, "ě"); in createKeyboard()
30 CharacterMap characterMap2 = CharacterMap.of(IsoLayoutPosition.E03, "š", in createKeyboard()
32 CharacterMap characterMap3 = CharacterMap.of(IsoLayoutPosition.D10, "¨"); in createKeyboard()
43 CharacterMap characterMap4 = CharacterMap.of(IsoLayoutPosition.C01, "ä"); in createKeyboard()
44 … CharacterMap characterMap5 = CharacterMap.of(IsoLayoutPosition.C03, "ß", ImmutableList.of("Ð")); in createKeyboard()
45 CharacterMap characterMap6 = CharacterMap.of(IsoLayoutPosition.C10, "\u0302"); in createKeyboard()
73 CharacterMap characterMap1 = CharacterMap.of(IsoLayoutPosition.E02, "ě"); in testKeyMaps()
74 CharacterMap characterMap2 = CharacterMap.of(IsoLayoutPosition.E03, "š", in testKeyMaps()
76 CharacterMap characterMap3 = CharacterMap.of(IsoLayoutPosition.D10, "¨"); in testKeyMaps()
[all …]
DCharacterMapTest.java3 import static org.unicode.cldr.draft.keyboard.IsoLayoutPosition.A03;
4 import static org.unicode.cldr.draft.keyboard.IsoLayoutPosition.B00;
5 import static org.unicode.cldr.draft.keyboard.IsoLayoutPosition.B01;
6 import static org.unicode.cldr.draft.keyboard.IsoLayoutPosition.B04;
9 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition;
44 CharacterMap characterMap1 = CharacterMap.of(IsoLayoutPosition.A01, "Output", in testEqualsTrue()
46 CharacterMap characterMap2 = CharacterMap.of(IsoLayoutPosition.A01, "Output", in testEqualsTrue()
54 CharacterMap characterMap1 = CharacterMap.of(IsoLayoutPosition.A01, "Output", in testEqualsFalse()
56 CharacterMap characterMap2 = CharacterMap.of(IsoLayoutPosition.A01, "Output"); in testEqualsFalse()
DKeyMapTest.java6 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition;
26 CharacterMap characterMap1 = CharacterMap.of(IsoLayoutPosition.C03, "A", in createKeyMap()
28 CharacterMap characterMap2 = CharacterMap.of(IsoLayoutPosition.C02, "S"); in createKeyMap()
42 CharacterMap characterMap1 = CharacterMap.of(IsoLayoutPosition.C03, "A", in testIsoLayoutToCharacterMap()
44 CharacterMap characterMap2 = CharacterMap.of(IsoLayoutPosition.C02, "S"); in testIsoLayoutToCharacterMap()
45 ImmutableMap<IsoLayoutPosition, CharacterMap> isoLayoutToCharacterMap = ImmutableMap.of( in testIsoLayoutToCharacterMap()
46 IsoLayoutPosition.C03, characterMap1, IsoLayoutPosition.C02, characterMap2); in testIsoLayoutToCharacterMap()
54 CharacterMap characterMap1 = CharacterMap.of(IsoLayoutPosition.C03, "B", in testEqualsFalse()
56 CharacterMap characterMap2 = CharacterMap.of(IsoLayoutPosition.C02, "W"); in testEqualsFalse()
68 CharacterMap characterMap1 = CharacterMap.of(IsoLayoutPosition.C03, "A", in testEqualsTrue()
[all …]
DKeycodeMapTest.java3 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition;
12 assertEquals("", IsoLayoutPosition.E03, mapping.getIsoLayoutPosition(50)); in testGetIsoLayoutPosition()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DCharacterMap.java15 private final IsoLayoutPosition position;
20 private CharacterMap(IsoLayoutPosition position, String output, in CharacterMap()
29 public static CharacterMap of(IsoLayoutPosition position, String output) { in of()
34 public static CharacterMap of(IsoLayoutPosition position, String output, in of()
39 public IsoLayoutPosition position() { in position()
92 static Function<CharacterMap, IsoLayoutPosition> isoLayoutPositionFunction() { in isoLayoutPositionFunction()
97 implements Function<CharacterMap, IsoLayoutPosition> {
101 public IsoLayoutPosition apply(CharacterMap character) { in apply()
DKeycodeMap.java20 private final ImmutableSortedMap<Integer, IsoLayoutPosition> keycodeToIsoLayout;
22 private KeycodeMap(ImmutableSortedMap<Integer, IsoLayoutPosition> keycodeToIsoLayout) { in KeycodeMap()
37 …ImmutableSortedMap.Builder<Integer, IsoLayoutPosition> builder = ImmutableSortedMap.naturalOrder(); in fromCsv()
41 … builder.put(Integer.valueOf(components.get(0)), IsoLayoutPosition.valueOf(components.get(1))); in fromCsv()
61 public IsoLayoutPosition getIsoLayoutPosition(Integer keycode) { in getIsoLayoutPosition()
66 public ImmutableSortedMap<Integer, IsoLayoutPosition> keycodeToIsoLayout() { in keycodeToIsoLayout()
DIsoLayoutPosition.java27 public enum IsoLayoutPosition { enum
60 private IsoLayoutPosition(char row, int column, String englishKeyName) { in IsoLayoutPosition() method in IsoLayoutPosition
91 public static IsoLayoutPosition forPosition(char row, int column) { in forPosition()
92 for (IsoLayoutPosition position : values()) { in forPosition()
DKeyMap.java27 private final ImmutableSortedMap<IsoLayoutPosition, CharacterMap> isoLayoutToCharacterMap;
30 ImmutableSortedMap<IsoLayoutPosition, CharacterMap> isoLayoutToCharacterMap) { in KeyMap() argument
46 public ImmutableSortedMap<IsoLayoutPosition, CharacterMap> isoLayoutToCharacterMap() { in isoLayoutToCharacterMap()
DKeyboardBuilder.java28 …private final Table<ModifierKeyCombination, IsoLayoutPosition, CharacterMap> modifierAndPositionTo…
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/out/
DKeycodeMapToXml.java8 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition;
37 for (Entry<Integer, IsoLayoutPosition> entry : keycodeMap.keycodeToIsoLayout().entrySet()) { in toXml()
DKeyboardToXml.java8 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition;
138 IsoLayoutPosition position = characterMap.position(); in buildReadabilityComment()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/osx/
DKeylayoutParser.java16 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition;
207 IsoLayoutPosition position = KEYCODE_MAP.getIsoLayoutPosition(code); in parseKeyMaps()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/windows/
DKlcParser.java13 import org.unicode.cldr.draft.keyboard.IsoLayoutPosition;
226 IsoLayoutPosition position = KEYCODE_MAP.getIsoLayoutPosition(scanCode); in parseLayout()