Home
last modified time | relevance | path

Searched refs:SkFont (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DPaintImpl.cpp31 mFont.setEdging(SkFont::Edging::kAlias); in Paint()
84 mFont = SkFont(); in reset()
85 mFont.setEdging(SkFont::Edging::kAlias); in reset()
94 SkASSERT(mFont.getEdging() != SkFont::Edging::kSubpixelAntiAlias); in setAntiAlias()
97 mFont.setEdging(aa ? SkFont::Edging::kAntiAlias : SkFont::Edging::kAlias); in setAntiAlias()
136 static uint32_t fontToLegacyFlags(const SkFont& font) { in fontToLegacyFlags()
157 static void applyLegacyFlagsToFont(uint32_t flags, SkFont* font) { in applyLegacyFlagsToFont()
165 font->setEdging(SkFont::Edging::kAntiAlias); in applyLegacyFlagsToFont()
167 font->setEdging(SkFont::Edging::kAlias); in applyLegacyFlagsToFont()
DMinikinSkia.cpp44 static void MinikinFontSkia_SetSkiaFont(const minikin::MinikinFont* font, SkFont* skFont, in MinikinFontSkia_SetSkiaFont()
57 SkFont skFont; in GetHorizontalAdvance()
72 SkFont skFont; in GetHorizontalAdvances()
80 SkFont skFont; in GetBounds()
94 SkFont skFont; in GetFontExtent()
150 uint32_t MinikinFontSkia::packFontFlags(const SkFont& font) { in packFontFlags()
161 void MinikinFontSkia::unpackFontFlags(SkFont* font, uint32_t flags) { in unpackFontFlags()
165 font->setEdging((SkFont::Edging)((flags >> 8) & 0xFF)); in unpackFontFlags()
173 void MinikinFontSkia::populateSkFont(SkFont* skFont, const MinikinFont* font, in populateSkFont()
DMinikinSkia.h24 class SkFont; variable
62 static uint32_t packFontFlags(const SkFont&);
63 static void unpackFontFlags(SkFont*, uint32_t fontFlags);
66 static void populateSkFont(SkFont*, const minikin::MinikinFont* font,
DPaint.h58 SkFont& getSkFont() { return mFont; } in getSkFont()
59 const SkFont& getSkFont() const { return mFont; } in getSkFont()
148 SkFont mFont;
DMinikinUtils.h74 SkFont* skfont = &paint->getSkFont(); in forFontRun()
84 SkFont* skfont = &paint->getSkFont(); in forFontRun()
DMinikinUtils.cpp33 const SkFont& font = paint->getSkFont(); in prepareMinikinPaint()
/frameworks/base/libs/hwui/tests/common/scenes/
DListViewAnimation.cpp51 SkFont font; in createRandomCharIcon()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp702 const SkFont& font = paintCopy.getSkFont(); in drawGlyphs()
726 const SkFont& font = paintCopy.getSkFont(); in drawLayoutOnPath()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp74 static void getPosTextPath(const SkFont& font, const uint16_t glyphs[], int count, in getPosTextPath()
295 const SkFont& font = paint->getSkFont(); in operator ()()
591 SkFont* font = &paint->getSkFont(); in getMetricsInternal()