HomeSort by relevance Sort by last modified time
    Searched refs:CaptionStyle (Results 1 - 14 of 14) sorted by null

  /frameworks/base/core/java/android/view/accessibility/
CaptioningManager.java 44 /** Default style preset as an index into {@link CaptionStyle#PRESETS}. */
126 * {@link CaptionStyle}, or the default style if not specified
129 public CaptionStyle getUserStyle() {
131 if (preset == CaptionStyle.PRESET_CUSTOM) {
132 return CaptionStyle.getCustomStyle(mContentResolver);
135 return CaptionStyle.PRESETS[preset];
193 final CaptionStyle userStyle = getUserStyle();
263 public static final class CaptionStyle {
278 private static final CaptionStyle WHITE_ON_BLACK;
279 private static final CaptionStyle BLACK_ON_WHITE
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
SubtitleView.java 36 import android.view.accessibility.CaptioningManager.CaptionStyle;
268 final CaptionStyle style;
269 if (styleId == CaptionStyle.PRESET_CUSTOM) {
270 style = CaptionStyle.getCustomStyle(cr);
272 style = CaptionStyle.PRESETS[styleId];
275 final CaptionStyle defStyle = CaptionStyle.DEFAULT;
325 if (edgeType == CaptionStyle.EDGE_TYPE_OUTLINE) {
334 } else if (edgeType == CaptionStyle.EDGE_TYPE_DROP_SHADOW) {
336 } else if (edgeType == CaptionStyle.EDGE_TYPE_RAISE
    [all...]
  /packages/apps/Settings/src/com/android/settings/accessibility/
PresetPreference.java 23 import android.view.accessibility.CaptioningManager.CaptionStyle;
46 return getValue() != CaptionStyle.PRESET_CUSTOM
EdgeTypePreference.java 24 import android.view.accessibility.CaptioningManager.CaptionStyle;
51 return getValue() == CaptionStyle.EDGE_TYPE_NONE || super.shouldDisableDependents();
CaptionPropertiesFragment.java 36 import android.view.accessibility.CaptioningManager.CaptionStyle;
198 final CaptionStyle style = mCaptioningManager.getUserStyle();
202 final CaptionStyle defStyle = CaptionStyle.DEFAULT;
344 final CaptionStyle attrs = CaptionStyle.getCustomStyle(cr);
349 attrs.foregroundColor : CaptionStyle.COLOR_UNSPECIFIED;
353 attrs.backgroundColor : CaptionStyle.COLOR_UNSPECIFIED;
357 attrs.windowColor : CaptionStyle.COLOR_UNSPECIFIED;
377 if (!CaptionStyle.hasColor(value))
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
CaptionSettingsFragment.java 57 public void onUserStyleChanged(@NonNull CaptioningManager.CaptionStyle userStyle) {
164 final CaptioningManager.CaptionStyle style = mCaptioningManager.getUserStyle();
168 final CaptioningManager.CaptionStyle defStyle =
169 CaptioningManager.CaptionStyle.DEFAULT;
  /cts/tests/accessibility/src/android/view/accessibility/cts/
CaptioningManagerTest.java 23 import android.view.accessibility.CaptioningManager.CaptionStyle;
118 CaptionStyle userStyle = mManager.getUserStyle();
  /frameworks/base/media/java/android/media/
ClosedCaptionRenderer.java 40 import android.view.accessibility.CaptioningManager.CaptionStyle;
117 void setCaptionStyle(CaptionStyle captionStyle);
121 private static final CaptionStyle DEFAULT_CAPTION_STYLE = CaptionStyle.DEFAULT;
127 protected CaptionStyle mCaptionStyle;
226 public void onUserStyleChanged(CaptionStyle userStyle) {
332 CaptionStyle getCaptionStyle();
492 CaptionStyle captionStyle = mListener.getCaptionStyle()
    [all...]
WebVttRenderer.java 29 import android.view.accessibility.CaptioningManager.CaptionStyle;
    [all...]
Cea708CaptionRenderer.java 43 import android.view.accessibility.CaptioningManager.CaptionStyle;
    [all...]
  /packages/apps/TV/src/com/android/tv/tuner/cc/
CaptionWindowLayout.java 39 import android.view.accessibility.CaptioningManager.CaptionStyle;
113 public void onUserStyleChanged(CaptionStyle userStyle) {
  /frameworks/base/
compiled-classes-phone     [all...]
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/26/
android.jar 

Completed in 1609 milliseconds