Home
last modified time | relevance | path

Searched refs:getForegroundColor (Results 1 – 10 of 10) sorted by relevance

/aosp12/frameworks/base/core/java/android/text/style/
H A DForegroundColorSpan.java93 public int getForegroundColor() { in getForegroundColor() method in ForegroundColorSpan
/aosp12/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationTest.java418 assertThat(((ForegroundColorSpan) spans[0]).getForegroundColor()).isEqualTo(Color.YELLOW); in testBuilder_ensureColorSpanContrast_removesAllFullLengthColorSpans()
428 assertThat(((ForegroundColorSpan) spans[2]).getForegroundColor()).isEqualTo(Color.GREEN); in testBuilder_ensureColorSpanContrast_removesAllFullLengthColorSpans()
443 int foregroundColor = ((ForegroundColorSpan) spans[0]).getForegroundColor(); in testBuilder_ensureColorSpanContrast_partialLength_adjusted()
469 assertThat(((ForegroundColorSpan) spans[0]).getForegroundColor()).isEqualTo(Color.YELLOW); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
481 int newGreen = ((ForegroundColorSpan) spans[2]).getForegroundColor(); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaCarouselController.kt515 pageIndicator.tintList = ColorStateList.valueOf(getForegroundColor())
536 private fun getForegroundColor(): Int { regex
/aosp12/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java874 public int getForegroundColor(int pos) { in getForegroundColor() method in EditStyledText
881 return spans[0].getForegroundColor(); in getForegroundColor()
1224 foregroundColor = mEST.getForegroundColor(min); in setTextComposingMask()
2749 renewColor(spans[spans.length - 1].getForegroundColor()); in renewColor()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DContrastColorUtil.java204 int foregroundColor = originalSpan.getForegroundColor(); in invertCharSequenceColors()
/aosp12/frameworks/base/core/java/android/text/
H A DHtml.java574 int color = ((ForegroundColorSpan) style[j]).getForegroundColor(); in withinParagraph()
/aosp12/frameworks/base/core/java/android/app/
H A DNotification.java6214 result = originalSpan.getForegroundColor(); in getFullLengthSpanColor()
6275 int foregroundColor = originalSpan.getForegroundColor(); in ensureColorSpanContrast()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt45111 method @ColorInt public int getForegroundColor();
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt30519 method public int getForegroundColor();