Home
last modified time | relevance | path

Searched refs:colorized (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java721 public void setBackgroundTintColor(int backgroundColor, boolean colorized) { in setBackgroundTintColor() argument
722 if (backgroundColor == mCurrentBackgroundColor && colorized == mCurrentColorized) { in setBackgroundTintColor()
727 mCurrentColorized = colorized; in setBackgroundTintColor()
734 mCurrentStrokeColor = colorized ? mCurrentTextColor : ContrastColorUtil.ensureContrast( in setBackgroundTintColor()
DRemoteInputView.java205 public void setBackgroundTintColor(final int backgroundColor, boolean colorized) { in setBackgroundTintColor() argument
206 if (colorized == mColorized && backgroundColor == mLastBackgroundColor) return; in setBackgroundTintColor()
207 mColorized = colorized; in setBackgroundTintColor()
215 final int stroke = colorized ? mContext.getResources().getDimensionPixelSize( in setBackgroundTintColor()
217 if (colorized) { in setBackgroundTintColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java978 boolean colorized = mNotificationEntry.getSbn().getNotification().isColorized(); in setBackgroundTintColor()
980 mExpandedSmartReplyView.setBackgroundTintColor(color, colorized); in setBackgroundTintColor()
983 mHeadsUpSmartReplyView.setBackgroundTintColor(color, colorized); in setBackgroundTintColor()
986 mExpandedRemoteInput.setBackgroundTintColor(color, colorized); in setBackgroundTintColor()
989 mHeadsUpRemoteInput.setBackgroundTintColor(color, colorized); in setBackgroundTintColor()
1486 boolean colorized = entry.getSbn().getNotification().isColorized();
1487 result.mView.setBackgroundTintColor(backgroundColor, colorized);
1714 boolean colorized = entry.getSbn().getNotification().isColorized();
1715 smartReplyView.setBackgroundTintColor(backgroundColor, colorized);
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java775 boolean colorized = false; in testColors_ensureColors_dayMode_producesValidPalette()
777 resolveColorsInNightMode(nightMode, c, Color.BLUE, colorized); in testColors_ensureColors_dayMode_producesValidPalette()
784 boolean colorized = false; in testColors_ensureColors_nightMode_producesValidPalette()
786 resolveColorsInNightMode(nightMode, c, Color.BLUE, colorized); in testColors_ensureColors_nightMode_producesValidPalette()
842 boolean colorized = true; in validateColorizedPaletteForColor()
844 resolveColorsInNightMode(false, cDay, rawColor, colorized); in validateColorizedPaletteForColor()
845 resolveColorsInNightMode(true, cNight, rawColor, colorized); in validateColorizedPaletteForColor()
1842 boolean colorized) { in resolveColorsInNightMode() argument
1844 () -> c.resolvePalette(mContext, rawColor, colorized, nightMode)); in resolveColorsInNightMode()
/frameworks/base/core/api/
Dcurrent.txt6444 field public static final String EXTRA_COLORIZED = "android.colorized";