Home
last modified time | relevance | path

Searched refs:Hyphenator (Results 1 – 23 of 23) sorted by relevance

/frameworks/minikin/tests/unittest/
DHyphenatorMapTest.cpp28 const Hyphenator* FAKE_ADDRESS = reinterpret_cast<const Hyphenator*>(1);
29 const Hyphenator* AS_HYPHENATOR = FAKE_ADDRESS++;
30 const Hyphenator* BG_HYPHENATOR = FAKE_ADDRESS++;
31 const Hyphenator* BN_HYPHENATOR = FAKE_ADDRESS++;
32 const Hyphenator* CU_HYPHENATOR = FAKE_ADDRESS++;
33 const Hyphenator* CY_HYPHENATOR = FAKE_ADDRESS++;
34 const Hyphenator* DA_HYPHENATOR = FAKE_ADDRESS++;
35 const Hyphenator* DE_1901_HYPHENATOR = FAKE_ADDRESS++;
36 const Hyphenator* DE_1996_HYPHENATOR = FAKE_ADDRESS++;
37 const Hyphenator* DE_CH_1901_HYPHENATOR = FAKE_ADDRESS++;
[all …]
DHyphenatorTest.cpp49 Hyphenator* hyphenator = Hyphenator::loadBinary(patternData.data(), 2, 3, "en"); in TEST()
63 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2, "ca"); in TEST()
77 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2, "ca"); in TEST()
89 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2, "pl"); in TEST()
101 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2, "pl"); in TEST()
114 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2, "pl"); in TEST()
127 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2, "sl"); in TEST()
139 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2, "en"); in TEST()
151 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2, "en"); in TEST()
162 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2, "en"); in TEST()
[all …]
DGreedyLineBreakerTest.cpp58 Hyphenator* hyphenator = Hyphenator::loadBinary( in SetUp()
61 HyphenatorMap::add("pl", Hyphenator::loadBinary(nullptr, 0, 0, "pl")); in SetUp()
DOptimalLineBreakerTest.cpp58 Hyphenator* hyphenator = Hyphenator::loadBinary( in SetUp()
61 HyphenatorMap::add("pl", Hyphenator::loadBinary(nullptr, 0, 0, "pl")); in SetUp()
/frameworks/minikin/libs/minikin/
DHyphenatorMap.h34 static void add(const std::string& localeStr, const Hyphenator* hyphenator) { in add()
55 static const Hyphenator* lookup(const Locale& locale) { in lookup()
62 void addInternal(const std::string& localeStr, const Hyphenator* hyphenator);
64 const Hyphenator* lookupInternal(const Locale& locale);
74 const Hyphenator* lookupByIdentifier(uint64_t id) const EXCLUSIVE_LOCKS_REQUIRED(mMutex);
75 const Hyphenator* lookupBySubtag(const Locale& locale, SubtagBits bits) const
78 const Hyphenator* mSoftHyphenOnlyHyphenator;
79 std::map<uint64_t, const Hyphenator*> mMap GUARDED_BY(mMutex);
DHyphenatorMap.cpp36 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator) { in addHyphenator()
46 Hyphenator::loadBinary(nullptr, DEFAULT_MIN_PREFIX, DEFAULT_MAX_PREFIX, "")) {} in HyphenatorMap()
48 void HyphenatorMap::addInternal(const std::string& localeStr, const Hyphenator* hyphenator) { in addInternal()
73 const Hyphenator* HyphenatorMap::lookupInternal(const Locale& locale) { in lookupInternal()
76 const Hyphenator* result = lookupByIdentifier(id); 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()
DHyphenator.cpp100 Hyphenator* Hyphenator::loadBinary(const uint8_t* patternData, size_t minPrefix, size_t minSuffix, in loadBinary()
110 return new Hyphenator(patternData, minPrefix, minSuffix, hyphenLocale); in loadBinary()
113 Hyphenator::Hyphenator(const uint8_t* patternData, size_t minPrefix, size_t minSuffix, in Hyphenator() function in minikin::Hyphenator
120 void Hyphenator::hyphenate(const U16StringPiece& word, HyphenationType* out) const { in hyphenate()
146 bool Hyphenator::isLineBreakingHyphen(uint32_t c) { in isLineBreakingHyphen()
250 void Hyphenator::hyphenateWithNoPatterns(const U16StringPiece& word, HyphenationType* out) const { in hyphenateWithNoPatterns()
291 HyphenationType Hyphenator::alphabetLookup(uint16_t* alpha_codes, in alphabetLookup()
350 void Hyphenator::hyphenateFromCodes(const uint16_t* codes, size_t len, HyphenationType hyphenValue, in hyphenateFromCodes()
DLineBreakerUtil.h42 std::vector<HyphenationType> hyphenate(const U16StringPiece& string, const Hyphenator& hypenator);
67 const Hyphenator& hyphenator, // A hyphenator to be used for hyphenation. in populateHyphenationPoints()
130 const Hyphenator* hyphenator = nullptr;
DLineBreakerUtil.cpp28 std::vector<HyphenationType> hyphenate(const U16StringPiece& str, const Hyphenator& hyphenator) { in hyphenate()
DAndroid.bp34 "Hyphenator.cpp",
DWordBreaker.cpp128 if (Hyphenator::isLineBreakingHyphen(codePoint) || codePoint == CHAR_SOFT_HYPHEN) { in isValidBreak()
DGreedyLineBreaker.cpp116 const Hyphenator* mHyphenator = nullptr;
/frameworks/minikin/tests/perftests/
DHyphenator.cpp30 Hyphenator* hyphenator = Hyphenator::loadBinary(readWholeFile(enUsHyph).data(), enUsMinPrefix, in BM_Hyphenator_short_word()
43 Hyphenator* hyphenator = Hyphenator::loadBinary(readWholeFile(enUsHyph).data(), enUsMinPrefix, in BM_Hyphenator_long_word()
DAndroid.bp29 "Hyphenator.cpp",
/frameworks/minikin/app/
DHyphTool.cpp11 using minikin::Hyphenator;
13 Hyphenator* loadHybFile(const char* fn, int minPrefix, int minSuffix, const char* language) { in loadHybFile()
34 return Hyphenator::loadBinary(buf, minPrefix, minSuffix, language); in loadHybFile()
38 Hyphenator* hyph = loadHybFile("/tmp/en.hyb", 2, 3, "en"); // should also be configurable in main()
/frameworks/base/core/java/android/text/
DHyphenator.java24 public class Hyphenator { class
25 private Hyphenator() {} in Hyphenator() method in Hyphenator
/frameworks/minikin/include/minikin/
DHyphenator.h32 class Hyphenator; variable
37 void addHyphenator(const std::string& localeStr, const Hyphenator* hyphenator);
173 class Hyphenator {
205 static Hyphenator* loadBinary(const uint8_t* patternData, size_t minPrefix, size_t minSuffix,
217 Hyphenator(const uint8_t* patternData, size_t minPrefix, size_t minSuffix,
DLineBreaker.h50 class Hyphenator; variable
/frameworks/base/core/jni/
Dandroid_text_Hyphenator.cpp61 minikin::addHyphenator(locale, minikin::Hyphenator::loadBinary( in addHyphenatorWithoutPatternFile()
71 minikin::addHyphenator(locale, minikin::Hyphenator::loadBinary( in addHyphenator()
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java46 import android.text.Hyphenator;
211 Hyphenator.init(); in preloadTextResources()
/frameworks/base/config/
Dpreloaded-classes3452 android.text.Hyphenator
Dboot-image-profile.txt14849 HSPLandroid/text/Hyphenator;->init()V
36103 Landroid/text/Hyphenator;
Dhiddenapi-greylist-max-o.txt75169 Landroid/text/Hyphenator;
75170 Landroid/text/Hyphenator;-><init>()V
75171 Landroid/text/Hyphenator;->init()V
75172 Landroid/text/Hyphenator;->nInit()V