/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/ |
D | CharacterMapTest.java | 8 import org.unicode.cldr.draft.keyboard.CharacterMap; 18 CharacterMap character = CharacterMap.of(B04, "a", longPress); in testCharacterMap() 25 CharacterMap character1 = CharacterMap.of(B00, "test1"); in testCompareTo() 26 CharacterMap character2 = CharacterMap.of(B01, "test2"); in testCompareTo() 27 CharacterMap character3 = CharacterMap.of(A03, "test3"); in testCompareTo() 28 CharacterMap character4 = CharacterMap.of(A03, "test4"); in testCompareTo() 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()
|
D | KeyboardTest.java | 5 import org.unicode.cldr.draft.keyboard.CharacterMap; 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 …]
|
D | KeyMapTest.java | 5 import org.unicode.cldr.draft.keyboard.CharacterMap; 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() 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() 70 CharacterMap characterMap2 = CharacterMap.of(IsoLayoutPosition.C02, "S"); in testEqualsTrue() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
D | CharacterMap.java | 14 public final class CharacterMap implements Comparable<CharacterMap> { class 20 private CharacterMap(IsoLayoutPosition position, String output, in CharacterMap() method in CharacterMap 29 public static CharacterMap of(IsoLayoutPosition position, String output) { in of() 30 return new CharacterMap(position, output, ImmutableList.<String> of(), false); in of() 34 public static CharacterMap of(IsoLayoutPosition position, String output, in of() 36 return new CharacterMap(position, output, longPressKeys, false); in of() 51 public CharacterMap markAsTransformNo() { in markAsTransformNo() 52 return new CharacterMap(position, output, longPressKeys, true); in markAsTransformNo() 73 if (o instanceof CharacterMap) { in equals() 74 CharacterMap other = (CharacterMap) o; in equals() [all …]
|
D | KeyMap.java | 27 private final ImmutableSortedMap<IsoLayoutPosition, CharacterMap> isoLayoutToCharacterMap; 30 ImmutableSortedMap<IsoLayoutPosition, CharacterMap> isoLayoutToCharacterMap) { in KeyMap() 37 ImmutableSet<CharacterMap> characterMaps) { in of() 39 characterMaps, CharacterMap.isoLayoutPositionFunction()))); in of() 46 public ImmutableSortedMap<IsoLayoutPosition, CharacterMap> isoLayoutToCharacterMap() { in isoLayoutToCharacterMap()
|
D | KeyboardBuilder.java | 28 …private final Table<ModifierKeyCombination, IsoLayoutPosition, CharacterMap> modifierAndPositionTo… 58 ModifierKeyCombination combination, CharacterMap characterMap) { in addCharacterMap() 61 … CharacterMap existing = modifierAndPositionToCharacter.get(combination, characterMap.position()); in addCharacterMap() 74 Collection<ModifierKeyCombination> combinations, CharacterMap characterMap) { in addCharacterMap() 85 …ListMultimap<ImmutableSet<CharacterMap>, ModifierKeyCombination> charactersToCombinations = ArrayL… in build() 87 … Collection<CharacterMap> characterMaps = modifierAndPositionToCharacter.row(combination).values(); in build() 93 for (ImmutableSet<CharacterMap> characterMaps : charactersToCombinations.keySet()) { in build()
|
/external/sfntly/cpp/src/sample/subtly/ |
D | font_info.h | 56 typedef std::map<int32_t, GlyphId> CharacterMap; typedef 68 FontInfo(CharacterMap* chars_to_glyph_ids, 81 CharacterMap* chars_to_glyph_ids() const { return chars_to_glyph_ids_; } in chars_to_glyph_ids() 83 void set_chars_to_glyph_ids(CharacterMap* chars_to_glyph_ids); 92 CharacterMap* chars_to_glyph_ids_; 113 bool GetCharacterMap(CharacterMap* chars_to_glyph_ids); 114 bool ResolveCompositeGlyphs(CharacterMap* chars_to_glyph_ids,
|
D | font_info.cc | 58 : chars_to_glyph_ids_(new CharacterMap), in FontInfo() 63 FontInfo::FontInfo(CharacterMap* chars_to_glyph_ids, in FontInfo() 66 chars_to_glyph_ids_ = new CharacterMap(chars_to_glyph_ids->begin(), in FontInfo() 97 void FontInfo::set_chars_to_glyph_ids(CharacterMap* chars_to_glyph_ids) { in set_chars_to_glyph_ids() 141 CharacterMap* chars_to_glyph_ids = new CharacterMap; in GetFontInfo() 172 bool FontSourcedInfoBuilder::GetCharacterMap(CharacterMap* chars_to_glyph_ids) { in GetCharacterMap() 192 FontSourcedInfoBuilder::ResolveCompositeGlyphs(CharacterMap* chars_to_glyph_ids, in ResolveCompositeGlyphs() 205 for (CharacterMap::iterator it = chars_to_glyph_ids->begin(), in ResolveCompositeGlyphs()
|
D | font_assembler.cc | 89 CharacterMap* chars_to_glyph_ids = font_info_->chars_to_glyph_ids(); in AssembleCMapTable() 101 for (CharacterMap::iterator it = chars_to_glyph_ids->begin(), in AssembleCMapTable()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/out/ |
D | KeyboardToXml.java | 7 import org.unicode.cldr.draft.keyboard.CharacterMap; 98 for (CharacterMap characterMap : keyMap.isoLayoutToCharacterMap().values()) { in addKeyMaps() 135 private String buildReadabilityComment(CharacterMap characterMap, String escapedOutput) { in buildReadabilityComment() 145 CharacterMap baseKey = baseMap.isoLayoutToCharacterMap().get(position); in buildReadabilityComment()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/windows/ |
D | KlcParser.java | 12 import org.unicode.cldr.draft.keyboard.CharacterMap; 227 Map<Integer, CharacterMap> modifierIndexToCharacterMap = Maps.newHashMap(); in parseLayout() 255 CharacterMap characterMap = CharacterMap.of(position, character); in parseLayout() 291 CharacterMap characterMap = CharacterMap.of(position, character); in parseLayout()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/osx/ |
D | KeylayoutParser.java | 15 import org.unicode.cldr.draft.keyboard.CharacterMap; 208 CharacterMap characterMap = CharacterMap.of(position, key.getAttribute("output")); in parseKeyMaps()
|