Searched refs:HyphenatorMap (Results 1 – 8 of 8) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | HyphenatorMap.cpp | 37 HyphenatorMap::add(localeStr, hyphenator); in addHyphenator() 41 HyphenatorMap::addAlias(fromLocaleStr, toLocaleStr); in addHyphenatorAlias() 44 HyphenatorMap::HyphenatorMap() in HyphenatorMap() function in minikin::HyphenatorMap 48 void HyphenatorMap::addInternal(const std::string& localeStr, const Hyphenator* hyphenator) { in addInternal() 55 void HyphenatorMap::clearInternal() { in clearInternal() 59 void HyphenatorMap::addAliasInternal(const std::string& fromLocaleStr, in addAliasInternal() 73 const Hyphenator* HyphenatorMap::lookupInternal(const Locale& locale) { in lookupInternal() 115 const Hyphenator* HyphenatorMap::lookupByIdentifier(uint64_t id) const { in lookupByIdentifier() 120 const Hyphenator* HyphenatorMap::lookupBySubtag(const Locale& locale, SubtagBits bits) const { in lookupBySubtag()
|
D | HyphenatorMap.h | 30 class HyphenatorMap { 61 HyphenatorMap(); // Use getInstance() instead. 67 static HyphenatorMap& getInstance() { // Singleton. in getInstance() 68 static HyphenatorMap map; in getInstance()
|
D | Android.bp | 35 "HyphenatorMap.cpp",
|
D | LineBreakerUtil.h | 155 hyphenator = HyphenatorMap::lookup(locale); in updateLocaleIfNecessary()
|
D | GreedyLineBreaker.cpp | 337 mHyphenator = HyphenatorMap::lookup(locale); in process()
|
/frameworks/minikin/tests/unittest/ |
D | HyphenatorMapTest.cpp | 65 class TestableHyphenatorMap : public HyphenatorMap { 67 TestableHyphenatorMap() : HyphenatorMap() {} in TestableHyphenatorMap() 69 using HyphenatorMap::addAliasInternal; 70 using HyphenatorMap::addInternal; 71 using HyphenatorMap::lookupInternal;
|
D | GreedyLineBreakerTest.cpp | 60 HyphenatorMap::add("en-US", hyphenator); in SetUp() 61 HyphenatorMap::add("pl", Hyphenator::loadBinary(nullptr, 0, 0, "pl")); in SetUp() 64 virtual void TearDown() override { HyphenatorMap::clear(); } in TearDown()
|
D | OptimalLineBreakerTest.cpp | 60 HyphenatorMap::add("en-US", hyphenator); in SetUp() 61 HyphenatorMap::add("pl", Hyphenator::loadBinary(nullptr, 0, 0, "pl")); in SetUp() 64 virtual void TearDown() override { HyphenatorMap::clear(); } in TearDown()
|