/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
ColorChecker.java | 35 public static int getTintColor(Context context, int backgroundColor) { 39 return getTintColor(backgroundColor, lightTintColor, darkTintColor); 47 public static int getNonCriticalTintColor(Context context, int backgroundColor) { 51 return getNonCriticalTintColor(backgroundColor, lightTintColor, darkTintColor); 57 public static int getTintColor(int backgroundColor, int... tintColors) { 58 return getTintColor(MIN_CONTRAST_RATIO, backgroundColor, tintColors); 64 public static int getNonCriticalTintColor(int backgroundColor, int... tintColors) { 65 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);
|
/frameworks/base/core/java/android/text/style/ |
SuggestionRangeSpan.java | 67 public void setBackgroundColor(int backgroundColor) { 68 mBackgroundColor = backgroundColor;
|
/external/pdfium/xfa/src/fxbarcode/ |
BC_Writer.h | 23 virtual void SetBackgroundColor(FX_ARGB backgroundColor);
|
BC_Writer.cpp | 46 void CBC_Writer::SetBackgroundColor(FX_ARGB backgroundColor) {
47 m_backgroundColor = backgroundColor;
|
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/ |
ScreenshotActivity.java | 46 int backgroundColor = getIntent().getIntExtra(Utils.SCREENSHOT_COLOR_KEY, Color.WHITE); 48 view.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 | 321 public final int backgroundColor; 359 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, 362 mHasBackgroundColor = hasColor(backgroundColor); 370 this.backgroundColor = mHasBackgroundColor ? backgroundColor : Color.BLACK; 405 overlay.backgroundColor : backgroundColor; 483 final int backgroundColor = Secure.getInt( 484 cr, Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, defStyle.backgroundColor); 497 return new CaptionStyle(foregroundColor, backgroundColor, edgeType, edgeColor [all...] |
/external/skia/gm/ |
gm.h | 135 SkColor backgroundColor) 137 if (backgroundColor != SK_ColorWHITE) { 138 this->setBGColor(backgroundColor);
|
/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/support/v7/cardview/base/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/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListPinnedHeaderView.java | 45 int backgroundColor = a.getColor( 56 setBackgroundColor(backgroundColor);
|
ViewPagerTabStrip.java | 48 int backgroundColor = res.getColor(R.color.actionbar_background_color); 53 setBackgroundColor(backgroundColor);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
BaseActivity.java | 59 final int backgroundColor = savedInstanceState == null ? currentColor 61 setBackgroundColor(backgroundColor, false /* animate */);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
ViewPagerTabStrip.java | 49 int backgroundColor = res.getColor(R.color.action_bar_background_color); 54 setBackgroundColor(backgroundColor);
|
/prebuilts/sdk/current/support/v7/cardview/libs/ |
android-support-v7-cardview.jar | |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
NotificationCustomViewWrapper.java | 123 private boolean isColorLight(int backgroundColor) { 124 return Color.alpha(backgroundColor) == 0 125 || ColorUtils.calculateLuminance(backgroundColor) > 0.5;
|
/external/deqp/framework/platform/ios/ |
tcuIOSAppDelegate.m | 45 self.window.backgroundColor = [UIColor whiteColor];
|
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
CardViewApi21.java | 27 ColorStateList backgroundColor, float radius, float elevation, float maxElevation) { 28 final RoundRectDrawable background = new RoundRectDrawable(backgroundColor, radius);
|
/frameworks/support/v7/cardview/gingerbread/android/support/v7/widget/ |
CardViewGingerbread.java | 81 ColorStateList backgroundColor, float radius, float elevation, float maxElevation) { 82 RoundRectDrawableWithShadow background = createBackground(context, backgroundColor, radius, 90 ColorStateList backgroundColor, float radius, float elevation, 92 return new RoundRectDrawableWithShadow(context.getResources(), backgroundColor, radius,
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouterThemeHelper.java | 99 int backgroundColor = getThemeColor(context, 0, android.R.attr.colorBackground); 101 if (ColorUtils.calculateContrast(primaryColor, backgroundColor) < MIN_CONTRAST) { 134 int backgroundColor = (int) backgroundView.getTag(); 135 controllerColor = ColorUtils.compositeColors(controllerColor, backgroundColor);
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/ |
Cea708Data.java | 220 public final CaptionColor backgroundColor; 223 public CaptionPenColor(CaptionColor foregroundColor, CaptionColor backgroundColor, 226 this.backgroundColor = backgroundColor;
|
/packages/services/Car/car-lib/src/android/car/app/menu/ |
CarUiEntry.java | 154 abstract public void setSearchBoxColors(int backgroundColor, int searchLogoColor,
|