Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/text/style/
H A DSuggestionRangeSpan.java31 private int mBackgroundColor; field in SuggestionRangeSpan
35 mBackgroundColor = 0; in SuggestionRangeSpan()
40 mBackgroundColor = src.readInt(); in SuggestionRangeSpan()
68 dest.writeInt(mBackgroundColor); in writeToParcelInternal()
82 mBackgroundColor = backgroundColor; in setBackgroundColor()
86 return mBackgroundColor; in getBackgroundColor()
91 tp.bgColor = mBackgroundColor; in updateDrawState()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationCustomViewWrapper.java53 if (needsInversion(mBackgroundColor, mView)) { in onContentUpdated()
59 ColorUtils.colorToHSL(mBackgroundColor, hsl); in onContentUpdated()
60 if (mBackgroundColor != Color.TRANSPARENT && hsl[2] > 0.5) { in onContentUpdated()
62 mBackgroundColor = ColorUtils.HSLToColor(hsl); in onContentUpdated()
H A DNotificationViewWrapper.java59 protected int mBackgroundColor = 0; field in NotificationViewWrapper
110 mBackgroundColor = 0; in onReinflated()
114 mBackgroundColor = backgroundColor; in onReinflated()
321 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor; in getCustomBackgroundColor()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
H A DUnfoldBackgroundController.java36 private final float[] mBackgroundColor; field in UnfoldBackgroundController
43 mBackgroundColor = getRGBColorFromId(context, R.color.unfold_background); in UnfoldBackgroundController()
99 return mBackgroundColor; in getCurrentBackgroundColor()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/
H A DQrDecorateView.java39 private final int mBackgroundColor; field in QrDecorateView
80 mBackgroundColor = context.getResources().getColor(R.color.qr_background_color); in QrDecorateView()
91 mBackgroundPaint.setColor(mBackgroundColor); in QrDecorateView()
112 mMaskCanvas.drawColor(mBackgroundColor); in onDraw()
/aosp14/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
H A DAdaptiveIcon.java44 int mBackgroundColor = -1; field in AdaptiveIcon
97 mBackgroundColor = color; in setBackgroundColor()
99 Log.d(TAG, "Setting background color " + mBackgroundColor); in setBackgroundColor()
/aosp14/frameworks/base/core/java/android/window/
H A DSplashScreenView.java118 private @ColorInt int mBackgroundColor; field in SplashScreenView.Builder
146 mBackgroundColor = parcelable.getBackgroundColor(); in createFromParcel()
186 mBackgroundColor = backgroundColor; in setBackgroundColor()
249 view.mInitBackgroundColor = mBackgroundColor; in build()
253 view.setBackgroundColor(mBackgroundColor); in build()
692 private int mBackgroundColor; field in SplashScreenView.SplashScreenViewParcelable
709 mBackgroundColor = view.getInitBackgroundColor(); in SplashScreenViewParcelable()
757 mBackgroundColor = source.readInt(); in readParcel()
777 dest.writeInt(mBackgroundColor); in writeToParcel()
818 return mBackgroundColor; in getBackgroundColor()
H A DTransitionInfo.java616 private @ColorInt int mBackgroundColor; field in TransitionInfo.Change
644 mBackgroundColor = in.readInt(); in Change()
666 out.mBackgroundColor = mBackgroundColor; in localRemoteCopy()
750 mBackgroundColor = backgroundColor; in setBackgroundColor()
878 return mBackgroundColor; in getBackgroundColor()
912 dest.writeInt(mBackgroundColor); in writeToParcel()
989 private @ColorInt int mBackgroundColor; field in TransitionInfo.AnimationOptions
1002 mBackgroundColor = in.readInt(); in AnimationOptions()
1054 options.mBackgroundColor = backgroundColor; in makeCustomAnimOptions()
1105 return mBackgroundColor; in getBackgroundColor()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DSubtitleView.java66 private int mBackgroundColor; field in SubtitleView
163 mBackgroundColor = color; in setBackgroundColor()
282 mBackgroundColor = style.hasBackgroundColor() ? in setStyle()
310 if (Color.alpha(mBackgroundColor) > 0) { in onDraw()
314 paint.setColor(mBackgroundColor); in onDraw()
H A DCachingIconView.java58 private int mBackgroundColor; field in CachingIconView
329 mBackgroundColor = color; in setBackgroundColor()
354 icon.mutate().setColorFilter(mBackgroundColor, PorterDuff.Mode.SRC_ATOP); in setOriginalIconColor()
357 background.mutate().setColorFilter(mBackgroundColor, PorterDuff.Mode.SRC_ATOP); in setOriginalIconColor()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
H A 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()
/aosp14/frameworks/base/packages/SettingsLib/MainSwitchPreference/src/com/android/settingslib/widget/
H A DMainSwitchBar.java49 private int mBackgroundColor; field in MainSwitchBar
82 mBackgroundColor = context.getColor(R.color.material_grey_600); in MainSwitchBar()
245 setBackgroundColor(isChecked ? mBackgroundActivatedColor : mBackgroundColor); in setBackground()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
H A DBubbleBarExpandedView.java79 private int mBackgroundColor; field in BubbleBarExpandedView
199 mBackgroundColor = ta.getColor(1, Color.WHITE); in applyThemeAttrs()
345 int color = mBackgroundColor; in updateHandleColor()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
H A DCustomizeActivityAnimation.java269 mNextBackgroundColor = result.mBackgroundColor; in prepareNextAnimation()
335 int mBackgroundColor; field in CustomizeActivityAnimation.AnimationLoadResult
371 result.mBackgroundColor = animationInfo.getCustomBackground(); in loadAll()
/aosp14/frameworks/base/core/java/android/view/
H A DSurfaceView.java246 int mBackgroundColor = Color.BLACK; field in SurfaceView
799 final float[] colorComponents = new float[] { Color.red(mBackgroundColor) / 255.f, in updateBackgroundColor()
800 Color.green(mBackgroundColor) / 255.f, Color.blue(mBackgroundColor) / 255.f }; in updateBackgroundColor()
1588 mBackgroundColor = bgColor; in setResizeBackgroundColor()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
H A DCustomizeActivityAnimationTest.java222 assertEquals(result.mBackgroundColor, Color.GREEN); in testLoadCustomAnimation()
/aosp14/frameworks/base/core/java/android/text/
H A DHtml.java1124 setSpanFromMark(text, b, new BackgroundColorSpan(b.mBackgroundColor)); in endCssStyle()
1334 private int mBackgroundColor; field in HtmlToSpannedConverter.Background
1337 mBackgroundColor = backgroundColor; in Background()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskDisplayArea.java81 private @ColorInt int mBackgroundColor = 0; field in TaskDisplayArea
777 mBackgroundColor = colorInt;
814 setBackgroundColor(mBackgroundColor, true /* restore */);
H A DAppTransition.java949 if (a != null && custom.mBackgroundColor != 0) { in loadCustomActivityAnimation()
950 a.setBackdropColor(custom.mBackgroundColor); in loadCustomActivityAnimation()
H A DBackNavigationController.java297 customAppTransition.mBackgroundColor); in startBackNavigation()
H A DTransition.java2549 customAnim.mExitAnim, customAnim.mBackgroundColor); in addCustomActivityTransition()
H A DActivityRecord.java10764 transition.mBackgroundColor = backgroundColor;
10783 int mBackgroundColor;
/aosp14/frameworks/base/core/java/android/app/
H A DNotification.java12713 private int mBackgroundColor = COLOR_INVALID; field in Notification.Builder.Colors
12780 mBackgroundColor = getColor(ta, 0, Color.WHITE); in resolvePalette()
12783 mBackgroundColor = rawColor; in resolvePalette()
12787 mBackgroundColor, 4.5); in resolvePalette()
12790 mBackgroundColor, 4.5); in resolvePalette()
12794 mTertiaryAccentColor = flattenAlpha(mPrimaryTextColor, mBackgroundColor); in resolvePalette()
12795 mOnAccentTextColor = mBackgroundColor; in resolvePalette()
12822 mBackgroundColor, nightMode); in resolvePalette()
12827 ctx, mBackgroundColor, nightMode); in resolvePalette()
12831 ctx, mBackgroundColor, nightMode); in resolvePalette()
[all …]
H A DActivityManager.java1578 private int mBackgroundColor = 0; field in ActivityManager.TaskDescription.Builder
1624 this.mBackgroundColor = color; in setBackgroundColor()
1658 return new TaskDescription(mLabel, icon, mPrimaryColor, mBackgroundColor, in build()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt7650 Landroid/app/Notification$Builder;->mBackgroundColor:I
56822 Landroid/text/style/SuggestionRangeSpan;->mBackgroundColor:I
59093 Landroid/view/animation/Animation;->mBackgroundColor:I
86653 Lcom/android/internal/widget/SubtitleView;->mBackgroundColor:I