Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java134 public CaptionStyle getUserStyle() { in getUserStyle()
136 if (preset == CaptionStyle.PRESET_CUSTOM) { in getUserStyle()
137 return CaptionStyle.getCustomStyle(mContentResolver); in getUserStyle()
140 return CaptionStyle.PRESETS[preset]; in getUserStyle()
198 final CaptionStyle userStyle = getUserStyle(); in notifyUserStyleChanged()
268 public static final class CaptionStyle { class in CaptioningManager
283 private static final CaptionStyle WHITE_ON_BLACK;
284 private static final CaptionStyle BLACK_ON_WHITE;
285 private static final CaptionStyle YELLOW_ON_BLACK;
286 private static final CaptionStyle YELLOW_ON_BLUE;
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java36 import android.view.accessibility.CaptioningManager.CaptionStyle;
268 final CaptionStyle style; in setStyle()
269 if (styleId == CaptionStyle.PRESET_CUSTOM) { in setStyle()
270 style = CaptionStyle.getCustomStyle(cr); in setStyle()
272 style = CaptionStyle.PRESETS[styleId]; in setStyle()
275 final CaptionStyle defStyle = CaptionStyle.DEFAULT; in setStyle()
325 if (edgeType == CaptionStyle.EDGE_TYPE_OUTLINE) { in onDraw()
334 } else if (edgeType == CaptionStyle.EDGE_TYPE_DROP_SHADOW) { in onDraw()
336 } else if (edgeType == CaptionStyle.EDGE_TYPE_RAISED in onDraw()
337 || 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.java29 import android.view.accessibility.CaptioningManager.CaptionStyle;
1117 private static final CaptionStyle DEFAULT_CAPTION_STYLE = CaptionStyle.DEFAULT;
1140 private CaptionStyle mCaptionStyle;
1222 final CaptionStyle captionStyle = mManager.getUserStyle(); in manageChangeListener()
1233 final CaptionStyle captionStyle = mCaptionStyle; in setActiveCues()
1275 private void setCaptionStyle(CaptionStyle captionStyle, float fontSize) { in setCaptionStyle()
1515 public void onUserStyleChanged(CaptionStyle userStyle) {
1528 private CaptionStyle mCaptionStyle;
1531 public RegionLayout(Context context, TextTrackRegion region, CaptionStyle captionStyle, in RegionLayout()
1549 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/docs/html/sdk/api_diff/21/
DmissingSinces.txt608 NO DOC BLOCK: android.view.accessibility.CaptioningManager.CaptionStyle Method hasBackgroundColor()
610 NO DOC BLOCK: android.view.accessibility.CaptioningManager.CaptionStyle Method hasEdgeColor()
611 NO DOC BLOCK: android.view.accessibility.CaptioningManager.CaptionStyle Method hasEdgeType()
613 NO DOC BLOCK: android.view.accessibility.CaptioningManager.CaptionStyle Method hasForegroundColor()
620 NO DOC BLOCK: android.view.accessibility.CaptioningManager.CaptionStyle Method hasWindowColor()
1241 NO DOC BLOCK: android.view.accessibility.CaptioningManager.CaptionStyle Field EDGE_TYPE_DEPRESSED
1242 NO DOC BLOCK: android.view.accessibility.CaptioningManager.CaptionStyle Field EDGE_TYPE_RAISED
1243 NO DOC BLOCK: android.view.accessibility.CaptioningManager.CaptionStyle Field EDGE_TYPE_UNSPECIFIED
2140 NO DOC BLOCK: android.view.accessibility.CaptioningManager.CaptionStyle Field windowColor
/frameworks/base/docs/html/about/versions/
Dandroid-4.4.jd340 …styles defined by {@link android.view.accessibility.CaptioningManager.CaptionStyle}, such as typef…
/frameworks/base/
Dcompiled-classes-phone4551 android.view.accessibility.CaptioningManager$CaptionStyle
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt35192 method public android.view.accessibility.CaptioningManager.CaptionStyle getUserStyle();
35197 public static final class CaptioningManager.CaptionStyle {
35222 … method public void onUserStyleChanged(android.view.accessibility.CaptioningManager.CaptionStyle);
/frameworks/base/api/
Dcurrent.txt44196 method public android.view.accessibility.CaptioningManager.CaptionStyle getUserStyle();
44201 public static final class CaptioningManager.CaptionStyle {
44226 … method public void onUserStyleChanged(android.view.accessibility.CaptioningManager.CaptionStyle);
Dtest-current.txt44275 method public android.view.accessibility.CaptioningManager.CaptionStyle getUserStyle();
44280 public static final class CaptioningManager.CaptionStyle {
44305 … method public void onUserStyleChanged(android.view.accessibility.CaptioningManager.CaptionStyle);
Dsystem-current.txt47199 method public android.view.accessibility.CaptioningManager.CaptionStyle getUserStyle();
47204 public static final class CaptioningManager.CaptionStyle {
47229 … method public void onUserStyleChanged(android.view.accessibility.CaptioningManager.CaptionStyle);