Home
last modified time | relevance | path

Searched refs:fontSize (Results 1 – 10 of 10) 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()
DWebVttRenderer.java1223 final float fontSize = mManager.getFontScale() * getHeight() * LINE_HEIGHT_RATIO; in manageChangeListener() local
1224 setCaptionStyle(captionStyle, fontSize); in manageChangeListener()
1234 final float fontSize = mFontSize; in setActiveCues() local
1246 regionBox = new RegionLayout(context, region, captionStyle, fontSize); in setActiveCues()
1254 cueBox = new CueLayout(context, cue, captionStyle, fontSize); in setActiveCues()
1275 private void setCaptionStyle(CaptionStyle captionStyle, float fontSize) { in setCaptionStyle() argument
1278 mFontSize = fontSize; in setCaptionStyle()
1283 cueBox.setCaptionStyle(captionStyle, fontSize); in setCaptionStyle()
1289 regionBox.setCaptionStyle(captionStyle, fontSize); in setCaptionStyle()
1510 final float fontSize = fontScale * getHeight() * LINE_HEIGHT_RATIO;
[all …]
DClosedCaptionRenderer.java1263 float fontSize = MeasureSpec.getSize(heightMeasureSpec) in onMeasure() local
1265 setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize); in onMeasure()
1267 mOutlineWidth = EDGE_OUTLINE_RATIO * fontSize + 1.0f; in onMeasure()
1268 mShadowRadius = EDGE_SHADOW_RATIO * fontSize + 1.0f;; in onMeasure()
/frameworks/rs/
Drsg.spec59 param float fontSize
66 param float fontSize
DrsFont.cpp42 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen)… in init() argument
62 mFontSize = fontSize; in init()
65 error = FT_Set_Char_Size(mFace, (FT_F26Dot6)(fontSize * 64.0f), 0, dpi, 0); in init()
296 Font * Font::create(Context *rsc, const char *name, float fontSize, uint32_t dpi, in create() argument
303 if (ithFont->mFontName == name && ithFont->mFontSize == fontSize && ithFont->mDpi == dpi) { in create()
309 bool isInitialized = newFont->init(name, fontSize, dpi, data, dataLen); in create()
862 float fontSize, uint32_t dpi) { in rsi_FontCreateFromFile() argument
863 Font *newFont = Font::create(rsc, name, fontSize, dpi); in rsi_FontCreateFromFile()
872 float fontSize, uint32_t dpi, in rsi_FontCreateFromMemory() argument
874 Font *newFont = Font::create(rsc, name, fontSize, dpi, data, data_length); in rsi_FontCreateFromMemory()
DrsFont.h75 static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi,
120 …bool init(const char *name, float fontSize, uint32_t dpi, const void *data = nullptr, uint32_t dat…
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java84 int fontSize = WindowManagerService.getPropertyInt(tokens, 1, in Watermark() local
88 mTextPaint.setTextSize(fontSize); in Watermark()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp1617 jstring fileName, jfloat fontSize, jint dpi) in nFontCreateFromFile() argument
1622 fontSize, dpi); in nFontCreateFromFile()
1629 jstring name, jfloat fontSize, jint dpi, jlong native_asset) in nFontCreateFromAssetStream() argument
1636 fontSize, dpi, in nFontCreateFromAssetStream()
1643 jfloat fontSize, jint dpi) in nFontCreateFromAsset() argument
1658 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…
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...