Home
last modified time | relevance | path

Searched refs:HyphenatorMap (Results 1 – 8 of 8) sorted by relevance

/frameworks/minikin/libs/minikin/
DHyphenatorMap.cpp37 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()
DHyphenatorMap.h30 class HyphenatorMap {
61 HyphenatorMap(); // Use getInstance() instead.
67 static HyphenatorMap& getInstance() { // Singleton. in getInstance()
68 static HyphenatorMap map; in getInstance()
DAndroid.bp35 "HyphenatorMap.cpp",
DLineBreakerUtil.h155 hyphenator = HyphenatorMap::lookup(locale); in updateLocaleIfNecessary()
DGreedyLineBreaker.cpp337 mHyphenator = HyphenatorMap::lookup(locale); in process()
/frameworks/minikin/tests/unittest/
DHyphenatorMapTest.cpp65 class TestableHyphenatorMap : public HyphenatorMap {
67 TestableHyphenatorMap() : HyphenatorMap() {} in TestableHyphenatorMap()
69 using HyphenatorMap::addAliasInternal;
70 using HyphenatorMap::addInternal;
71 using HyphenatorMap::lookupInternal;
DGreedyLineBreakerTest.cpp60 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()
DOptimalLineBreakerTest.cpp60 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()