Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DHyphenatorTest.cpp54 Hyphenator* hyphenator = Hyphenator::loadBinary(readWholeFile(usHyph).data(), 2, 3); in TEST_F()
68 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2); in TEST_F()
82 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2); in TEST_F()
94 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2); in TEST_F()
106 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2); in TEST_F()
119 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2); in TEST_F()
131 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2); in TEST_F()
143 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2); in TEST_F()
154 Hyphenator* hyphenator = Hyphenator::loadBinary(nullptr, 2, 2); in TEST_F()
166 Hyphenator* hyphenator = Hyphenator::loadBinary(readWholeFile(malayalamHyph).data(), 2, 2); in TEST_F()
[all …]
/frameworks/minikin/tests/perftests/
DHyphenator.cpp30 Hyphenator* hyphenator = Hyphenator::loadBinary( in BM_Hyphenator_short_word()
37 Hyphenator::loadBinary(nullptr, 2, 2); in BM_Hyphenator_short_word()
44 Hyphenator* hyphenator = Hyphenator::loadBinary( in BM_Hyphenator_long_word()
52 Hyphenator::loadBinary(nullptr, 2, 2); in BM_Hyphenator_long_word()
DAndroid.mk28 Hyphenator.cpp \
/frameworks/base/core/java/android/text/
DHyphenator.java39 public class Hyphenator { class
53 final static HashMap<Locale, Hyphenator> sMap = new HashMap<Locale, Hyphenator>();
59 final static Hyphenator sEmptyHyphenator =
60 new Hyphenator(StaticLayout.nLoadHyphenator(
70 private Hyphenator(long nativePtr, ByteBuffer b) { in Hyphenator() method in Hyphenator
79 public static Hyphenator get(@Nullable Locale locale) { in get()
81 Hyphenator result = sMap.get(locale); in get()
135 private static Hyphenator loadHyphenator(HyphenationData data) { in loadHyphenator()
149 return new Hyphenator(nativePtr, buf); in loadHyphenator()
257 Hyphenator h = loadHyphenator(data); in init()
DStaticLayout.java360 Hyphenator.get(locale).getNativePtr());
/frameworks/minikin/app/
DHyphTool.cpp12 using minikin::Hyphenator;
14 Hyphenator* loadHybFile(const char* fn, int minPrefix, int minSuffix) { in loadHybFile()
35 return Hyphenator::loadBinary(buf, minPrefix, minSuffix); in loadHybFile()
39 Hyphenator* hyph = loadHybFile("/tmp/en.hyb", 2, 3); // should also be configurable in main()
/frameworks/minikin/libs/minikin/
DHyphenator.cpp111 Hyphenator* Hyphenator::loadBinary(const uint8_t* patternData, size_t minPrefix, size_t minSuffix) { in loadBinary()
112 Hyphenator* result = new Hyphenator; in loadBinary()
119 void Hyphenator::hyphenate(vector<HyphenationType>* result, const uint16_t* word, size_t len, in hyphenate()
147 bool Hyphenator::isLineBreakingHyphen(uint32_t c) { in isLineBreakingHyphen()
283 void Hyphenator::hyphenateWithNoPatterns(HyphenationType* result, const uint16_t* word, size_t len, in hyphenateWithNoPatterns()
325 HyphenationType Hyphenator::alphabetLookup(uint16_t* alpha_codes, const uint16_t* word, in alphabetLookup()
384 void Hyphenator::hyphenateFromCodes(HyphenationType* result, const uint16_t* codes, size_t len, in hyphenateFromCodes()
DAndroid.mk30 Hyphenator.cpp \
100 LOCAL_SRC_FILES := Hyphenator.cpp
DWordBreaker.cpp72 if (Hyphenator::isLineBreakingHyphen(codePoint) || codePoint == CHAR_SOFT_HYPHEN) { in isBreakValid()
DLineBreaker.cpp64 void LineBreaker::setLocale(const icu::Locale& locale, Hyphenator* hyphenator) { in setLocale()
/frameworks/base/core/jni/
Dandroid_text_StaticLayout.cpp135 minikin::Hyphenator* hyphenator = minikin::Hyphenator::loadBinary( in nLoadHyphenator()
144 minikin::Hyphenator* hyphenator = reinterpret_cast<minikin::Hyphenator*>(nativeHyphenator); in nSetLocale()
/frameworks/minikin/include/minikin/
DHyphenator.h118 class Hyphenator {
139 static Hyphenator* loadBinary(const uint8_t* patternData, size_t minPrefix, size_t minSuffix);
DLineBreaker.h116 void setLocale(const icu::Locale& locale, Hyphenator* hyphenator);
228 Hyphenator* mHyphenator;
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java46 import android.text.Hyphenator;
196 Hyphenator.init(); in preloadTextResources()
/frameworks/base/
Dpreloaded-classes145 [Landroid.text.Hyphenator$HyphenationData;
2160 android.text.Hyphenator
2161 android.text.Hyphenator$HyphenationData
Dcompiled-classes-phone3984 android.text.Hyphenator
3985 android.text.Hyphenator$HyphenationData
/frameworks/base/services/
Dprofile-classes2489 Landroid/text/Hyphenator;