Searched refs:backgroundColor (Results 26 - 50 of 51) sorted by relevance

123

/frameworks/support/core/ktx/src/main/java/androidx/core/text/
H A DSpannableStringBuilder.kt117 inline fun SpannableStringBuilder.backgroundColor(
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DHeadersFragment.java263 private void updateFadingEdgeToBrandColor(int backgroundColor) { argument
269 new int[] {Color.TRANSPARENT, backgroundColor});
H A DHeadersSupportFragment.java254 private void updateFadingEdgeToBrandColor(int backgroundColor) { argument
260 new int[] {Color.TRANSPARENT, backgroundColor});
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h81 float backgroundColor[3]; member in struct:android::BootAnimation::Animation::Part
H A DBootAnimation.cpp671 if (!parseColor(color, part.backgroundColor)) {
673 part.backgroundColor[0] = 0.0f;
674 part.backgroundColor[1] = 0.0f;
675 part.backgroundColor[2] = 0.0f;
901 part.backgroundColor[0],
902 part.backgroundColor[1],
903 part.backgroundColor[2],
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DMediaNotificationProcessorTest.java110 public Bitmap colorize(Drawable drawable, int backgroundColor, boolean isRtl) { argument
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DTileDrawable.java98 mPaint.setColor(mOpts.backgroundColor);
/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java282 style.backgroundColor : defStyle.backgroundColor;
/frameworks/support/cardview/src/main/java/androidx/cardview/widget/
H A DRoundRectDrawableWithShadow.java91 RoundRectDrawableWithShadow(Resources resources, ColorStateList backgroundColor, float radius, argument
97 setBackground(backgroundColor);
/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java507 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue);
516 new CaptionPenColor(foregroundColor, backgroundColor, edgeColor)));
519 "CaptionCommand SPC foregroundColor %s backgroundColor %s edgeColor %s",
520 foregroundColor, backgroundColor, edgeColor));
918 public final CaptionColor backgroundColor; field in class:Cea708CCParser.CaptionPenColor
921 public CaptionPenColor(CaptionColor foregroundColor, CaptionColor backgroundColor, argument
924 this.backgroundColor = backgroundColor;
2143 ? style.backgroundColor : DEFAULT_CAPTION_STYLE.backgroundColor);
[all...]
H A DClosedCaptionRenderer.java740 new MutableBackgroundColorSpan(captionStyle.backgroundColor),
1295 mBgColor = captionStyle.backgroundColor;
H A DWebVttRenderer.java1858 setBackgroundColor(captionStyle.backgroundColor);
/frameworks/base/core/java/android/app/
H A DNotification.java4469 int backgroundColor = getBackgroundColor();
4472 || mTextColorsAreForBackground != backgroundColor) {
4473 mTextColorsAreForBackground = backgroundColor;
4476 backgroundColor);
4478 backgroundColor);
4479 if (backgroundColor != COLOR_DEFAULT && isColorized()) {
4481 mPrimaryTextColor, backgroundColor, 4.5);
4483 mSecondaryTextColor, backgroundColor, 4.5);
4486 double backLum = NotificationColorUtil.calculateLuminance(backgroundColor);
4489 backgroundColor);
5754 setColorPalette(int backgroundColor, int foregroundColor) argument
[all...]
H A DActivityManager.java1222 public void setBackgroundColor(int backgroundColor) { argument
1224 if ((backgroundColor != 0) && (Color.alpha(backgroundColor) != 255)) {
1227 mColorBackground = backgroundColor;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBatteryMeterDrawableBase.java290 public void setColors(int fillColor, int backgroundColor) { argument
292 mFramePaint.setColor(backgroundColor);
/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
H A DBaseViewPagerTest.java34 import static android.support.v4.testutils.TestUtilsMatchers.backgroundColor;
444 backgroundColor(Color.RED))));
456 backgroundColor(Color.GREEN))));
469 backgroundColor(Color.BLUE))));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java637 * @param backgroundColor Background to test against.
640 int getContrastedStaticDrawableColor(int backgroundColor) { argument
641 if (mCachedContrastBackgroundColor != backgroundColor) {
642 mCachedContrastBackgroundColor = backgroundColor;
H A DNotificationData.java251 int backgroundColor) {
258 backgroundColor);
250 getContrastedColor(Context context, boolean isLowPriority, int backgroundColor) argument
H A DNotificationShelf.java678 int backgroundColor = getBackgroundColorWithoutTint();
679 int shelfColor = icon.getContrastedStaticDrawableColor(backgroundColor);
/frameworks/support/media/src/main/java/androidx/media/subtitle/
H A DClosedCaptionRenderer.java184 mBgColor = captionStyle.backgroundColor;
H A DCea608CCParser.java516 new MutableBackgroundColorSpan(captionStyle.backgroundColor),
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java1226 int backgroundColor = mEST.getBackgroundColor();
1230 + Integer.toHexString(backgroundColor) + "," + isWaitInput()
1233 if (foregroundColor == backgroundColor) {
1234 int maskColor = 0x80000000 | ~(backgroundColor | 0xFF000000);
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
H A DClosedCaptionRenderer.java733 new MutableBackgroundColorSpan(captionStyle.backgroundColor),
1286 mBgColor = captionStyle.backgroundColor;
/frameworks/base/core/java/android/text/
H A DHtml.java1302 public Background(int backgroundColor) { argument
1303 mBackgroundColor = backgroundColor;
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java826 Drawable overrideBackgroundDrawable, int backgroundColor) {
898 mWorkPaint.setColor(backgroundColor);
825 createChipBitmap(RecipientEntry contact, TextPaint paint, Drawable overrideBackgroundDrawable, int backgroundColor) argument

Completed in 717 milliseconds

123