Searched refs:Hyphenator (Results 1 - 11 of 11) sorted by relevance

/frameworks/minikin/app/
H A DHyphTool.cpp8 #include <minikin/Hyphenator.h>
10 using android::Hyphenator;
12 Hyphenator* loadHybFile(const char* fn) {
32 return Hyphenator::loadBinary(buf);
36 Hyphenator* hyph = loadHybFile("/tmp/en.hyb"); // should also be configurable
/frameworks/minikin/include/minikin/
H A DHyphenator.h32 class Hyphenator { class in namespace:android
35 static Hyphenator* load(const uint16_t* patternData, size_t size);
46 // at least as long as the Hyphenator object.
49 static Hyphenator* loadBinary(const uint8_t* patternData);
H A DLineBreaker.h29 #include "minikin/Hyphenator.h"
116 void setLocale(const icu::Locale& locale, Hyphenator* hyphenator);
220 Hyphenator* mHyphenator;
/frameworks/base/core/java/android/text/
H A DHyphenator.java34 * Hyphenator is a wrapper class for a native implementation of automatic hyphenation,
39 public class Hyphenator { class
43 private static String TAG = "Hyphenator";
48 final static HashMap<Locale, Hyphenator> sMap = new HashMap<Locale, Hyphenator>();
50 final static Hyphenator sEmptyHyphenator =
51 new Hyphenator(StaticLayout.nLoadHyphenator(null, 0), null);
59 private Hyphenator(long nativePtr, ByteBuffer b) { method in class:Hyphenator
68 public static Hyphenator get(@Nullable Locale locale) {
70 Hyphenator resul
[all...]
H A DStaticLayout.java346 Hyphenator.get(locale).getNativePtr());
/frameworks/minikin/libs/minikin/
H A DHyphenator.cpp29 #include "minikin/Hyphenator.h"
107 Hyphenator* Hyphenator::loadBinary(const uint8_t* patternData) {
108 Hyphenator* result = new Hyphenator;
113 void Hyphenator::hyphenate(vector<uint8_t>* result, const uint16_t* word, size_t len) {
132 void Hyphenator::hyphenateSoft(uint8_t* result, const uint16_t* word, size_t len) {
139 bool Hyphenator::alphabetLookup(uint16_t* alpha_codes, const uint16_t* word, size_t len) {
190 void Hyphenator::hyphenateFromCodes(uint8_t* result, const uint16_t* codes, size_t len) {
H A DAndroid.mk41 Hyphenator.cpp \
114 LOCAL_SRC_FILES := Hyphenator.cpp
H A DLineBreaker.cpp56 void LineBreaker::setLocale(const icu::Locale& locale, Hyphenator* hyphenator) {
166 // we can pass the whole word down to Hyphenator like the soft hyphen case.
/frameworks/base/core/jni/
H A Dandroid_text_StaticLayout.cpp132 Hyphenator* hyphenator = Hyphenator::loadBinary(bytebuf);
140 Hyphenator* hyphenator = reinterpret_cast<Hyphenator*>(nativeHyphenator);
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java39 import android.text.Hyphenator;
252 Hyphenator.init();
/frameworks/base/
H A Dcompiled-classes-phone3897 android.text.Hyphenator

Completed in 116 milliseconds