Home
last modified time | relevance | path

Searched refs:foregroundColor (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java315 public final int foregroundColor; field in CaptioningManager.CaptionStyle
356 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, in CaptionStyle() argument
358 mHasForegroundColor = hasColor(foregroundColor); in CaptionStyle()
366 this.foregroundColor = mHasForegroundColor ? foregroundColor : Color.WHITE; in CaptionStyle()
400 overlay.foregroundColor : foregroundColor; in applyStyle()
478 final int foregroundColor = Secure.getInt( in getCustomStyle() local
479 cr, Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, defStyle.foregroundColor); in getCustomStyle()
494 return new CaptionStyle(foregroundColor, backgroundColor, edgeType, edgeColor, in getCustomStyle()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java204 int foregroundColor = originalSpan.getForegroundColor(); in invertCharSequenceColors() local
205 resultSpan = new ForegroundColorSpan(processColor(foregroundColor)); in invertCharSequenceColors()
606 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast() argument
607 return ColorUtilsFromCompat.calculateContrast(foregroundColor, backgroundColor); in calculateContrast()
610 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast() argument
611 return ContrastColorUtil.calculateContrast(foregroundColor, backgroundColor) >= 4.5; in satisfiesTextContrast()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMediaNotificationProcessor.java143 int foregroundColor = selectForegroundColor(backgroundColor, palette); in processNotification() local
144 builder.setColorPalette(backgroundColor, foregroundColor); in processNotification()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java501 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue); in parseC1() local
516 new CaptionPenColor(foregroundColor, backgroundColor, edgeColor))); in parseC1()
520 foregroundColor, backgroundColor, edgeColor)); in parseC1()
917 public final CaptionColor foregroundColor; field in Cea708CCParser.CaptionPenColor
921 public CaptionPenColor(CaptionColor foregroundColor, CaptionColor backgroundColor, in CaptionPenColor() argument
923 this.foregroundColor = foregroundColor; in CaptionPenColor()
2141 ? style.foregroundColor : DEFAULT_CAPTION_STYLE.foregroundColor); in setCaptionStyle()
DTtmlRenderer.java697 mTextView.setTextColor(captionManager.getUserStyle().foregroundColor); in TtmlRenderingWidget()
DClosedCaptionRenderer.java1294 mTextColor = captionStyle.foregroundColor; in setCaptionStyle()
DWebVttRenderer.java1861 setForegroundColor(captionStyle.foregroundColor); in setCaptionStyle()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java280 style.foregroundColor : defStyle.foregroundColor; in setStyle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java450 private void updateColors(int foregroundColor, int backgroundColor, int singleToneColor) { in updateColors() argument
451 mDrawable.setColors(foregroundColor, backgroundColor, singleToneColor); in updateColors()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1220 int foregroundColor; in setTextComposingMask() local
1222 foregroundColor = mColorWaitInput; in setTextComposingMask()
1224 foregroundColor = mEST.getForegroundColor(min); in setTextComposingMask()
1229 "--- fg:" + Integer.toHexString(foregroundColor) + ",bg:" in setTextComposingMask()
1233 if (foregroundColor == backgroundColor) { in setTextComposingMask()
/frameworks/base/core/java/android/text/
DHtml.java1296 public Foreground(int foregroundColor) { in Foreground() argument
1297 mForegroundColor = foregroundColor; in Foreground()
/frameworks/base/core/java/android/app/
DNotification.java5656 int foregroundColor = originalSpan.getForegroundColor(); in ensureColorSpanContrast() local
5657 foregroundColor = ContrastColorUtil.ensureLargeTextContrast( in ensureColorSpanContrast()
5658 foregroundColor, background, mInNightMode); in ensureColorSpanContrast()
5660 outResultColor[0] = ColorStateList.valueOf(foregroundColor); in ensureColorSpanContrast()
5663 resultSpan = new ForegroundColorSpan(foregroundColor); in ensureColorSpanContrast()
6080 public void setColorPalette(int backgroundColor, int foregroundColor) {
6082 mForegroundColor = foregroundColor;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt35213 field public final int foregroundColor;
/frameworks/base/api/
Dcurrent.txt52452 field public final int foregroundColor;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt37952 Landroid/media/Cea708CCParser$CaptionPenColor;->foregroundColor:Landroid/media/Cea708CCParser$Capti…