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() function
56 static inline NativeFamilyBuilder* toNativeBuilder(jlong ptr) { in toNativeBuilder()
57 return reinterpret_cast<NativeFamilyBuilder*>(ptr); in toNativeBuilder()
69 NativeFamilyBuilder* builder; in FontFamily_initBuilder()
72 builder = new NativeFamilyBuilder(minikin::registerLocaleList(str.c_str()), variant); in FontFamily_initBuilder()
74 builder = new NativeFamilyBuilder(minikin::registerLocaleList(""), variant); in FontFamily_initBuilder()
83 NativeFamilyBuilder* builder = toNativeBuilder(builderPtr); in FontFamily_create()
112 static bool addSkTypeface(NativeFamilyBuilder* builder, sk_sp<SkData>&& data, int ttcIndex, in addSkTypeface()
172 NativeFamilyBuilder* builder = reinterpret_cast<NativeFamilyBuilder*>(builderPtr); in FontFamily_addFont()
[all …]
/frameworks/base/libs/hwui/jni/fonts/
DFontFamily.cpp32 struct NativeFamilyBuilder { struct
36 static inline NativeFamilyBuilder* toBuilder(jlong ptr) { in toBuilder()
37 return reinterpret_cast<NativeFamilyBuilder*>(ptr); in toBuilder()
50 return reinterpret_cast<jlong>(new NativeFamilyBuilder()); in FontFamily_Builder_initBuilder()
61 std::unique_ptr<NativeFamilyBuilder> builder(toBuilder(builderPtr)); in FontFamily_Builder_build()