Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DTypeface.cpp39 if (typeface->fSkiaStyle & SkTypeface::kBold) { in resolveStyle()
45 bool italic = (typeface->fSkiaStyle & SkTypeface::kItalic) != 0; in resolveStyle()
67 SkTypeface *skFace = SkTypeface::CreateFromFile(fn); in makeFontCollection()
93 gDefaultTypeface->fSkiaStyle = SkTypeface::kNormal; in getDefaultTypefaceOnce()
108 Typeface* Typeface::createFromTypeface(Typeface* src, SkTypeface::Style style) { in createFromTypeface()
139 result->fSkiaStyle = SkTypeface::kNormal; in createFromFamilies()
145 SkTypeface* skTypeface = reinterpret_cast<MinikinFontSkia*>(mf)->GetSkTypeface(); in createFromFamilies()
150 result->fSkiaStyle = SkTypeface::kNormal; in createFromFamilies()
DMinikinSkia.h24 class SkTypeface; variable
31 explicit MinikinFontSkia(SkTypeface *typeface, const void* fontData, size_t fontSize,
44 SkTypeface* GetSkTypeface() const;
57 SkTypeface* mTypeface;
DTypeface.h33 SkTypeface::Style fSkiaStyle;
44 static Typeface* createFromTypeface(Typeface* src, SkTypeface::Style style);
DMinikinSkia.cpp25 MinikinFontSkia::MinikinFontSkia(SkTypeface* typeface, const void* fontData, size_t fontSize, in MinikinFontSkia()
87 SkTypeface *MinikinFontSkia::GetSkTypeface() const { in GetSkTypeface()
/frameworks/minikin/sample/
Dexample_skia.cpp60 SkTypeface *skFace = SkTypeface::CreateFromFile(fn); in makeFontCollection()
69 SkTypeface *skFace = SkTypeface::CreateFromFile(fn); in makeFontCollection()
84 SkTypeface *lastFace = NULL; in drawToSkia()
85 SkTypeface *skFace = NULL; in drawToSkia()
DMinikinSkia.h5 explicit MinikinFontSkia(SkTypeface *typeface);
17 SkTypeface *GetSkTypeface();
20 SkTypeface *mTypeface;
DMinikinSkia.cpp9 MinikinFontSkia::MinikinFontSkia(SkTypeface *typeface) : in MinikinFontSkia()
18 static void MinikinFontSkia_SetSkiaPaint(SkTypeface* typeface, SkPaint* skPaint, const MinikinPaint… in MinikinFontSkia_SetSkiaPaint()
67 SkTypeface *MinikinFontSkia::GetSkTypeface() {
/frameworks/minikin/tests/
DMinikinFontForTest.h22 class SkTypeface; variable
27 MinikinFontForTest(const std::string& font_path, SkTypeface* typeface);
38 SkTypeface *mTypeface;
DMinikinFontForTest.cpp26 MinikinFontForTest(font_path, SkTypeface::CreateFromFile(font_path.c_str())) { in MinikinFontForTest()
29 MinikinFontForTest::MinikinFontForTest(const std::string& font_path, SkTypeface* typeface) : in MinikinFontForTest()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp31 Typeface* face = Typeface::createFromTypeface(family, (SkTypeface::Style)style); in Typeface_createFromTypeface()
35 … face = Typeface::createFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic)); in Typeface_createFromTypeface()
38 face = Typeface::createFromTypeface(family, (SkTypeface::Style)i); in Typeface_createFromTypeface()
DFontFamily.cpp56 static jboolean addSkTypeface(FontFamily* family, SkTypeface* face, const void* fontData, in addSkTypeface()
109 SkTypeface* face = fm->createFromStream(fontData.release(), params); in FontFamily_addFont()
175 SkTypeface* face = fm->createFromStream(fontData.release(), params); in FontFamily_addFontWeightStyle()
217 SkTypeface* face = SkTypeface::CreateFromStream(stream); in FontFamily_addFontFromAsset()
DHarfBuzzNGFaceSkia.cpp141 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(userData); in harfbuzzSkiaReferenceTable()
/frameworks/base/libs/hwui/
DTextDropShadowCache.h83 SkTypeface* typeface;
/frameworks/base/libs/hwui/font/
DFont.cpp46 mFontId = SkTypeface::UniqueID(paint->getTypeface()); in FontDescription()