Home
last modified time | relevance | path

Searched refs:fontSize (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/media/java/android/media/
DTimedText.java206 public final int fontSize; field in TimedText.Style
227 int fontSize, int colorRGBA) { in Style() argument
234 this.fontSize = fontSize; in Style()
539 int fontSize = -1; in readStyle() local
566 fontSize = parcel.readInt(); in readStyle()
584 isItalic, isUnderlined, fontSize, colorRGBA); in readStyle()
/frameworks/rs/
DrsFont.cpp40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init() argument
60 mFontSize = fontSize; in init()
63 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); in init()
294 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, in create() argument
301 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) { in create()
307 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create()
861 float fontSize, uint32_t dpi) { in rsi_FontCreateFromFile() argument
862 Font *newFont = Font::create(rsc, name, fontSize, dpi); in rsi_FontCreateFromFile()
871 float fontSize, uint32_t dpi, in rsi_FontCreateFromMemory() argument
873 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length); in rsi_FontCreateFromMemory()
DrsFont.h76 static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi,
121 …bool init(const char *name, float fontSize, uint32_t dpi, const void *data = NULL, uint32_t dataLe…
Drs.spec456 param float fontSize
463 param float fontSize
/frameworks/base/libs/hwui/font/
DFont.h67 static Font* create(FontRenderer* state, uint32_t fontId, float fontSize,
91 Font(FontRenderer* state, uint32_t fontId, float fontSize, int flags, uint32_t italicStyle,
DFont.cpp36 Font::Font(FontRenderer* state, uint32_t fontId, float fontSize, in Font() argument
39 mState(state), mFontId(fontId), mFontSize(fontSize), in Font()
421 Font* Font::create(FontRenderer* state, uint32_t fontId, float fontSize, in create() argument
428 if (font->mFontId == fontId && font->mFontSize == fontSize && in create()
436 Font* newFont = new Font(state, fontId, fontSize, flags, italicStyle, in create()
/frameworks/base/tests/BrowserTestPlugin/jni/event/
DEventPlugin.cpp67 const int fontSize = (int)(zoomFactorW * 16); in drawPlugin() local
86 gPaintI.setTextSize(paint, fontSize); in drawPlugin()
/frameworks/base/services/java/com/android/server/wm/
DWatermark.java84 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, in Watermark() local
88 mTextPaint.setTextSize(fontSize); in Watermark()
/frameworks/base/libs/hwui/
DFontRenderer.cpp469 void FontRenderer::setFont(SkPaint* paint, uint32_t fontId, float fontSize) { in setFont() argument
482 mCurrentFont = Font::create(this, fontId, fontSize, flags, italicStyle, in setFont()
563 float fontSize = paint->getTextSize(); in precache() local
565 fontSize, flags, italicStyle, scaleX, style, strokeWidth); in precache()
DFontRenderer.h50 void setFont(SkPaint* paint, uint32_t fontId, float fontSize);
/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp855 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile() argument
860 fontSize, dpi); in nFontCreateFromFile()
867 jstring name, jfloat fontSize, jint dpi, jint native_asset) in nFontCreateFromAssetStream() argument
874 fontSize, dpi, in nFontCreateFromAssetStream()
881 jfloat fontSize, jint dpi) in nFontCreateFromAsset() argument
896 fontSize, dpi, in nFontCreateFromAsset()
/frameworks/base/docs/html/guide/topics/resources/
Dmore-resources.jd311 float fontSize = res.{@link android.content.res.Resources#getDimension(int) getDimension}(R.dimen.f…