Home
last modified time | relevance | path

Searched refs:backgroundColor (Results 1 – 25 of 29) sorted by relevance

12

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

12