Searched refs:SkTypeface (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.cpp | 39 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()
|
D | MinikinSkia.h | 24 class SkTypeface; variable 31 explicit MinikinFontSkia(SkTypeface *typeface, const void* fontData, size_t fontSize, 44 SkTypeface* GetSkTypeface() const; 57 SkTypeface* mTypeface;
|
D | Typeface.h | 33 SkTypeface::Style fSkiaStyle; 44 static Typeface* createFromTypeface(Typeface* src, SkTypeface::Style style);
|
D | MinikinSkia.cpp | 25 MinikinFontSkia::MinikinFontSkia(SkTypeface* typeface, const void* fontData, size_t fontSize, in MinikinFontSkia() 87 SkTypeface *MinikinFontSkia::GetSkTypeface() const { in GetSkTypeface()
|
/frameworks/minikin/sample/ |
D | example_skia.cpp | 60 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()
|
D | MinikinSkia.h | 5 explicit MinikinFontSkia(SkTypeface *typeface); 17 SkTypeface *GetSkTypeface(); 20 SkTypeface *mTypeface;
|
D | MinikinSkia.cpp | 9 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/ |
D | MinikinFontForTest.h | 22 class SkTypeface; variable 27 MinikinFontForTest(const std::string& font_path, SkTypeface* typeface); 38 SkTypeface *mTypeface;
|
D | MinikinFontForTest.cpp | 26 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/ |
D | Typeface.cpp | 31 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()
|
D | FontFamily.cpp | 56 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()
|
D | HarfBuzzNGFaceSkia.cpp | 141 SkTypeface* typeface = reinterpret_cast<SkTypeface*>(userData); in harfbuzzSkiaReferenceTable()
|
/frameworks/base/libs/hwui/ |
D | TextDropShadowCache.h | 83 SkTypeface* typeface;
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 46 mFontId = SkTypeface::UniqueID(paint->getTypeface()); in FontDescription()
|