/frameworks/base/core/java/android/text/style/ |
H A D | SuggestionRangeSpan.java | 67 public void setBackgroundColor(int backgroundColor) { argument 68 mBackgroundColor = backgroundColor;
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | CaptioningManager.java | 321 public final int backgroundColor; field in class:CaptioningManager.CaptionStyle 359 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, argument 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, edgeTyp [all...] |
/frameworks/support/v7/cardview/base/android/support/v7/widget/ |
H A D | CardViewImpl.java | 26 void initialize(CardViewDelegate cardView, Context context, ColorStateList backgroundColor, argument
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | 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);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationCustomViewWrapper.java | 123 private boolean isColorLight(int backgroundColor) { argument 124 return Color.alpha(backgroundColor) == 0 125 || ColorUtils.calculateLuminance(backgroundColor) > 0.5;
|
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
H A D | CardViewApi21.java | 27 ColorStateList backgroundColor, float radius, float elevation, float maxElevation) { 28 final RoundRectDrawable background = new RoundRectDrawable(backgroundColor, radius); 26 initialize(CardViewDelegate cardView, Context context, ColorStateList backgroundColor, float radius, float elevation, float maxElevation) argument
|
H A D | RoundRectDrawable.java | 55 public RoundRectDrawable(ColorStateList backgroundColor, float radius) { argument 58 setBackground(backgroundColor);
|
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
H A D | CardViewEclairMr1.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, 80 initialize(CardViewDelegate cardView, Context context, ColorStateList backgroundColor, float radius, float elevation, float maxElevation) argument 89 createBackground(Context context, ColorStateList backgroundColor, float radius, float elevation, float maxElevation) argument
|
H A D | RoundRectDrawableWithShadow.java | 93 RoundRectDrawableWithShadow(Resources resources, ColorStateList backgroundColor, float radius, argument 99 setBackground(backgroundColor);
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
H A D | AppCompatBaseViewTest.java | 353 final @ColorInt int backgroundColor = ResourcesCompat.getColor( 358 backgroundColor, 0); 397 ColorUtils.compositeColors(emeraldDefault, backgroundColor), 404 view, ColorUtils.compositeColors(emeraldDisabled, backgroundColor), 425 final @ColorInt int backgroundColor = ResourcesCompat.getColor( 430 backgroundColor, 0); 469 ColorUtils.compositeColors(emeraldDefault, backgroundColor), 476 view, ColorUtils.compositeColors(emeraldDisabled, backgroundColor),
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 218 ColorStateList backgroundColor; 220 backgroundColor = a.getColorStateList(R.styleable.CardView_cardBackgroundColor); 230 backgroundColor = ColorStateList.valueOf(hsv[2] > 0.5f 255 IMPL.initialize(mCardViewDelegate, context, backgroundColor, radius,
|
/frameworks/support/v4/tests/java/android/support/v4/testutils/ |
H A D | TestUtilsMatchers.java | 42 public static Matcher backgroundColor(@ColorInt final int backgroundColor) { argument 67 40, 40, backgroundColor, true);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 77 float backgroundColor[3]; member in struct:android::BootAnimation::Animation::Part
|
H A D | BootAnimation.cpp | 560 if (!parseColor(color, part.backgroundColor)) { 562 part.backgroundColor[0] = 0.0f; 563 part.backgroundColor[1] = 0.0f; 564 part.backgroundColor[2] = 0.0f; 711 part.backgroundColor[0], 712 part.backgroundColor[1], 713 part.backgroundColor[2],
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
H A D | MainActivity.java | 117 opts.backgroundColor = Color.LTGRAY;
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | ExtendedBitmapDrawable.java | 97 // Placeholder is not optional because backgroundColor is part of it. 676 * Set {@link #backgroundColor} to the color used for the background of the placeholder and 739 public int backgroundColor = 0; field in class:ExtendedBitmapDrawable.ExtendedOptions 813 if (backgroundColor == 0 817 + "either backgroundColor or placeholder must be set."); 824 if (backgroundColor != 0 && Color.alpha(backgroundColor) != 255) { 827 + "backgroundColor must be set to an opaque color.");
|
H A D | TileDrawable.java | 98 mPaint.setColor(mOpts.backgroundColor);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | HeadersFragment.java | 251 private void updateFadingEdgeToBrandColor(int backgroundColor) { argument 257 new int[] {Color.TRANSPARENT, backgroundColor});
|
H A D | HeadersSupportFragment.java | 253 private void updateFadingEdgeToBrandColor(int backgroundColor) { argument 259 new int[] {Color.TRANSPARENT, backgroundColor});
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SubtitleView.java | 279 style.backgroundColor : defStyle.backgroundColor;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | RecentsTaskLoadPlan.java | 177 int backgroundColor = loader.getActivityBackgroundColor(t.taskDescription); 184 activityColor, backgroundColor, isLaunchTarget, isStackTask, isSystemApp,
|
/frameworks/base/media/java/android/media/ |
H A D | Cea708CaptionRenderer.java | 507 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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterDrawable.java | 300 int backgroundColor = getBackgroundColor(darkIntensity); 303 mFramePaint.setColor(backgroundColor);
|
/frameworks/support/v4/tests/java/android/support/v4/view/ |
H A D | BaseViewPagerTest.java | 344 backgroundColor(Color.RED)))); 356 backgroundColor(Color.GREEN)))); 369 backgroundColor(Color.BLUE))));
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 1063 public void setBackgroundColor(int backgroundColor) { argument 1065 if ((backgroundColor != 0) && (Color.alpha(backgroundColor) != 255)) { 1068 mColorBackground = backgroundColor;
|