Home
last modified time | relevance | path

Searched refs:foregroundColor (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/
DTintedIconManager.java73 public void setTint(int tintColor, int foregroundColor) { in setTint() argument
75 mForegroundColor = foregroundColor; in setTint()
86 mDemoStatusIcons.setColor(tintColor, foregroundColor); in setTint()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DStatusBar.java115 int foregroundColor = getForegroundColor(simulatedPlatformVersion); in StatusBar() local
120 … + Config.getWifiIconType(simulatedPlatformVersion), density,foregroundColor); in StatusBar() local
121 loadIcon(icons.get(1), "stat_sys_battery_100.png", density, foregroundColor); in StatusBar()
123 clockView.setTextColor(foregroundColor); in StatusBar()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPinBouncer.kt162 foregroundColor = MaterialTheme.colorScheme.onSurfaceVariant, in DigitButton()
193 val foregroundColor = in ActionButton() constant
209 foregroundColor = foregroundColor, in ActionButton()
231 foregroundColor: Color, in PinPadButton()
278 else -> foregroundColor in PinPadButton()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/
DAppHeaderViewHolder.kt191 val foregroundColor = headerStyle.foreground.color in bindDataWithThemedHeaders() constant
193 val colorStateList = ColorStateList.valueOf(foregroundColor).withAlpha(foregroundAlpha) in bindDataWithThemedHeaders()
197 color = foregroundColor, in bindDataWithThemedHeaders()
212 baseForegroundColor = foregroundColor, in bindDataWithThemedHeaders()
214 color = foregroundColor, in bindDataWithThemedHeaders()
223 color = foregroundColor, in bindDataWithThemedHeaders()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DModernStatusBarView.kt69 override fun setStaticDrawableColor(color: Int, foregroundColor: Int) { in setStaticDrawableColor()
70 binding.onIconTintChanged(color, foregroundColor) in setStaticDrawableColor()
/frameworks/base/core/java/com/android/internal/util/
DContrastColorUtil.java206 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()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DContrastColorUtilTest.java142 int foregroundColor = ((ForegroundColorSpan) spans[0]).getForegroundColor(); in testBuilder_ensureColorSpanContrast_partialLength_adjusted() local
143 assertContrastIsWithinRange(foregroundColor, background, 3, 3.2); in testBuilder_ensureColorSpanContrast_partialLength_adjusted()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java501 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()
DTtmlRenderer.java698 mTextView.setTextColor(captionManager.getUserStyle().foregroundColor); in TtmlRenderingWidget()
DClosedCaptionRenderer.java1294 mTextColor = captionStyle.foregroundColor; in setCaptionStyle()
DWebVttRenderer.java1861 setForegroundColor(captionStyle.foregroundColor); in setCaptionStyle()
/frameworks/base/core/java/com/android/internal/widget/
DSubtitleView.java281 style.foregroundColor : defStyle.foregroundColor; in setStyle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java219 final int foregroundColor = dark ? Color.WHITE : Color.BLACK; in setBackgroundTintColor() local
222 deleteBgColor = foregroundColor; in setBackgroundTintColor()
224 accentColor = colorStateListWithDisabledAlpha(foregroundColor, 0x4D); // 30% in setBackgroundTintColor()
225 textColor = colorStateListWithDisabledAlpha(foregroundColor, 0x99); // 60% in setBackgroundTintColor()
226 hintColor = ColorUtils.setAlphaComponent(foregroundColor, 0x99); in setBackgroundTintColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterView.java744 public void updateColors(int foregroundColor, int backgroundColor, int singleToneColor) { in updateColors() argument
745 mDrawable.setColors(foregroundColor, backgroundColor, singleToneColor); in updateColors()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1220 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/
DHtml.java1328 public Foreground(int foregroundColor) { in Foreground() argument
1329 mForegroundColor = foregroundColor; in Foreground()
/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.txt35213 field public final int foregroundColor;
/frameworks/base/core/api/
Dcurrent.txt55343 field public final int foregroundColor;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt25299 Landroid/media/Cea708CCParser$CaptionPenColor;->foregroundColor:Landroid/media/Cea708CCParser$Capti…