Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp117 const void* fontPtr = data->data(); in addSkTypeface() local
132 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, ttcIndex, in addSkTypeface()
174 const void* fontPtr = env->GetDirectBufferAddress(bytebuf); in FontFamily_addFont() local
175 if (fontPtr == NULL) { in FontFamily_addFont()
187 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in FontFamily_addFont()
196 const void* fontPtr = env->GetDirectBufferAddress(font); in FontFamily_addFontWeightStyle() local
197 if (fontPtr == NULL) { in FontFamily_addFontWeightStyle()
209 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in FontFamily_addFontWeightStyle()