/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 315 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/ |
D | ContrastColorUtil.java | 204 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/ |
D | MediaNotificationProcessor.java | 143 int foregroundColor = selectForegroundColor(backgroundColor, palette); in processNotification() local 144 builder.setColorPalette(backgroundColor, foregroundColor); in processNotification()
|
/frameworks/base/media/java/android/media/ |
D | Cea708CaptionRenderer.java | 501 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()
|
D | TtmlRenderer.java | 697 mTextView.setTextColor(captionManager.getUserStyle().foregroundColor); in TtmlRenderingWidget()
|
D | ClosedCaptionRenderer.java | 1294 mTextColor = captionStyle.foregroundColor; in setCaptionStyle()
|
D | WebVttRenderer.java | 1861 setForegroundColor(captionStyle.foregroundColor); in setCaptionStyle()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 280 style.foregroundColor : defStyle.foregroundColor; in setStyle()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 455 private void updateColors(int foregroundColor, int backgroundColor, int singleToneColor) { in updateColors() argument 456 mDrawable.setColors(foregroundColor, backgroundColor, singleToneColor); in updateColors()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 1220 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/ |
D | Html.java | 1296 public Foreground(int foregroundColor) { in Foreground() argument 1297 mForegroundColor = foregroundColor; in Foreground()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 5787 int foregroundColor = originalSpan.getForegroundColor(); in ensureColorSpanContrast() local 5788 foregroundColor = ContrastColorUtil.ensureLargeTextContrast( in ensureColorSpanContrast() 5789 foregroundColor, background, mInNightMode); in ensureColorSpanContrast() 5791 outResultColor[0] = ColorStateList.valueOf(foregroundColor); in ensureColorSpanContrast() 5794 resultSpan = new ForegroundColorSpan(foregroundColor); in ensureColorSpanContrast() 6221 public void setColorPalette(int backgroundColor, int foregroundColor) { 6223 mForegroundColor = foregroundColor;
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 35213 field public final int foregroundColor;
|
/frameworks/base/api/ |
D | current.txt | 56302 field public final int foregroundColor;
|