Searched refs:backgroundColor (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/text/style/
H A DSuggestionRangeSpan.java57 public void setBackgroundColor(int backgroundColor) { argument
58 mBackgroundColor = backgroundColor;
/frameworks/base/core/java/android/view/accessibility/
H A DCaptioningManager.java304 public final int backgroundColor; field in class:CaptioningManager.CaptionStyle
342 private CaptionStyle(int foregroundColor, int backgroundColor, int edgeType, int edgeColor, argument
345 mHasBackgroundColor = backgroundColor != COLOR_UNSPECIFIED;
353 this.backgroundColor = mHasBackgroundColor ? backgroundColor : Color.BLACK;
374 overlay.backgroundColor : backgroundColor;
452 final int backgroundColor = Secure.getInt(
453 cr, Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, defStyle.backgroundColor);
466 return new CaptionStyle(foregroundColor, backgroundColor, edgeTyp
[all...]
/frameworks/support/v7/cardview/base/android/support/v7/widget/
H A DCardViewImpl.java23 void initialize(CardViewDelegate cardView, Context context, int backgroundColor, float radius, argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskViewHeader.java305 ValueAnimator backgroundColor = ValueAnimator.ofObject(new ArgbEvaluator(),
307 backgroundColor.addListener(new AnimatorListenerAdapter() {
313 backgroundColor.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
321 backgroundColor.setRepeatCount(ValueAnimator.INFINITE);
322 backgroundColor.setRepeatMode(ValueAnimator.REVERSE);
329 mFocusAnimator.playTogether(backgroundColor, translation);
337 ValueAnimator backgroundColor = ValueAnimator.ofObject(new ArgbEvaluator(),
339 backgroundColor.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
351 mFocusAnimator.playTogether(backgroundColor, translation);
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
H A DCardViewApi21.java24 public void initialize(CardViewDelegate cardView, Context context, int backgroundColor, argument
26 final RoundRectDrawable backgroundDrawable = new RoundRectDrawable(backgroundColor, radius);
H A DRoundRectDrawable.java45 public RoundRectDrawable(int backgroundColor, float radius) { argument
48 mPaint.setColor(backgroundColor);
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DCardViewEclairMr1.java75 public void initialize(CardViewDelegate cardView, Context context, int backgroundColor, argument
77 RoundRectDrawableWithShadow background = createBackground(context, backgroundColor, radius,
84 RoundRectDrawableWithShadow createBackground(Context context, int backgroundColor, argument
86 return new RoundRectDrawableWithShadow(context.getResources(), backgroundColor, radius,
H A DRoundRectDrawableWithShadow.java88 RoundRectDrawableWithShadow(Resources resources, int backgroundColor, float radius, argument
94 mPaint.setColor(backgroundColor);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h75 float backgroundColor[3]; member in struct:android::BootAnimation::Animation::Part
H A DBootAnimation.cpp498 if (!parseColor(color, part.backgroundColor)) {
500 part.backgroundColor[0] = 0.0f;
501 part.backgroundColor[1] = 0.0f;
502 part.backgroundColor[2] = 0.0f;
600 part.backgroundColor[0],
601 part.backgroundColor[1],
602 part.backgroundColor[2],
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DMainActivity.java117 opts.backgroundColor = Color.LTGRAY;
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java97 // Placeholder is not optional because backgroundColor is part of it.
658 * Set {@link #backgroundColor} to the color used for the background of the placeholder and
714 public int backgroundColor = 0; field in class:ExtendedBitmapDrawable.ExtendedOptions
783 if (backgroundColor == 0
787 + "either backgroundColor or placeholder must be set.");
794 if (backgroundColor != 0 && Color.alpha(backgroundColor) != 255) {
797 + "backgroundColor must be set to an opaque color.");
H A DTileDrawable.java98 mPaint.setColor(mOpts.backgroundColor);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DHeadersFragment.java213 private void updateFadingEdgeToBrandColor(int backgroundColor) { argument
219 new int[] {Color.TRANSPARENT, backgroundColor});
H A DHeadersSupportFragment.java215 private void updateFadingEdgeToBrandColor(int backgroundColor) { argument
221 new int[] {Color.TRANSPARENT, backgroundColor});
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardView.java205 int backgroundColor = a.getColor(R.styleable.CardView_cardBackgroundColor, 0);
224 IMPL.initialize(this, context, backgroundColor, radius, elevation, maxElevation);
/frameworks/support/v7/palette/src/android/support/v7/graphics/
H A DColorUtils.java126 static int getTextColorForBackground(int backgroundColor, int textColor, float minContrastRatio) { argument
128 .findMinimumAlpha(textColor, backgroundColor, minContrastRatio);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DActivatableNotificationView.java655 int backgroundColor = getBackgroundColor();
656 if (backgroundColor != -1) {
662 Color.red(backgroundColor), Color.green(backgroundColor),
663 Color.blue(backgroundColor));
/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java279 style.backgroundColor : defStyle.backgroundColor;
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java1226 int backgroundColor = mEST.getBackgroundColor();
1230 + Integer.toHexString(backgroundColor) + "," + isWaitInput()
1233 if (foregroundColor == backgroundColor) {
1234 int maskColor = 0x80000000 | ~(backgroundColor | 0xFF000000);
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java559 new MutableBackgroundColorSpan(captionStyle.backgroundColor),
1254 mBgColor = captionStyle.backgroundColor;
H A DWebVttRenderer.java1856 setBackgroundColor(captionStyle.backgroundColor);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java634 Drawable overrideBackgroundDrawable, int backgroundColor) {
675 mWorkPaint.setColor(backgroundColor);
633 createChipBitmap(RecipientEntry contact, TextPaint paint, Drawable overrideBackgroundDrawable, int backgroundColor) argument
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1062 XAuint32 backgroundColor,
/frameworks/base/core/java/android/view/
H A DViewGroup.java2964 Bitmap createSnapshot(Bitmap.Config quality, int backgroundColor, boolean skipChildren) { argument
2979 Bitmap b = super.createSnapshot(quality, backgroundColor, skipChildren);

Completed in 1967 milliseconds

12