/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
ColorChecker.java | 38 public static int getTintColor(Context context, int backgroundColor) { 42 return getTintColor(backgroundColor, lightTintColor, darkTintColor); 50 public static int getNonCriticalTintColor(Context context, int backgroundColor) { 54 return getNonCriticalTintColor(backgroundColor, lightTintColor, darkTintColor); 60 public static int getTintColor(int backgroundColor, int... tintColors) { 61 return getTintColor(MIN_CONTRAST_RATIO, backgroundColor, tintColors); 67 public static int getNonCriticalTintColor(int backgroundColor, int... tintColors) { 68 return getTintColor(MIN_NON_CRITICAL_CONTRAST_RATIO, backgroundColor, tintColors);
|
/external/proguard/src/proguard/gui/splash/ |
BufferedSprite.java | 36 private final Color backgroundColor; 79 * @param backgroundColor the background color that is used for the buffer. 89 Color backgroundColor, 97 this.backgroundColor = backgroundColor; 113 if (backgroundColor != null) 122 bufferGraphics.setColor(backgroundColor);
|
/external/pdfium/xfa/fxbarcode/ |
BC_Writer.cpp | 46 void CBC_Writer::SetBackgroundColor(FX_ARGB backgroundColor) { 47 m_backgroundColor = backgroundColor;
|
cbc_codebase.cpp | 50 void CBC_CodeBase::SetBackgroundColor(FX_ARGB backgroundColor) { 52 m_pBCWriter->SetBackgroundColor(backgroundColor);
|
BC_Writer.h | 23 virtual void SetBackgroundColor(FX_ARGB backgroundColor);
|
cbc_codebase.h | 40 void SetBackgroundColor(FX_ARGB backgroundColor);
|
/frameworks/base/core/java/android/text/style/ |
SuggestionRangeSpan.java | 67 public void setBackgroundColor(int backgroundColor) { 68 mBackgroundColor = backgroundColor;
|
/cts/tests/tests/assist/testapp/src/android/assist/testapp/ |
ScreenshotActivity.java | 40 int backgroundColor = getIntent().getIntExtra(Utils.SCREENSHOT_COLOR_KEY, Color.WHITE); 42 view.setBackgroundColor(backgroundColor);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactListPinnedHeaderView.java | 42 int backgroundColor = a.getColor( 53 setBackgroundColor(backgroundColor);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiCategoryPageIndicatorView.java | 41 public void setColors(final int foregroundColor, final int backgroundColor) { 43 setBackgroundColor(backgroundColor);
|
/frameworks/base/core/java/android/view/accessibility/ |
CaptioningManager.java | 316 public final int backgroundColor; 354 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, 357 mHasBackgroundColor = hasColor(backgroundColor); 365 this.backgroundColor = mHasBackgroundColor ? backgroundColor : Color.BLACK; 400 overlay.backgroundColor : backgroundColor; 478 final int backgroundColor = Secure.getInt( 479 cr, Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, defStyle.backgroundColor); 492 return new CaptionStyle(foregroundColor, backgroundColor, edgeType, edgeColor [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
GlifLayout.java | 129 ColorStateList backgroundColor = 131 setBackgroundBaseColor(backgroundColor); 268 int backgroundColor = 0; 270 backgroundColor = mBackgroundBaseColor.getDefaultColor(); 272 backgroundColor = mPrimaryColor.getDefaultColor(); 275 ? new GlifPatternDrawable(backgroundColor) 276 : new ColorDrawable(backgroundColor);
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
IconPalette.java | 48 public final int backgroundColor; 56 backgroundColor = desaturateBackground ? getMutedColor(dominantColor, 0.87f) : dominantColor; 58 Themes.setColorScaleOnMatrix(backgroundColor, backgroundColorMatrix); 67 textColor = getTextColorForBackground(backgroundColor); 68 secondaryColor = getLowContrastColor(backgroundColor); 216 private static int getTextColorForBackground(int backgroundColor) { 217 return getLighterOrDarkerVersionOfColor(backgroundColor, 4.5f);
|
/external/skia/gm/ |
gm.h | 139 SkColor backgroundColor) 141 if (backgroundColor != SK_ColorWHITE) { 142 this->setBGColor(backgroundColor);
|
/frameworks/base/core/java/com/android/internal/util/ |
NotificationColorUtil.java | 332 * @param backgroundColor the color to ensure contrast against. 336 public static int findAlphaToMeetContrast(int color, int backgroundColor, double minRatio) { 338 int bg = backgroundColor; 459 int backgroundColor) { 461 backgroundColor, false /* isDark */); 469 * @param backgroundColor the background color to ensure the contrast against. 475 int backgroundColor, boolean isDark) { 483 color = NotificationColorUtil.ensureTextContrast(color, backgroundColor, isDark); 492 NotificationColorUtil.contrastChange(resolvedColor, color, backgroundColor), 533 public static int resolvePrimaryColor(Context context, int backgroundColor) { [all...] |
/external/ImageMagick/Magick++/tests/ |
attributes.cpp | 153 // backgroundColor 157 if ( image.backgroundColor() != ColorRGB("white") ) 160 cout << "Line: " << __LINE__ << ", backgroundColor default (" 161 << string(image.backgroundColor()) 166 image.backgroundColor("blue"); 167 if ( !image.backgroundColor().isValid() ) 170 cout << "Line: " << __LINE__ << ", backgroundColor (" 171 << string(image.backgroundColor()) 175 if ( string(image.backgroundColor()) != "#0000FF" && 176 string(image.backgroundColor()) != "#00000000FFFF" & [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
NotificationTest.java | 93 int backgroundColor = 0xff585868; 95 builder.setColorPalette(backgroundColor, initialForegroundColor); 97 assertTrue(satisfiesTextContrast(primaryTextColor, backgroundColor)); 99 assertTrue(satisfiesTextContrast(secondaryTextColor, backgroundColor));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
ImageGradientColorizer.java | 37 public Bitmap colorize(Drawable drawable, int backgroundColor, boolean isRtl) { 55 int tri = Color.red(backgroundColor); 56 int tgi = Color.green(backgroundColor); 57 int tbi = Color.blue(backgroundColor);
|
MediaNotificationProcessor.java | 109 int backgroundColor = 0; 131 backgroundColor = findBackgroundColorAndFilter(palette); 146 int foregroundColor = selectForegroundColor(backgroundColor, palette); 147 builder.setColorPalette(backgroundColor, foregroundColor); 152 backgroundColor = mContext.getColor(id); 154 Bitmap colorized = mColorizer.colorize(drawable, backgroundColor, 161 private int selectForegroundColor(int backgroundColor, Palette palette) { 162 if (NotificationColorUtil.isColorLight(backgroundColor)) {
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
CardViewImpl.java | 26 void initialize(CardViewDelegate cardView, Context context, ColorStateList backgroundColor,
|
/external/ImageMagick/Magick++/lib/Magick++/ |
Montage.h | 29 void backgroundColor(const Color &backgroundColor_); 30 Color backgroundColor(void) const;
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ios/ |
ARDStatsView.m | 31 self.backgroundColor = [UIColor colorWithWhite:0 alpha:.6];
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
ContactListPinnedHeaderView.java | 40 int backgroundColor = 50 setBackgroundColor(backgroundColor);
|
ViewPagerTabStrip.java | 46 int backgroundColor = res.getColor(R.color.contactscommon_actionbar_background_color); 51 setBackgroundColor(backgroundColor);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
ViewPagerTabStrip.java | 49 int backgroundColor = res.getColor(R.color.action_bar_background_color); 54 setBackgroundColor(backgroundColor);
|