Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinUtils.h66 float saveSkewX = paint->getSkFont().getSkewX(); in forFontRun()
67 bool savefakeBold = paint->getSkFont().isEmbolden(); in forFontRun()
74 SkFont* skfont = &paint->getSkFont(); in forFontRun()
84 SkFont* skfont = &paint->getSkFont(); in forFontRun()
DPaint.h58 SkFont& getSkFont() { return mFont; } in getSkFont() function
59 const SkFont& getSkFont() const { return mFont; } in getSkFont() function
DCanvas.cpp50 const float textSize = paint.getSkFont().getSize(); in drawTextDecorations()
53 paint.getSkFont().getMetrics(&metrics); in drawTextDecorations()
79 paint->setStrokeWidth(4 + 0.04 * paint->getSkFont().getSize()); in simplifyPaint()
DMinikinUtils.cpp33 const SkFont& font = paint->getSkFont(); in prepareMinikinPaint()
/frameworks/base/libs/hwui/tests/common/scenes/
DSaveLayer2Animation.cpp44 mBluePaint.getSkFont().setSize(padding); in createContent()
46 mGreenPaint.getSkFont().setSize(padding); in createContent()
DListViewAnimation.cpp89 textPaint.getSkFont().setSize(dp(20)); in createListItem()
94 textPaint.getSkFont().setSize(dp(15)); in createListItem()
DGlyphStressAnimation.cpp54 paint.getSkFont().setSize(10 + (frameNr % 20) + i * 20); in doFrame()
DTextAnimation.cpp34 paint.getSkFont().setSize(50); in createContent()
DListOfFadedTextAnimation.cpp37 textPaint.getSkFont().setSize(dp(20)); in createListItem()
DMagnifierAnimation.cpp43 paint.getSkFont().setSize(50); in createContent()
DTvApp.cpp122 paint.getSkFont().setSize(24); in createInfoNode()
126 paint.getSkFont().setSize(20); in createInfoNode()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp295 const SkFont& font = paint->getSkFont(); in operator ()()
591 SkFont* font = &paint->getSkFont(); in getMetricsInternal()
673 return (SkFontHinting)reinterpret_cast<Paint*>(paintHandle)->getSkFont().getHinting() in getHinting()
678 reinterpret_cast<Paint*>(paintHandle)->getSkFont().setHinting( in setHinting()
687 reinterpret_cast<Paint*>(paintHandle)->getSkFont().setLinearMetrics(linearText); in setLinearText()
691 reinterpret_cast<Paint*>(paintHandle)->getSkFont().setSubpixel(subpixelText); in setSubpixelText()
703 reinterpret_cast<Paint*>(paintHandle)->getSkFont().setEmbolden(fakeBoldText); in setFakeBoldText()
885 return SkScalarToFloat(reinterpret_cast<Paint*>(paintHandle)->getSkFont().getSize()); in getTextSize()
890 reinterpret_cast<Paint*>(paintHandle)->getSkFont().setSize(textSize); in setTextSize()
895 return SkScalarToFloat(reinterpret_cast<Paint*>(paintHandle)->getSkFont().getScaleX()); in getTextScaleX()
[all …]
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp702 const SkFont& font = paintCopy.getSkFont(); in drawGlyphs()
726 const SkFont& font = paintCopy.getSkFont(); in drawLayoutOnPath()