Searched refs:mFont (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tests/RenderScriptTests/tests_v11/src/com/android/rs/test/ |
D | RSTestCore.java | 41 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/base/tests/RenderScriptTests/tests_v14/src/com/android/rs/test/ |
D | RSTestCore.java | 41 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/ |
D | rsContext.h | 88 ObjectBaseRef<Font> mFont; variable 120 Font * getFont() {return mFont.get();} in getFont() 239 ObjectBaseRef<Font> mFont; variable
|
D | rsContext.cpp | 65 mFont.set(con->getFont()); in PushState() 75 mRsc->setFont(mFont.get()); in ~PushState() 380 mFont.clear(); in destroyWorkerThreadResources() 615 mFont.set(mStateFont.mDefault); in setFont() 617 mFont.set(f); in setFont()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 60 Font mFont; field in Paint_Delegate.FontInfo 938 if (info.mFont.canDisplay(c)) { in native_getTextWidths() 994 if (info.mFont.canDisplay(c)) { in native_getTextRunAdvances() 1089 Rectangle2D rect = mainInfo.mFont.getStringBounds(text, index, index + count, in nativeGetCharArrayBounds() 1170 info.mFont = font.deriveFont(mTextSize); in updateFontObject() 1173 info.mFont = info.mFont.deriveFont(new AffineTransform( in updateFontObject() 1176 info.mMetrics = Toolkit.getDefaultToolkit().getFontMetrics(info.mFont); in updateFontObject() 1197 int upTo = mainFont.mFont.canDisplayUpTo(text, i, lastIndex); in measureText() 1220 upTo = fontInfo.mFont.canDisplayUpTo(text, i, i + charCount); in measureText()
|
D | Canvas_Delegate.java | 1013 int upTo = mainFont.mFont.canDisplayUpTo(text, i, lastIndex); in native_drawText() 1016 graphics.setFont(mainFont.mFont); in native_drawText() 1021 graphics.setFont(mainFont.mFont); in native_drawText() 1046 upTo = fontInfo.mFont.canDisplayUpTo(text, i, i + charCount); in native_drawText() 1049 graphics.setFont(fontInfo.mFont); in native_drawText() 1068 graphics.setFont(mainFont.mFont); in native_drawText()
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
D | RSTestCore.java | 41 private Font mFont; field in RSTestCore 128 mFont = Font.create(mRS, mRes, "serif", Font.Style.BOLD, 8); in init() 129 mScript.set_gFont(mFont); in init()
|