Searched refs:HyphenatorMap (Results 1 - 7 of 7) sorted by relevance

/frameworks/minikin/libs/minikin/
H A DHyphenatorMap.cpp17 #include "HyphenatorMap.h"
35 // HyphenatorMap.h due to harfbuzz dependency on the host binary.
37 HyphenatorMap::add(localeStr, hyphenator);
41 HyphenatorMap::addAlias(fromLocaleStr, toLocaleStr);
44 HyphenatorMap::HyphenatorMap() function in class:minikin::HyphenatorMap
48 void HyphenatorMap::addInternal(const std::string& localeStr, const Hyphenator* hyphenator) {
55 void HyphenatorMap::clearInternal() {
59 void HyphenatorMap::addAliasInternal(const std::string& fromLocaleStr,
73 const Hyphenator* HyphenatorMap
[all...]
H A DHyphenatorMap.h30 class HyphenatorMap { class in namespace:minikin
61 HyphenatorMap(); // Use getInstance() instead.
67 static HyphenatorMap& getInstance() { // Singleton.
68 static HyphenatorMap map;
H A DLineBreakerUtil.h26 #include "HyphenatorMap.h"
161 hyphenator = HyphenatorMap::lookup(locale);
H A DGreedyLineBreaker.cpp25 #include "HyphenatorMap.h"
332 mHyphenator = HyphenatorMap::lookup(locale);
/frameworks/minikin/tests/unittest/
H A DHyphenatorMapTest.cpp17 #include "HyphenatorMap.h"
65 class TestableHyphenatorMap : public HyphenatorMap {
67 TestableHyphenatorMap() : HyphenatorMap() {}
69 using HyphenatorMap::addAliasInternal;
70 using HyphenatorMap::addInternal;
71 using HyphenatorMap::lookupInternal;
H A DGreedyLineBreakerTest.cpp26 #include "HyphenatorMap.h"
52 HyphenatorMap::add("en-US", hyphenator);
53 HyphenatorMap::add("pl", Hyphenator::loadBinary(nullptr, 0, 0, "pl"));
56 virtual void TearDown() override { HyphenatorMap::clear(); }
H A DOptimalLineBreakerTest.cpp25 #include "HyphenatorMap.h"
52 HyphenatorMap::add("en-US", hyphenator);
53 HyphenatorMap::add("pl", Hyphenator::loadBinary(nullptr, 0, 0, "pl"));
56 virtual void TearDown() override { HyphenatorMap::clear(); }

Completed in 67 milliseconds