Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DUnderlineTest.cpp69 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(skData)); in buildFamily() local
71 sk_sp<SkTypeface> typeface(fm->makeFromStream(std::move(fontData))); in buildFamily()
DTypefaceTests.cpp59 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(skData)); in buildFamily() local
61 sk_sp<SkTypeface> typeface(fm->makeFromStream(std::move(fontData))); in buildFamily()
/frameworks/minikin/libs/minikin/
DLayoutCore.cpp65 static hb_position_t harfbuzzGetGlyphHorizontalAdvance(hb_font_t* /* hbFont */, void* fontData, in harfbuzzGetGlyphHorizontalAdvance() argument
67 SkiaArguments* args = reinterpret_cast<SkiaArguments*>(fontData); in harfbuzzGetGlyphHorizontalAdvance()
72 static void harfbuzzGetGlyphHorizontalAdvances(hb_font_t* /* hbFont */, void* fontData, in harfbuzzGetGlyphHorizontalAdvances() argument
77 SkiaArguments* args = reinterpret_cast<SkiaArguments*>(fontData); in harfbuzzGetGlyphHorizontalAdvances()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp37 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, int sourceId, const void* fontData, in MinikinFontSkia() argument
42 , mFontData(fontData) in MinikinFontSkia()
DTypeface.cpp189 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(data, st.st_size)); in setRobotoTypefaceForTest() local
192 sk_sp<SkTypeface> typeface = fm->makeFromStream(std::move(fontData)); in setRobotoTypefaceForTest()
DMinikinSkia.h33 MinikinFontSkia(sk_sp<SkTypeface> typeface, int sourceId, const void* fontData, size_t fontSize,
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp123 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(std::move(data))); in addSkTypeface() local
130 sk_sp<SkTypeface> face(fm->makeFromStream(std::move(fontData), args)); in addSkTypeface()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp457 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(std::move(data))); in createMinikinFontSkia() local
464 sk_sp<SkTypeface> face(fm->makeFromStream(std::move(fontData), args)); in createMinikinFontSkia()
/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…