/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimState.java | 43 mFrontTint = mBackgroundColor; in prepare() 44 mBehindTint = mBackgroundColor; in prepare() 82 mFrontTint = mBackgroundColor; in prepare() 83 mBehindTint = mBackgroundColor; in prepare() 84 mNotifTint = mClipQsScrim ? mBackgroundColor : Color.TRANSPARENT; in prepare() 90 updateScrimColor(mScrimBehind, 1f /* alpha */, mBackgroundColor); in prepare() 101 mFrontTint = mBackgroundColor; in prepare() 104 mBehindTint = mBackgroundColor; in prepare() 118 mFrontTint = mBackgroundColor; in prepare() 130 mBehindTint = mClipQsScrim ? mBackgroundColor : mSurfaceColor; in prepare() [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | SuggestionRangeSpan.java | 31 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationCustomViewWrapper.java | 53 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()
|
D | NotificationViewWrapper.java | 59 protected int mBackgroundColor = 0; field in NotificationViewWrapper 115 mBackgroundColor = 0; in onReinflated() 119 mBackgroundColor = backgroundColor; in onReinflated() 337 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor; in getCustomBackgroundColor()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/ |
D | UnfoldBackgroundController.java | 36 private final float[] mBackgroundColor; field in UnfoldBackgroundController 43 mBackgroundColor = getRGBColorFromId(context, R.color.unfold_background); in UnfoldBackgroundController() 99 return mBackgroundColor; in getCurrentBackgroundColor()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
D | QrDecorateView.java | 41 private final int mBackgroundColor; field in QrDecorateView 82 mBackgroundColor = context.getResources().getColor(R.color.qr_background_color); in QrDecorateView() 93 mBackgroundPaint.setColor(mBackgroundColor); in QrDecorateView() 118 mMaskCanvas.drawColor(mBackgroundColor); in onDraw()
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveIcon.java | 45 int mBackgroundColor = -1; field in AdaptiveIcon 98 mBackgroundColor = color; in setBackgroundColor() 100 Log.d(TAG, "Setting background color " + mBackgroundColor); in setBackgroundColor()
|
/frameworks/base/core/java/android/window/ |
D | SplashScreenView.java | 122 private @ColorInt int mBackgroundColor; field in SplashScreenView.Builder 150 mBackgroundColor = parcelable.getBackgroundColor(); in createFromParcel() 190 mBackgroundColor = backgroundColor; in setBackgroundColor() 253 view.mInitBackgroundColor = mBackgroundColor; in build() 257 view.setBackgroundColor(mBackgroundColor); in build() 711 private int mBackgroundColor; field in SplashScreenView.SplashScreenViewParcelable 728 mBackgroundColor = view.getInitBackgroundColor(); in SplashScreenViewParcelable() 776 mBackgroundColor = source.readInt(); in readParcel() 796 dest.writeInt(mBackgroundColor); in writeToParcel() 837 return mBackgroundColor; in getBackgroundColor()
|
D | TransitionInfo.java | 678 private @ColorInt int mBackgroundColor; field in TransitionInfo.Change 708 mBackgroundColor = in.readInt(); in Change() 732 out.mBackgroundColor = mBackgroundColor; in localRemoteCopy() 823 mBackgroundColor = backgroundColor; in setBackgroundColor() 966 return mBackgroundColor; in getBackgroundColor() 1014 dest.writeInt(mBackgroundColor); in writeToParcel() 1071 if (mBackgroundColor != 0) { in toString() 1072 sb.append(" bc=").append(Integer.toHexString(mBackgroundColor)); in toString() 1118 private @ColorInt int mBackgroundColor; field in TransitionInfo.AnimationOptions 1132 mBackgroundColor = in.readInt(); in AnimationOptions() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 66 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()
|
D | CachingIconView.java | 58 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()
|
/frameworks/base/packages/SettingsLib/MainSwitchPreference/src/com/android/settingslib/widget/ |
D | MainSwitchBar.java | 50 private int mBackgroundColor; field in MainSwitchBar 82 mBackgroundColor = context.getColor(androidx.appcompat.R.color.material_grey_600); in MainSwitchBar() 86 mBackgroundColor = a.getColor(0, 0); in MainSwitchBar() 234 setBackgroundColor(isChecked ? mBackgroundActivatedColor : mBackgroundColor); in setBackground()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | AdaptiveIconTest.java | 96 assertThat(icon.mBackgroundColor).isEqualTo(0xff0000); in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon() 108 assertThat(icon.mBackgroundColor).isEqualTo( in setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor() 124 assertThat(icon.mBackgroundColor).isEqualTo(mContext.getColor(R.color.bt_outline_color)); in onBindTile_externalTileWithBackgroundColorHint_shouldUpdateIcon()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleBarExpandedView.java | 98 private int mBackgroundColor; field in BubbleBarExpandedView 238 mBackgroundColor = ta.getColor(0, Color.WHITE); in applyThemeAttrs() 381 int color = mBackgroundColor; in updateHandleColor()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 255 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/libs/WindowManager/Shell/src/com/android/wm/shell/recents/ |
D | RecentsTransitionHandler.java | 100 private @Nullable Color mBackgroundColor; field in RecentsTransitionHandler 138 mBackgroundColor = color; in setTransitionBackgroundColor() 496 if (mBackgroundColor != null) { in start() 1205 if (mBackgroundColor == null) { in createBackgroundSurface() 1216 transaction.setColor(background, colorToFloatArray(mBackgroundColor)); in createBackgroundSurface()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 257 int mBackgroundColor = Color.BLACK; field in SurfaceView 890 final float[] colorComponents = new float[] { Color.red(mBackgroundColor) / 255.f, in updateBackgroundColor() 891 Color.green(mBackgroundColor) / 255.f, Color.blue(mBackgroundColor) / 255.f }; in updateBackgroundColor() 1736 mBackgroundColor = bgColor; in setResizeBackgroundColor()
|
/frameworks/base/core/java/android/text/ |
D | Html.java | 1124 setSpanFromMark(text, b, new BackgroundColorSpan(b.mBackgroundColor)); in endCssStyle() 1334 private int mBackgroundColor; field in HtmlToSpannedConverter.Background 1337 mBackgroundColor = backgroundColor; in Background()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskDisplayArea.java | 81 private @ColorInt int mBackgroundColor = 0; field in TaskDisplayArea 778 mBackgroundColor = colorInt; 815 setBackgroundColor(mBackgroundColor, true /* restore */);
|
D | AppTransition.java | 936 if (a != null && custom.mBackgroundColor != 0) { in loadCustomActivityAnimation() 937 a.setBackdropColor(custom.mBackgroundColor); in loadCustomActivityAnimation()
|
D | BackNavigationController.java | 274 customAppTransition.mBackgroundColor); in startBackNavigation()
|
D | Transition.java | 2984 customAnim.mExitAnim, customAnim.mBackgroundColor); in addCustomActivityTransition()
|
D | ActivityRecord.java | 11164 transition.mBackgroundColor = backgroundColor; 11183 int mBackgroundColor;
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 13647 private int mBackgroundColor = COLOR_INVALID; field in Notification.Builder.Colors 13717 mBackgroundColor = getColor(ta, 0, Color.WHITE); in resolvePalette() 13720 mBackgroundColor = rawColor; in resolvePalette() 13723 ContrastColorUtil.resolvePrimaryColor(ctx, mBackgroundColor, nightMode), in resolvePalette() 13724 mBackgroundColor, 4.5); in resolvePalette() 13726 ContrastColorUtil.resolveSecondaryColor(ctx, mBackgroundColor, nightMode), in resolvePalette() 13727 mBackgroundColor, 4.5); in resolvePalette() 13731 mTertiaryAccentColor = flattenAlpha(mPrimaryTextColor, mBackgroundColor); in resolvePalette() 13732 mOnTertiaryAccentTextColor = mBackgroundColor; in resolvePalette() 13752 mBackgroundColor = getColor(ta, 0, nightMode ? Color.BLACK : Color.WHITE); in resolvePalette() [all …]
|
D | ActivityManager.java | 1783 private int mBackgroundColor = 0; field in ActivityManager.TaskDescription.Builder 1829 this.mBackgroundColor = color; in setBackgroundColor() 1863 return new TaskDescription(mLabel, icon, mPrimaryColor, mBackgroundColor, in build()
|