Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/text/style/
H A DForegroundColorSpan.java93 public int getForegroundColor() { in getForegroundColor() method in ForegroundColorSpan
107 return "ForegroundColorSpan{color=#" + String.format("%08X", getForegroundColor()) + '}'; in toString()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DContrastColorUtilTest.java113 assertThat(((ForegroundColorSpan) spans[0]).getForegroundColor()).isEqualTo(Color.YELLOW); in testBuilder_ensureColorSpanContrast_removesAllFullLengthColorSpans()
123 assertThat(((ForegroundColorSpan) spans[2]).getForegroundColor()).isEqualTo(Color.GREEN); in testBuilder_ensureColorSpanContrast_removesAllFullLengthColorSpans()
137 int foregroundColor = ((ForegroundColorSpan) spans[0]).getForegroundColor(); in testBuilder_ensureColorSpanContrast_partialLength_adjusted()
162 assertThat(((ForegroundColorSpan) spans[0]).getForegroundColor()).isEqualTo(Color.YELLOW); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
174 int newGreen = ((ForegroundColorSpan) spans[2]).getForegroundColor(); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
H A DPrivacyDialogV2.kt203 closeAppButton.setTextColor(getForegroundColor(true))
262 manageButton.setTextColor(getForegroundColor(element.isActive))
334 indicatorIcon.setTint(getForegroundColor(active))
347 private fun getForegroundColor(active: Boolean) = regex
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DContrastColorUtil.java206 int foregroundColor = originalSpan.getForegroundColor(); in invertCharSequenceColors()
340 int foregroundColor = originalSpan.getForegroundColor(); in ensureColorSpanContrast()
/aosp14/frameworks/base/core/java/android/text/
H A DHtml.java574 int color = ((ForegroundColorSpan) style[j]).getForegroundColor(); in withinParagraph()
/aosp14/frameworks/base/core/java/android/app/
H A DNotification.java6407 result = originalSpan.getForegroundColor(); in getFullLengthSpanColor()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt48299 method @ColorInt public int getForegroundColor();