Searched refs:fontPtr (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 118 const void* fontPtr = data->data(); in addSkTypeface() local 133 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, "", ttcIndex, 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()
|
/frameworks/base/core/jni/android/graphics/fonts/ |
D | Font.cpp | 140 const void* fontPtr = env->GetDirectBufferAddress(buffer); in Font_Builder_build() local 141 if (fontPtr == nullptr) { in Font_Builder_build() 153 sk_sp<SkData> data(SkData::MakeWithProc(fontPtr, fontSize, in Font_Builder_build() 175 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, in Font_Builder_build()
|
D | FontFamily.cpp | 54 static void FontFamily_Builder_addFont(jlong builderPtr, jlong fontPtr) { in FontFamily_Builder_addFont() argument 55 toBuilder(builderPtr)->fonts.push_back(toFontWrapper(fontPtr)->font); in FontFamily_Builder_addFont()
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | FontFamily_Builder_Delegate.java | 79 /*package*/ static void nAddFont(long builderPtr, long fontPtr) { in nAddFont() argument 81 Font_Builder_Delegate font = Font_Builder_Delegate.sBuilderManager.getDelegate(fontPtr); in nAddFont()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFamily.java | 133 private static native void nAddFont(long builderPtr, long fontPtr); in nAddFont() argument
|