Home
last modified time | relevance | path

Searched refs:mBackgroundColor (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/text/style/
DSuggestionRangeSpan.java32 private int mBackgroundColor; field in SuggestionRangeSpan
37 mBackgroundColor = 0; in SuggestionRangeSpan()
42 mBackgroundColor = src.readInt(); in SuggestionRangeSpan()
57 dest.writeInt(mBackgroundColor); in writeToParcelInternal()
72 mBackgroundColor = backgroundColor; in setBackgroundColor()
77 tp.bgColor = mBackgroundColor; in updateDrawState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationCustomViewWrapper.java52 if (needsInversion(mBackgroundColor, mView)) { in onContentUpdated()
58 ColorUtils.colorToHSL(mBackgroundColor, hsl); in onContentUpdated()
59 if (mBackgroundColor != Color.TRANSPARENT && hsl[2] > 0.5) { in onContentUpdated()
61 mBackgroundColor = ColorUtils.HSLToColor(hsl); in onContentUpdated()
DNotificationViewWrapper.java58 protected int mBackgroundColor = 0; field in NotificationViewWrapper
111 mBackgroundColor = 0; in onReinflated()
115 mBackgroundColor = backgroundColor; in onReinflated()
322 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor; in getCustomBackgroundColor()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveIcon.java44 int mBackgroundColor = -1; field in AdaptiveIcon
97 mBackgroundColor = color; in setBackgroundColor()
99 Log.d(TAG, "Setting background color " + mBackgroundColor); in setBackgroundColor()
/frameworks/base/core/java/android/window/
DSplashScreenView.java132 private @ColorInt int mBackgroundColor; field in SplashScreenView.Builder
158 mBackgroundColor = parcelable.getBackgroundColor(); in createFromParcel()
198 mBackgroundColor = backgroundColor; in setBackgroundColor()
252 view.mInitBackgroundColor = mBackgroundColor; in build()
256 view.setBackgroundColor(mBackgroundColor); in build()
650 private int mBackgroundColor; field in SplashScreenView.SplashScreenViewParcelable
666 mBackgroundColor = view.getInitBackgroundColor(); in SplashScreenViewParcelable()
710 mBackgroundColor = source.readInt(); in readParcel()
730 dest.writeInt(mBackgroundColor); in writeToParcel()
771 return mBackgroundColor; in getBackgroundColor()
/frameworks/base/core/java/com/android/internal/widget/
DCachingIconView.java55 private int mBackgroundColor; field in CachingIconView
244 mBackgroundColor = color; in setBackgroundColor()
269 icon.mutate().setColorFilter(mBackgroundColor, PorterDuff.Mode.SRC_ATOP); in setOriginalIconColor()
272 background.mutate().setColorFilter(mBackgroundColor, PorterDuff.Mode.SRC_ATOP); in setOriginalIconColor()
DSubtitleView.java66 private int mBackgroundColor; field in SubtitleView
162 mBackgroundColor = color; in setBackgroundColor()
281 mBackgroundColor = style.hasBackgroundColor() ? in setStyle()
309 if (Color.alpha(mBackgroundColor) > 0) { in onDraw()
313 paint.setColor(mBackgroundColor); in onDraw()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DAdaptiveIconTest.java96 assertThat(icon.mBackgroundColor).isEqualTo(0xff0000); in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon()
108 assertThat(icon.mBackgroundColor) in setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor()
124 assertThat(icon.mBackgroundColor) in onBindTile_externalTileWithBackgroundColorHint_shouldUpdateIcon()
/frameworks/base/packages/SettingsLib/MainSwitchPreference/src/com/android/settingslib/widget/
DMainSwitchBar.java49 private int mBackgroundColor; field in MainSwitchBar
82 mBackgroundColor = context.getColor(R.color.material_grey_600); in MainSwitchBar()
227 setBackgroundColor(isChecked ? mBackgroundActivatedColor : mBackgroundColor); in setBackground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaControlPanel.java109 private int mBackgroundColor; field in MediaControlPanel
271 mBackgroundColor = data.getBackgroundColor(); in bindPlayer()
317 deviceIcon.setTintList(ColorStateList.valueOf(mBackgroundColor)); in bindPlayer()
386 aIcon.setBackgroundColor(mBackgroundColor); in bindPlayer()
523 mBackgroundColor = data.getBackgroundColor();
525 recommendationCard.setBackgroundTintList(ColorStateList.valueOf(mBackgroundColor));
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java255 ss.mBackgroundColor = mManager.getBackgroundColor(); in onSaveInstanceState()
267 setBackgroundColor(ss.mBackgroundColor); in onRestoreInstanceState()
955 private int mBackgroundColor = DEFAULT_TRANSPARENT_COLOR; field in EditStyledText.EditorManager
1113 mBackgroundColor = DEFAULT_TRANSPARENT_COLOR; in clearStyles()
1151 mBackgroundColor = color; in setBackgroundColor()
1273 || mBackgroundColor != DEFAULT_TRANSPARENT_COLOR) { in isStyledText()
1288 return mBackgroundColor; in getBackgroundColor()
1994 public int mBackgroundColor; field in EditStyledText.SavedStyledTextState
2003 out.writeInt(mBackgroundColor); in writeToParcel()
2010 + mBackgroundColor + "}"; in toString()
/frameworks/base/core/java/android/view/
DSurfaceView.java198 int mBackgroundColor = Color.BLACK; field in SurfaceView
896 final float[] colorComponents = new float[] { Color.red(mBackgroundColor) / 255.f, in updateBackgroundColor()
897 Color.green(mBackgroundColor) / 255.f, Color.blue(mBackgroundColor) / 255.f }; in updateBackgroundColor()
1611 mBackgroundColor = bgColor; in setResizeBackgroundColor()
/frameworks/base/core/java/android/text/
DHtml.java1113 setSpanFromMark(text, b, new BackgroundColorSpan(b.mBackgroundColor)); in endCssStyle()
1323 private int mBackgroundColor; field in HtmlToSpannedConverter.Background
1326 mBackgroundColor = backgroundColor; in Background()
/frameworks/base/core/java/android/view/animation/
DAnimation.java201 private int mBackgroundColor; field in Animation
/frameworks/base/core/java/android/app/
DNotification.java12302 private int mBackgroundColor = COLOR_INVALID; field in Notification.Builder.Colors
12367 mBackgroundColor = getColor(ta, 0, Color.WHITE); in resolvePalette()
12370 mBackgroundColor = rawColor; in resolvePalette()
12374 ContrastColorUtil.resolvePrimaryColor(ctx, mBackgroundColor, nightMode), in resolvePalette()
12375 mBackgroundColor, 4.5); in resolvePalette()
12377 ContrastColorUtil.resolveSecondaryColor(ctx, mBackgroundColor, nightMode), in resolvePalette()
12378 mBackgroundColor, 4.5); in resolvePalette()
12396 mBackgroundColor = getColor(ta, 0, nightMode ? Color.BLACK : Color.WHITE); in resolvePalette()
12406 mBackgroundColor, nightMode); in resolvePalette()
12411 ctx, mBackgroundColor, nightMode); in resolvePalette()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt7650 Landroid/app/Notification$Builder;->mBackgroundColor:I
60145 Landroid/text/style/SuggestionRangeSpan;->mBackgroundColor:I
62416 Landroid/view/animation/Animation;->mBackgroundColor:I
89976 Lcom/android/internal/widget/SubtitleView;->mBackgroundColor:I