Home
last modified time | relevance | path

Searched refs:CaptionStyle (Results 1 – 10 of 10) 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/
Dhiddenapi-greylist-max-o.txt37766 …Builder;->getStyledText(Landroid/view/accessibility/CaptioningManager$CaptionStyle;)Landroid/text/…
37782 …CMemory;->getStyledText(Landroid/view/accessibility/CaptioningManager$CaptionStyle;)[Landroid/text…
37797 …rser$DisplayListener;->getCaptionStyle()Landroid/view/accessibility/CaptioningManager$CaptionStyle;
37881 …08CCWidget$CCLayout;->setCaptionStyle(Landroid/view/accessibility/CaptioningManager$CaptionStyle;)V
37899 …8CCWidget$CCLineBox;->setCaptionStyle(Landroid/view/accessibility/CaptioningManager$CaptionStyle;)V
37906 …media/Cea608CCWidget;->getCaptionStyle()Landroid/view/accessibility/CaptioningManager$CaptionStyle;
38142 …08CCWidget$CCLayout;->setCaptionStyle(Landroid/view/accessibility/CaptioningManager$CaptionStyle;)V
38149 …CCWidget$CCView;->DEFAULT_CAPTION_STYLE:Landroid/view/accessibility/CaptioningManager$CaptionStyle;
38150 …a708CCWidget$CCView;->setCaptionStyle(Landroid/view/accessibility/CaptioningManager$CaptionStyle;)V
38175 …CCWidget$CCWindowLayout;->mCaptionStyle:Landroid/view/accessibility/CaptioningManager$CaptionStyle;
[all …]
Dpreloaded-classes4036 android.view.accessibility.CaptioningManager$CaptionStyle
Dboot-image-profile.txt17895 HSPLandroid/view/accessibility/CaptioningManager$CaptionStyle;-><init>(IIIIILjava/lang/String;)V
17901 …ility/CaptioningManager;->getUserStyle()Landroid/view/accessibility/CaptioningManager$CaptionStyle;
36751 Landroid/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.txt52431 method @NonNull public android.view.accessibility.CaptioningManager.CaptionStyle getUserStyle();
52436 public static final class CaptioningManager.CaptionStyle {
52461 …public void onUserStyleChanged(@NonNull android.view.accessibility.CaptioningManager.CaptionStyle);