Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/fonts/
DFont.cpp161 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(std::move(data))); in Font_Builder_build() local
168 sk_sp<SkTypeface> face(fm->makeFromStream(std::move(fontData), params)); in Font_Builder_build()
/frameworks/minikin/libs/minikin/
DLayoutCore.cpp60 static hb_position_t harfbuzzGetGlyphHorizontalAdvance(hb_font_t* /* hbFont */, void* fontData, in harfbuzzGetGlyphHorizontalAdvance() argument
62 SkiaArguments* args = reinterpret_cast<SkiaArguments*>(fontData); in harfbuzzGetGlyphHorizontalAdvance()
67 static void harfbuzzGetGlyphHorizontalAdvances(hb_font_t* /* hbFont */, void* fontData, in harfbuzzGetGlyphHorizontalAdvances() argument
72 SkiaArguments* args = reinterpret_cast<SkiaArguments*>(fontData); in harfbuzzGetGlyphHorizontalAdvances()
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp181 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(data, st.st_size)); in setRobotoTypefaceForTest() local
182 sk_sp<SkTypeface> typeface = SkTypeface::MakeFromStream(std::move(fontData)); in setRobotoTypefaceForTest()
DMinikinSkia.cpp33 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize, in MinikinFontSkia() argument
38 , mFontData(fontData) in MinikinFontSkia()
DMinikinSkia.h31 MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize,
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp119 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(std::move(data))); in addSkTypeface() local
126 sk_sp<SkTypeface> face(fm->makeFromStream(std::move(fontData), params)); in addSkTypeface()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp53 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(skData)); in buildFamily() local
55 sk_sp<SkTypeface> typeface(fm->makeFromStream(std::move(fontData))); in buildFamily()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in1273 …uint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceInde…
1274 …CALL_GL_API_RETURN(glPathMemoryGlyphIndexArrayNV, firstPathName, fontTarget, fontSize, fontData, f…
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h3134 …uint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceInde…
3211 …uint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceInde…
/frameworks/native/opengl/libs/
Dentries.in640 …uint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceInde…