Searched refs:captionStyle (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | WebVttRenderer.java | 1220 final CaptionStyle captionStyle = mManager.getUserStyle(); in manageChangeListener() local 1222 setCaptionStyle(captionStyle, fontSize); in manageChangeListener() 1231 final CaptionStyle captionStyle = mCaptionStyle; in setActiveCues() local 1244 regionBox = new RegionLayout(context, region, captionStyle, fontSize); in setActiveCues() 1252 cueBox = new CueLayout(context, cue, captionStyle, fontSize); in setActiveCues() 1273 private void setCaptionStyle(CaptionStyle captionStyle, float fontSize) { in setCaptionStyle() argument 1274 captionStyle = DEFAULT_CAPTION_STYLE.applyStyle(captionStyle); in setCaptionStyle() 1275 mCaptionStyle = captionStyle; in setCaptionStyle() 1281 cueBox.setCaptionStyle(captionStyle, fontSize); in setCaptionStyle() 1287 regionBox.setCaptionStyle(captionStyle, fontSize); in setCaptionStyle() [all …]
|
D | ClosedCaptionRenderer.java | 338 CaptionStyle captionStyle = mListener.getCaptionStyle(); in updateDisplay() local 339 mListener.onDisplayChanged(mDisplay.getStyledText(captionStyle)); in updateDisplay() 526 SpannableStringBuilder getStyledText(CaptionStyle captionStyle) { in getStyledText() argument 559 new MutableBackgroundColorSpan(captionStyle.backgroundColor), in getStyledText() 674 SpannableStringBuilder[] getStyledText(CaptionStyle captionStyle) { in getStyledText() argument 679 mLines[i].getStyledText(captionStyle) : null); in getStyledText() 1252 void setCaptionStyle(CaptionStyle captionStyle) { in setCaptionStyle() argument 1253 mTextColor = captionStyle.foregroundColor; in setCaptionStyle() 1254 mBgColor = captionStyle.backgroundColor; in setCaptionStyle() 1255 mEdgeType = captionStyle.edgeType; in setCaptionStyle() [all …]
|