/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 321 public final int backgroundColor; field in CaptioningManager.CaptionStyle 359 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, in CaptionStyle() argument 362 mHasBackgroundColor = hasColor(backgroundColor); in CaptionStyle() 370 this.backgroundColor = mHasBackgroundColor ? backgroundColor : Color.BLACK; in CaptionStyle() 405 overlay.backgroundColor : backgroundColor; in applyStyle() 483 final int backgroundColor = Secure.getInt( in getCustomStyle() local 484 cr, Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, defStyle.backgroundColor); in getCustomStyle() 497 return new CaptionStyle(foregroundColor, backgroundColor, edgeType, edgeColor, in getCustomStyle()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouterThemeHelper.java | 99 int backgroundColor = getThemeColor(context, 0, android.R.attr.colorBackground); in getButtonTextColor() local 101 if (ColorUtils.calculateContrast(primaryColor, backgroundColor) < MIN_CONTRAST) { in getButtonTextColor() 134 int backgroundColor = (int) backgroundView.getTag(); in setVolumeSliderColor() local 135 controllerColor = ColorUtils.compositeColors(controllerColor, backgroundColor); in setVolumeSliderColor()
|
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
D | CardViewEclairMr1.java | 81 ColorStateList backgroundColor, float radius, float elevation, float maxElevation) { in initialize() argument 82 RoundRectDrawableWithShadow background = createBackground(context, backgroundColor, radius, in initialize() 90 ColorStateList backgroundColor, float radius, float elevation, in createBackground() argument 92 return new RoundRectDrawableWithShadow(context.getResources(), backgroundColor, radius, in createBackground()
|
D | RoundRectDrawableWithShadow.java | 93 RoundRectDrawableWithShadow(Resources resources, ColorStateList backgroundColor, float radius, in RoundRectDrawableWithShadow() argument 99 setBackground(backgroundColor); in RoundRectDrawableWithShadow()
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionRangeSpan.java | 67 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor() argument 68 mBackgroundColor = backgroundColor; in setBackgroundColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationCustomViewWrapper.java | 123 private boolean isColorLight(int backgroundColor) { in isColorLight() argument 124 return Color.alpha(backgroundColor) == 0 in isColorLight() 125 || ColorUtils.calculateLuminance(backgroundColor) > 0.5; in isColorLight()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | AppCompatBaseViewTest.java | 353 final @ColorInt int backgroundColor = ResourcesCompat.getColor( in testBackgroundTintingAcrossModeChange() local 358 backgroundColor, 0); in testBackgroundTintingAcrossModeChange() 397 ColorUtils.compositeColors(emeraldDefault, backgroundColor), in testBackgroundTintingAcrossModeChange() 404 view, ColorUtils.compositeColors(emeraldDisabled, backgroundColor), in testBackgroundTintingAcrossModeChange() 425 final @ColorInt int backgroundColor = ResourcesCompat.getColor( in testBackgroundTintingViewCompatAcrossModeChange() local 430 backgroundColor, 0); in testBackgroundTintingViewCompatAcrossModeChange() 469 ColorUtils.compositeColors(emeraldDefault, backgroundColor), in testBackgroundTintingViewCompatAcrossModeChange() 476 view, ColorUtils.compositeColors(emeraldDisabled, backgroundColor), in testBackgroundTintingViewCompatAcrossModeChange()
|
/frameworks/support/v4/tests/java/android/support/v4/testutils/ |
D | TestUtilsMatchers.java | 42 public static Matcher backgroundColor(@ColorInt final int backgroundColor) { in backgroundColor() method in TestUtilsMatchers 67 40, 40, backgroundColor, true); in backgroundColor()
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | CardView.java | 218 ColorStateList backgroundColor; in initialize() local 220 backgroundColor = a.getColorStateList(R.styleable.CardView_cardBackgroundColor); in initialize() 230 backgroundColor = ColorStateList.valueOf(hsv[2] > 0.5f in initialize() 255 IMPL.initialize(mCardViewDelegate, context, backgroundColor, radius, in initialize()
|
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
D | CardViewApi21.java | 27 ColorStateList backgroundColor, float radius, float elevation, float maxElevation) { in initialize() argument 28 final RoundRectDrawable background = new RoundRectDrawable(backgroundColor, radius); in initialize()
|
D | RoundRectDrawable.java | 55 public RoundRectDrawable(ColorStateList backgroundColor, float radius) { in RoundRectDrawable() argument 58 setBackground(backgroundColor); in RoundRectDrawable()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 560 if (!parseColor(color, part.backgroundColor)) { in parseAnimationDesc() 562 part.backgroundColor[0] = 0.0f; in parseAnimationDesc() 563 part.backgroundColor[1] = 0.0f; in parseAnimationDesc() 564 part.backgroundColor[2] = 0.0f; in parseAnimationDesc() 711 part.backgroundColor[0], in playAnimation() 712 part.backgroundColor[1], in playAnimation() 713 part.backgroundColor[2], in playAnimation()
|
D | BootAnimation.h | 77 float backgroundColor[3]; member
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | ExtendedBitmapDrawable.java | 739 public int backgroundColor = 0; field in ExtendedBitmapDrawable.ExtendedOptions 813 if (backgroundColor == 0 in validate() 824 if (backgroundColor != 0 && Color.alpha(backgroundColor) != 255) { in validate()
|
D | TileDrawable.java | 98 mPaint.setColor(mOpts.backgroundColor); in draw()
|
/frameworks/support/v7/cardview/base/android/support/v7/widget/ |
D | CardViewImpl.java | 26 void initialize(CardViewDelegate cardView, Context context, ColorStateList backgroundColor, in initialize() argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | HeadersSupportFragment.java | 253 private void updateFadingEdgeToBrandColor(int backgroundColor) { in updateFadingEdgeToBrandColor() argument 259 new int[] {Color.TRANSPARENT, backgroundColor}); in updateFadingEdgeToBrandColor()
|
D | HeadersFragment.java | 251 private void updateFadingEdgeToBrandColor(int backgroundColor) { in updateFadingEdgeToBrandColor() argument 257 new int[] {Color.TRANSPARENT, backgroundColor}); in updateFadingEdgeToBrandColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoadPlan.java | 177 int backgroundColor = loader.getActivityBackgroundColor(t.taskDescription); in preloadPlan() local 184 activityColor, backgroundColor, isLaunchTarget, isStackTask, isSystemApp, in preloadPlan()
|
/frameworks/base/media/java/android/media/ |
D | Cea708CaptionRenderer.java | 507 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue); in parseC1() local 516 new CaptionPenColor(foregroundColor, backgroundColor, edgeColor))); in parseC1() 520 foregroundColor, backgroundColor, edgeColor)); in parseC1() 918 public final CaptionColor backgroundColor; field in Cea708CCParser.CaptionPenColor 921 public CaptionPenColor(CaptionColor foregroundColor, CaptionColor backgroundColor, in CaptionPenColor() argument 924 this.backgroundColor = backgroundColor; in CaptionPenColor() 2143 ? style.backgroundColor : DEFAULT_CAPTION_STYLE.backgroundColor); in setCaptionStyle()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 279 style.backgroundColor : defStyle.backgroundColor; in setStyle()
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
D | MainActivity.java | 117 opts.backgroundColor = Color.LTGRAY; in getView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterDrawable.java | 300 int backgroundColor = getBackgroundColor(darkIntensity); in setDarkIntensity() local 303 mFramePaint.setColor(backgroundColor); in setDarkIntensity()
|
/frameworks/support/v4/tests/java/android/support/v4/view/ |
D | BaseViewPagerTest.java | 344 backgroundColor(Color.RED)))); in verifyPageContent() 356 backgroundColor(Color.GREEN)))); in verifyPageContent() 369 backgroundColor(Color.BLUE)))); in verifyPageContent()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 1063 public void setBackgroundColor(int backgroundColor) { in setBackgroundColor() argument 1065 if ((backgroundColor != 0) && (Color.alpha(backgroundColor) != 255)) { in setBackgroundColor() 1068 mColorBackground = backgroundColor; in setBackgroundColor()
|