Home
last modified time | relevance | path

Searched refs:NativeFamilyBuilder (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/jni/
DFontFamily.cpp47 struct NativeFamilyBuilder { struct
48 NativeFamilyBuilder(uint32_t langId, int variant) in NativeFamilyBuilder() argument
57 static inline NativeFamilyBuilder* toNativeBuilder(jlong ptr) { in toNativeBuilder()
58 return reinterpret_cast<NativeFamilyBuilder*>(ptr); in toNativeBuilder()
70 NativeFamilyBuilder* builder; in FontFamily_initBuilder()
73 builder = new NativeFamilyBuilder(minikin::registerLocaleList(str.c_str()), variant); in FontFamily_initBuilder()
75 builder = new NativeFamilyBuilder(minikin::registerLocaleList(""), variant); in FontFamily_initBuilder()
84 NativeFamilyBuilder* builder = toNativeBuilder(builderPtr); in FontFamily_create()
114 static bool addSkTypeface(NativeFamilyBuilder* builder, sk_sp<SkData>&& data, int ttcIndex, in addSkTypeface()
174 NativeFamilyBuilder* builder = reinterpret_cast<NativeFamilyBuilder*>(builderPtr); in FontFamily_addFont()
[all …]
/frameworks/base/libs/hwui/jni/fonts/
DFontFamily.cpp30 struct NativeFamilyBuilder { struct
35 static inline NativeFamilyBuilder* toBuilder(jlong ptr) { in toBuilder()
36 return reinterpret_cast<NativeFamilyBuilder*>(ptr); in toBuilder()
49 return reinterpret_cast<jlong>(new NativeFamilyBuilder()); in FontFamily_Builder_initBuilder()
61 std::unique_ptr<NativeFamilyBuilder> builder(toBuilder(builderPtr)); in FontFamily_Builder_build()