/frameworks/minikin/tests/unittest/ |
D | HyphenatorMapTest.cpp | 28 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 …]
|
D | HyphenatorTest.cpp | 49 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 …]
|
D | GreedyLineBreakerTest.cpp | 58 Hyphenator* hyphenator = Hyphenator::loadBinary( in SetUp() 61 HyphenatorMap::add("pl", Hyphenator::loadBinary(nullptr, 0, 0, "pl")); in SetUp()
|
D | OptimalLineBreakerTest.cpp | 58 Hyphenator* hyphenator = Hyphenator::loadBinary( in SetUp() 61 HyphenatorMap::add("pl", Hyphenator::loadBinary(nullptr, 0, 0, "pl")); in SetUp()
|
/frameworks/minikin/libs/minikin/ |
D | HyphenatorMap.h | 34 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);
|
D | HyphenatorMap.cpp | 36 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()
|
D | Hyphenator.cpp | 100 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()
|
D | LineBreakerUtil.h | 42 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;
|
D | LineBreakerUtil.cpp | 28 std::vector<HyphenationType> hyphenate(const U16StringPiece& str, const Hyphenator& hyphenator) { in hyphenate()
|
D | Android.bp | 34 "Hyphenator.cpp",
|
D | WordBreaker.cpp | 128 if (Hyphenator::isLineBreakingHyphen(codePoint) || codePoint == CHAR_SOFT_HYPHEN) { in isValidBreak()
|
D | GreedyLineBreaker.cpp | 116 const Hyphenator* mHyphenator = nullptr;
|
/frameworks/minikin/tests/perftests/ |
D | Hyphenator.cpp | 30 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()
|
D | Android.bp | 29 "Hyphenator.cpp",
|
/frameworks/minikin/app/ |
D | HyphTool.cpp | 11 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/ |
D | Hyphenator.java | 24 public class Hyphenator { class 25 private Hyphenator() {} in Hyphenator() method in Hyphenator
|
/frameworks/minikin/include/minikin/ |
D | Hyphenator.h | 32 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,
|
D | LineBreaker.h | 50 class Hyphenator; variable
|
/frameworks/base/core/jni/ |
D | android_text_Hyphenator.cpp | 61 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/ |
D | ZygoteInit.java | 46 import android.text.Hyphenator; 211 Hyphenator.init(); in preloadTextResources()
|
/frameworks/base/config/ |
D | preloaded-classes | 3452 android.text.Hyphenator
|
D | boot-image-profile.txt | 14849 HSPLandroid/text/Hyphenator;->init()V 36103 Landroid/text/Hyphenator;
|
D | hiddenapi-greylist-max-o.txt | 75169 Landroid/text/Hyphenator; 75170 Landroid/text/Hyphenator;-><init>()V 75171 Landroid/text/Hyphenator;->init()V 75172 Landroid/text/Hyphenator;->nInit()V
|