Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/style/
DForegroundColorSpan.java93 public int getForegroundColor() { in getForegroundColor() method in ForegroundColorSpan
107 return "ForegroundColorSpan{color=#" + String.format("%08X", getForegroundColor()) + '}'; in toString()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DContrastColorUtilTest.java117 assertThat(((ForegroundColorSpan) spans[0]).getForegroundColor()).isEqualTo(Color.YELLOW); in testBuilder_ensureColorSpanContrast_removesAllFullLengthColorSpans()
127 assertThat(((ForegroundColorSpan) spans[2]).getForegroundColor()).isEqualTo(Color.GREEN); in testBuilder_ensureColorSpanContrast_removesAllFullLengthColorSpans()
142 int foregroundColor = ((ForegroundColorSpan) spans[0]).getForegroundColor(); in testBuilder_ensureColorSpanContrast_partialLength_adjusted()
170 assertThat(((ForegroundColorSpan) spans[0]).getForegroundColor()).isEqualTo(Color.YELLOW); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
182 int newGreen = ((ForegroundColorSpan) spans[2]).getForegroundColor(); in testBuilder_ensureColorSpanContrast_worksWithComplexInput()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DStatusBar.java115 int foregroundColor = getForegroundColor(simulatedPlatformVersion); in StatusBar()
126 private int getForegroundColor(int platformVersion) { in getForegroundColor() method in StatusBar
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialogV2.kt203 closeAppButton.setTextColor(getForegroundColor(true)) in <lambda>()
262 manageButton.setTextColor(getForegroundColor(element.isActive)) in <lambda>()
334 indicatorIcon.setTint(getForegroundColor(active)) in <lambda>()
347 private fun getForegroundColor(active: Boolean) = in <lambda>() method
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java206 int foregroundColor = originalSpan.getForegroundColor(); in invertCharSequenceColors()
340 int foregroundColor = originalSpan.getForegroundColor(); in ensureColorSpanContrast()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
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()
/frameworks/base/core/java/android/text/
DHtml.java574 int color = ((ForegroundColorSpan) style[j]).getForegroundColor(); in withinParagraph()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java1329 assertThat(spans[indexInSpannable].getForegroundColor()).isEqualTo(color); in assertForegroundColorSpan()
/frameworks/base/core/java/android/app/
DNotification.java7015 result = originalSpan.getForegroundColor(); in getFullLengthSpanColor()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30519 method public int getForegroundColor();
/frameworks/base/core/api/
Dcurrent.txt48753 method @ColorInt public int getForegroundColor();