/aosp14/frameworks/base/core/java/android/view/accessibility/ |
H A D | CaptioningManager.java | 419 public final int foregroundColor; field in CaptioningManager.CaptionStyle 460 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, in CaptionStyle() argument 462 mHasForegroundColor = hasColor(foregroundColor); in CaptionStyle() 470 this.foregroundColor = mHasForegroundColor ? foregroundColor : Color.WHITE; in CaptionStyle() 504 overlay.foregroundColor : foregroundColor; in applyStyle() 582 final int foregroundColor = Secure.getInt( in getCustomStyle() local 583 cr, Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, defStyle.foregroundColor); in getCustomStyle() 598 return new CaptionStyle(foregroundColor, backgroundColor, edgeType, edgeColor, in getCustomStyle()
|
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/ |
H A D | PinBouncer.kt | 164 foregroundColor = MaterialTheme.colorScheme.onSurfaceVariant, 194 val foregroundColor = regex 210 foregroundColor = foregroundColor, 231 foregroundColor: Color, 277 else -> foregroundColor
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | ContrastColorUtil.java | 206 int foregroundColor = originalSpan.getForegroundColor(); in invertCharSequenceColors() local 207 resultSpan = new ForegroundColorSpan(processColor(foregroundColor)); in invertCharSequenceColors() 340 int foregroundColor = originalSpan.getForegroundColor(); in ensureColorSpanContrast() local 342 foregroundColor = ContrastColorUtil.ensureLargeTextContrast( in ensureColorSpanContrast() 343 foregroundColor, background, isBgDark); in ensureColorSpanContrast() 344 resultSpan = new ForegroundColorSpan(foregroundColor); in ensureColorSpanContrast() 697 public static double calculateContrast(int foregroundColor, int backgroundColor) { in calculateContrast() argument 698 return ColorUtilsFromCompat.calculateContrast(foregroundColor, backgroundColor); in calculateContrast() 701 public static boolean satisfiesTextContrast(int backgroundColor, int foregroundColor) { in satisfiesTextContrast() argument 702 return ContrastColorUtil.calculateContrast(foregroundColor, backgroundColor) >= 4.5; in satisfiesTextContrast()
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | ContrastColorUtilTest.java | 137 int foregroundColor = ((ForegroundColorSpan) spans[0]).getForegroundColor(); in testBuilder_ensureColorSpanContrast_partialLength_adjusted() local 138 assertContrastIsWithinRange(foregroundColor, background, 3, 3.2); in testBuilder_ensureColorSpanContrast_partialLength_adjusted()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A 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()
|
H A D | TtmlRenderer.java | 698 mTextView.setTextColor(captionManager.getUserStyle().foregroundColor); in TtmlRenderingWidget()
|
H A D | ClosedCaptionRenderer.java | 1294 mTextColor = captionStyle.foregroundColor; in setCaptionStyle()
|
H A D | WebVttRenderer.java | 1861 setForegroundColor(captionStyle.foregroundColor); in setCaptionStyle()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SubtitleView.java | 281 style.foregroundColor : defStyle.foregroundColor; in setStyle()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | RemoteInputView.java | 226 final int foregroundColor = dark ? Color.WHITE : Color.BLACK; in setBackgroundTintColor() local 229 deleteBgColor = foregroundColor; in setBackgroundTintColor() 231 accentColor = colorStateListWithDisabledAlpha(foregroundColor, 0x4D); // 30% in setBackgroundTintColor() 232 textColor = colorStateListWithDisabledAlpha(foregroundColor, 0x99); // 60% in setBackgroundTintColor() 233 hintColor = ColorUtils.setAlphaComponent(foregroundColor, 0x99); in setBackgroundTintColor()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
H A D | BatteryMeterView.java | 465 public void updateColors(int foregroundColor, int backgroundColor, int singleToneColor) { in updateColors() argument 466 mDrawable.setColors(foregroundColor, backgroundColor, singleToneColor); in updateColors()
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | Html.java | 1328 public Foreground(int foregroundColor) { in Foreground() argument 1329 mForegroundColor = foregroundColor; in Foreground()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 54753 field public final int foregroundColor;
|
/aosp14/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 25299 Landroid/media/Cea708CCParser$CaptionPenColor;->foregroundColor:Landroid/media/Cea708CCParser$Capti…
|