Home
last modified time | relevance | path

Searched refs:mFont (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DPaintImpl.cpp31 mFont.setEdging(SkFont::Edging::kAlias); in Paint()
36 , mFont(paint.mFont) in Paint()
55 mFont = other.mFont; in operator =()
73 a.mFont == b.mFont && in operator ==()
87 mFont = SkFont(); in reset()
88 mFont.setEdging(SkFont::Edging::kAlias); in reset()
98 SkASSERT(mFont.getEdging() != SkFont::Edging::kSubpixelAntiAlias); in setAntiAlias()
101 mFont.setEdging(aa ? SkFont::Edging::kAntiAlias : SkFont::Edging::kAlias); in setAntiAlias()
184 uint32_t flags = paintToLegacyFlags(*this) | fontToLegacyFlags(mFont); in getJavaFlags()
193 applyLegacyFlagsToFont(flags, &mFont); in setJavaFlags()
DPaint.h59 SkFont& getSkFont() { return mFont; } in getSkFont()
60 const SkFont& getSkFont() const { return mFont; } in getSkFont()
154 SkFont mFont;
/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java95 public Font mFont; field in FontFamily_Delegate.FontInfo
240 return desiredStyle.mFont; in getFont()
409 fontInfo.mFont = font;
417 return mFonts.putIfAbsent(fontInfo, fontInfo.mFont) == null;
442 assert srcFont.mFont != null;
443 Font derivedFont = srcFont.mFont;
463 outFont.mFont = derivedFont;
DBidiRenderer.java176 Font font = fontInfos.get(i).mFont; in renderScript()
344 Font bestFont = fonts.get(0).mFont; in getScriptFont()
347 int count = fontInfo.mFont.canDisplayUpTo(text, start, limit); in getScriptFont()
350 return fontInfo.mFont; in getScriptFont()
355 bestFont = fontInfo.mFont; in getScriptFont()
DPaint_Delegate.java68 final Font mFont; field in Paint_Delegate.FontInfo
72 this.mFont = font; in FontInfo()
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DRSTestCore.java41 private Font mFont; field in RSTestCore
99 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
100 mScript.set_gFont(mFont); in init()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DRSTestCore.java41 private Font mFont; field in RSTestCore
103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
104 mScript.set_gFont(mFont); in init()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DRSTestCore.java41 private Font mFont; field in RSTestCore
103 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init()
104 mScript.set_gFont(mFont); in init()
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFontFamily_Builder_Delegate.java164 return desiredStyle.mFont;
175 fontInfo.mFont = font;
182 mFonts.putIfAbsent(fontInfo, fontInfo.mFont);
/frameworks/rs/
DrsContext.h105 ObjectBaseRef<Font> mFont; variable
142 Font * getFont() {return mFont.get();} in getFont()
327 ObjectBaseRef<Font> mFont; variable
DrsContext.cpp78 mFont.set(con->getFont()); in PushState()
90 mRsc->setFont(mFont.get()); in ~PushState()
373 mFont.clear(); in destroyWorkerThreadResources()
666 mFont.set(mStateFont.mDefault); in setFont()
668 mFont.set(f); in setFont()