Home
last modified time | relevance | path

Searched refs:getSkFont (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DCanvas.cpp45 const float textSize = paint.getSkFont().getSize(); in drawTextDecorations()
48 paint.getSkFont().getMetrics(&metrics); in drawTextDecorations()
82 SkFont* skfont = &copied.getSkFont(); in drawGlyphs()
96 if (paint.getSkFont().isLinearMetrics()) { in drawText()
97 paint.getSkFont().setHinting(SkFontHinting::kNone); in drawText()
129 float textSize = paint.getSkFont().getSize(); in drawText()
205 if (paint.getSkFont().isLinearMetrics()) { in drawTextOnPath()
206 paint.getSkFont().setHinting(SkFontHinting::kNone); in drawTextOnPath()
DMinikinUtils.h72 float saveSkewX = paint->getSkFont().getSkewX(); in forFontRun()
73 bool savefakeBold = paint->getSkFont().isEmbolden(); in forFontRun()
80 SkFont* skfont = &paint->getSkFont(); in forFontRun()
90 SkFont* skfont = &paint->getSkFont(); in forFontRun()
DDrawTextFunctor.h57 kHighContrastTextBorderWidthFactor * paint->getSkFont().getSize())); in simplifyPaint()
61 borderWidthFactor * paint->getSkFont().getSize()); in simplifyPaint()
138 paint.getSkFont().getMetrics(&metrics); in operator()
139 const float textSize = paint.getSkFont().getSize(); in operator()
DPaint.h62 SkFont& getSkFont() { return mFont; } in getSkFont() function
63 const SkFont& getSkFont() const { return mFont; } in getSkFont() function
DMinikinUtils.cpp37 const SkFont& font = paint->getSkFont(); in prepareMinikinPaint()
/frameworks/base/libs/hwui/tests/common/scenes/
DSaveLayer2Animation.cpp45 mBluePaint.getSkFont().setSize(padding); in createContent()
47 mGreenPaint.getSkFont().setSize(padding); in createContent()
DListViewAnimation.cpp98 textPaint.getSkFont().setSize(dp(20)); in createListItem()
103 textPaint.getSkFont().setSize(dp(15)); in createListItem()
DGlyphStressAnimation.cpp56 paint.getSkFont().setSize(10 + (frameNr % 20) + i * 20); in doFrame()
DListOfFadedTextAnimation.cpp38 textPaint.getSkFont().setSize(dp(20)); in createListItem()
DTextAnimation.cpp36 paint.getSkFont().setSize(50); in createContent()
DStretchyListViewAnimation.cpp148 textPaint.getSkFont().setSize(dp(20)); in createListItem()
153 textPaint.getSkFont().setSize(dp(15)); in createListItem()
DTvApp.cpp127 paint.getSkFont().setSize(24); in createInfoNode()
131 paint.getSkFont().setSize(20); in createInfoNode()
DMagnifierAnimation.cpp81 paint.getSkFont().setSize(50); in createContent()
/frameworks/base/libs/hwui/tests/unit/
DUnderlineTest.cpp117 paint.getSkFont().setSize(textSize); in TEST_WITH_FLAGS()
131 paint.getSkFont().setSize(textSize); in TEST_WITH_FLAGS()
145 paint.getSkFont().setSize(textSize); in TEST_WITH_FLAGS()
/frameworks/base/libs/hwui/jni/
DPaint.cpp289 const SkFont& font = paint->getSkFont(); in operator ()()
609 SkFont* font = &paint->getSkFont(); in getMetricsInternal()
744 return (SkFontHinting)reinterpret_cast<Paint*>(paintHandle)->getSkFont().getHinting() in getHinting()
749 reinterpret_cast<Paint*>(paintHandle)->getSkFont().setHinting( in setHinting()
758 reinterpret_cast<Paint*>(paintHandle)->getSkFont().setLinearMetrics(linearText); in setLinearText()
762 reinterpret_cast<Paint*>(paintHandle)->getSkFont().setSubpixel(subpixelText); in setSubpixelText()
774 reinterpret_cast<Paint*>(paintHandle)->getSkFont().setEmbolden(fakeBoldText); in setFakeBoldText()
981 return SkScalarToFloat(reinterpret_cast<Paint*>(paintHandle)->getSkFont().getSize()); in getTextSize()
986 reinterpret_cast<Paint*>(paintHandle)->getSkFont().setSize(textSize); in setTextSize()
991 return SkScalarToFloat(reinterpret_cast<Paint*>(paintHandle)->getSkFont().getScaleX()); in getTextScaleX()
[all …]
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp163 SkFont* skFont = &paint->getSkFont(); in Font_getGlyphBounds()
183 SkFont* skFont = &paint->getSkFont(); in Font_getFontMetrics()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp829 const SkFont& font = paintCopy.getSkFont(); in drawGlyphs()
856 const SkFont& font = paintCopy.getSkFont(); in drawLayoutOnPath()