Home
last modified time | relevance | path

Searched refs:fontPtr (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp89 const void* fontPtr = env->GetDirectBufferAddress(buffer); in Font_Builder_build() local
90 if (fontPtr == nullptr) { in Font_Builder_build()
103 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in Font_Builder_build()
107 fontPtr, fontSize, ttcIndex, builder->axes); in Font_Builder_build()
125 static jlong Font_Builder_clone(JNIEnv* env, jobject clazz, jlong fontPtr, jlong builderPtr, in Font_Builder_clone() argument
127 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_Builder_clone()
195 static jlong Font_getMinikinFontPtr(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_getMinikinFontPtr() argument
196 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_getMinikinFontPtr()
201 static jlong Font_cloneFont(CRITICAL_JNI_PARAMS_COMMA jlong fontPtr) { in Font_cloneFont() argument
202 FontWrapper* font = reinterpret_cast<FontWrapper*>(fontPtr); in Font_cloneFont()
[all …]
DFontFamily.cpp53 static void FontFamily_Builder_addFont(CRITICAL_JNI_PARAMS_COMMA jlong builderPtr, jlong fontPtr) { in FontFamily_Builder_addFont() argument
54 toBuilder(builderPtr)->fonts.push_back(toFontWrapper(fontPtr)->font); in FontFamily_Builder_addFont()
DFont.h33 sk_sp<SkData>&& data, std::string_view fontPath, const void *fontPtr, size_t fontSize,
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp122 const void* fontPtr = data->data(); in addSkTypeface() local
137 std::make_shared<MinikinFontSkia>(std::move(face), fonts::getNewSourceId(), fontPtr, in addSkTypeface()
175 const void* fontPtr = env->GetDirectBufferAddress(bytebuf); in FontFamily_addFont() local
176 if (fontPtr == NULL) { in FontFamily_addFont()
188 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in FontFamily_addFont()
197 const void* fontPtr = env->GetDirectBufferAddress(font); in FontFamily_addFontWeightStyle() local
198 if (fontPtr == NULL) { in FontFamily_addFontWeightStyle()
210 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in FontFamily_addFontWeightStyle()
DTypeface.cpp242 const void* fontPtr = data->data(); in create() local
246 minikin::FontFileParser parser(fontPtr, fontSize, fontIndex); in create()
260 std::move(data), fontPath, fontPtr, fontSize, fontIndex, axes); in create()
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java504 private static native long nClone(long fontPtr, long builderPtr, int weight, in nClone() argument
902 private static native String nGetFontPath(long fontPtr); in nGetFontPath() argument
908 private static native int nGetPackedStyle(long fontPtr); in nGetPackedStyle() argument
911 private static native int nGetIndex(long fontPtr); in nGetIndex() argument
914 private static native int nGetAxisCount(long fontPtr); in nGetAxisCount() argument
917 private static native long nGetAxisInfo(long fontPtr, int i); in nGetAxisInfo() argument
DFontFamily.java312 private static native void nAddFont(long builderPtr, long fontPtr); in nAddFont() argument