Home
last modified time | relevance | path

Searched refs:CaptionStyle (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java130 public CaptionStyle getUserStyle() { in getUserStyle()
132 if (preset == CaptionStyle.PRESET_CUSTOM) { in getUserStyle()
133 return CaptionStyle.getCustomStyle(mContentResolver); in getUserStyle()
136 return CaptionStyle.PRESETS[preset]; in getUserStyle()
194 final CaptionStyle userStyle = getUserStyle(); in notifyUserStyleChanged()
264 public static final class CaptionStyle { class in CaptioningManager
279 private static final CaptionStyle WHITE_ON_BLACK;
280 private static final CaptionStyle BLACK_ON_WHITE;
281 private static final CaptionStyle YELLOW_ON_BLACK;
282 private static final CaptionStyle YELLOW_ON_BLUE;
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java36 import android.view.accessibility.CaptioningManager.CaptionStyle;
271 final CaptionStyle style; in setStyle()
272 if (styleId == CaptionStyle.PRESET_CUSTOM) { in setStyle()
273 style = CaptionStyle.getCustomStyle(cr); in setStyle()
275 style = CaptionStyle.PRESETS[styleId]; in setStyle()
278 final CaptionStyle defStyle = CaptionStyle.DEFAULT; in setStyle()
328 if (edgeType == CaptionStyle.EDGE_TYPE_OUTLINE) { in onDraw()
337 } else if (edgeType == CaptionStyle.EDGE_TYPE_DROP_SHADOW) { in onDraw()
339 } else if (edgeType == CaptionStyle.EDGE_TYPE_RAISED in onDraw()
340 || edgeType == CaptionStyle.EDGE_TYPE_DEPRESSED) { in onDraw()
[all …]
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java40 import android.view.accessibility.CaptioningManager.CaptionStyle;
117 void setCaptionStyle(CaptionStyle captionStyle); in setCaptionStyle()
121 private static final CaptionStyle DEFAULT_CAPTION_STYLE = CaptionStyle.DEFAULT;
127 protected CaptionStyle mCaptionStyle;
226 public void onUserStyleChanged(CaptionStyle userStyle) {
332 CaptionStyle getCaptionStyle(); in getCaptionStyle()
492 CaptionStyle captionStyle = mListener.getCaptionStyle(); in updateDisplay()
707 SpannableStringBuilder getStyledText(CaptionStyle captionStyle) { in getStyledText()
855 SpannableStringBuilder[] getStyledText(CaptionStyle captionStyle) { in getStyledText()
1257 public CaptionStyle getCaptionStyle() { in getCaptionStyle()
[all …]
DWebVttRenderer.java30 import android.view.accessibility.CaptioningManager.CaptionStyle;
1119 private static final CaptionStyle DEFAULT_CAPTION_STYLE = CaptionStyle.DEFAULT;
1142 private CaptionStyle mCaptionStyle;
1224 final CaptionStyle captionStyle = mManager.getUserStyle(); in manageChangeListener()
1235 final CaptionStyle captionStyle = mCaptionStyle; in setActiveCues()
1277 private void setCaptionStyle(CaptionStyle captionStyle, float fontSize) { in setCaptionStyle()
1517 public void onUserStyleChanged(CaptionStyle userStyle) {
1530 private CaptionStyle mCaptionStyle;
1533 public RegionLayout(Context context, TextTrackRegion region, CaptionStyle captionStyle, in RegionLayout()
1551 public void setCaptionStyle(CaptionStyle captionStyle, float fontSize) { in setCaptionStyle()
[all …]
DCea708CaptionRenderer.java43 import android.view.accessibility.CaptioningManager.CaptionStyle;
1342 public void setCaptionStyle(CaptionStyle style) { in setCaptionStyle()
1681 private CaptionStyle mCaptionStyle;
1724 public void setCaptionStyle(CaptionStyle style) { in setCaptionStyle()
2120 private static final CaptionStyle DEFAULT_CAPTION_STYLE = CaptionStyle.DEFAULT;
2139 public void setCaptionStyle(CaptionStyle style) { in setCaptionStyle()
/frameworks/base/config/
Dpreloaded-classes4036 android.view.accessibility.CaptioningManager$CaptionStyle
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...