Home
last modified time | relevance | path

Searched refs:captionStyle (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
DWebVttRenderer.java1224 final CaptionStyle captionStyle = mManager.getUserStyle(); in manageChangeListener() local
1226 setCaptionStyle(captionStyle, fontSize); in manageChangeListener()
1235 final CaptionStyle captionStyle = mCaptionStyle; in setActiveCues() local
1248 regionBox = new RegionLayout(context, region, captionStyle, fontSize); in setActiveCues()
1256 cueBox = new CueLayout(context, cue, captionStyle, fontSize); in setActiveCues()
1277 private void setCaptionStyle(CaptionStyle captionStyle, float fontSize) { in setCaptionStyle() argument
1278 captionStyle = DEFAULT_CAPTION_STYLE.applyStyle(captionStyle); in setCaptionStyle()
1279 mCaptionStyle = captionStyle; in setCaptionStyle()
1285 cueBox.setCaptionStyle(captionStyle, fontSize); in setCaptionStyle()
1291 regionBox.setCaptionStyle(captionStyle, fontSize); in setCaptionStyle()
[all …]
DClosedCaptionRenderer.java117 void setCaptionStyle(CaptionStyle captionStyle); in setCaptionStyle() argument
492 CaptionStyle captionStyle = mListener.getCaptionStyle(); in updateDisplay() local
493 mListener.onDisplayChanged(mDisplay.getStyledText(captionStyle)); in updateDisplay()
707 SpannableStringBuilder getStyledText(CaptionStyle captionStyle) { in getStyledText() argument
740 new MutableBackgroundColorSpan(captionStyle.backgroundColor), in getStyledText()
855 SpannableStringBuilder[] getStyledText(CaptionStyle captionStyle) { in getStyledText() argument
859 mLines[i].getStyledText(captionStyle) : null); in getStyledText()
1293 void setCaptionStyle(CaptionStyle captionStyle) { in setCaptionStyle() argument
1294 mTextColor = captionStyle.foregroundColor; in setCaptionStyle()
1295 mBgColor = captionStyle.backgroundColor; in setCaptionStyle()
[all …]