Home
last modified time | relevance | path

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

/frameworks/base/tests/RenderScriptTests/tests/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/base/libs/rs/
DrsContext.h94 ObjectBaseRef<Font> mFont; variable
126 Font * getFont() {return mFont.get();} in getFont()
241 ObjectBaseRef<Font> mFont; variable
DrsContext.cpp62 mFont.set(con->getFont()); in PushState()
72 mRsc->setFont(mFont.get()); in ~PushState()
307 mFont.clear(); in destroyWorkerThreadResources()
528 mFont.set(mStateFont.mDefault); in setFont()
530 mFont.set(f); in setFont()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java59 Font mFont; field in Paint_Delegate.FontInfo
933 if (info.mFont.canDisplay(c)) { in native_getTextWidths()
989 if (info.mFont.canDisplay(c)) { in native_getTextRunAdvances()
1084 Rectangle2D rect = mainInfo.mFont.getStringBounds(text, index, index + count, in nativeGetCharArrayBounds()
1165 info.mFont = font.deriveFont(mTextSize); in updateFontObject()
1168 info.mFont = info.mFont.deriveFont(new AffineTransform( in updateFontObject()
1171 info.mMetrics = Toolkit.getDefaultToolkit().getFontMetrics(info.mFont); in updateFontObject()
1192 int upTo = mainFont.mFont.canDisplayUpTo(text, i, lastIndex); in measureText()
1215 upTo = fontInfo.mFont.canDisplayUpTo(text, i, i + charCount); in measureText()
DCanvas_Delegate.java997 int upTo = mainFont.mFont.canDisplayUpTo(text, i, lastIndex); in native_drawText()
1000 graphics.setFont(mainFont.mFont); in native_drawText()
1005 graphics.setFont(mainFont.mFont); in native_drawText()
1030 upTo = fontInfo.mFont.canDisplayUpTo(text, i, i + charCount); in native_drawText()
1033 graphics.setFont(fontInfo.mFont); in native_drawText()
1052 graphics.setFont(mainFont.mFont); in native_drawText()