/aosp12/frameworks/base/core/java/android/text/style/ |
H A D | SuggestionRangeSpan.java | 32 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()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
H A 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()
|
H A D | NotificationViewWrapper.java | 59 protected int mBackgroundColor = 0; field in NotificationViewWrapper 112 mBackgroundColor = 0; in onReinflated() 116 mBackgroundColor = backgroundColor; in onReinflated() 323 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor; in getCustomBackgroundColor()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | BottomBar.java | 72 private int mBackgroundColor; field in BottomBar 130 setPaintColor(mBackgroundAlpha, mBackgroundColor); in refreshPaintColor() 150 setPaintColor(mBackgroundAlpha, mBackgroundColor); in setCaptureButtonUp() 160 setCancelBackgroundColor(mBackgroundAlpha, mBackgroundColor); in setCancelButtonUp() 332 super.setBackgroundColor(mBackgroundColor); in setOverlayBottomBar() 374 mBackgroundColor = color; in setBackgroundColor() 375 setPaintColor(mBackgroundAlpha, mBackgroundColor); in setBackgroundColor() 376 setCancelBackgroundColor(mBackgroundAlpha, mBackgroundColor); in setBackgroundColor() 436 setPaintColor(mBackgroundAlpha, mBackgroundColor); in setBackgroundAlpha() 437 setCancelBackgroundColor(mBackgroundAlpha, mBackgroundColor); in setBackgroundAlpha()
|
H A D | ModeTransitionView.java | 73 private int mBackgroundColor; field in ModeTransitionView 93 mBackgroundColor = getResources().getColor(R.color.video_mode_color); in ModeTransitionView() 173 canvas.drawColor(mBackgroundColor); in onDraw() 181 canvas.drawColor(mBackgroundColor); in onDraw() 435 mBackgroundColor = shadeColor; in resetShade() 494 mBackgroundColor = getResources().getColor(colorId); in setupModeCover() 558 mBackgroundColor = (mBackgroundColor & 0xFFFFFF) | (alphaScaled << 24); in setAlpha()
|
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
H A D | CarNotificationBaseViewHolder.java | 90 private int mBackgroundColor; field in CarNotificationBaseViewHolder 184 cardView.setCardBackgroundColor(mBackgroundColor); in bindCardView() 228 mBackgroundColor = notification.color; in initializeColors() 230 mDefaultPrimaryForegroundColor, mBackgroundColor); in initializeColors() 232 mDefaultSecondaryForegroundColor, mBackgroundColor); in initializeColors() 270 return mBackgroundColor != mDefaultBackgroundColor; in hasCustomBackgroundColor() 282 mBackgroundColor = mDefaultBackgroundColor; in reset()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A D | ScrimView.java | 46 private int mBackgroundColor; field in ScrimView 73 mBackgroundColor = color; in setBackgroundColor() 87 return mIsVisible && getAlpha() == 1 && Color.alpha(mBackgroundColor) == 255; in isFullyOpaque() 110 && (Color.alpha(mBackgroundColor) / 255f) > threshold; in updateSysUiColors()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/ |
H A D | UnfoldBackgroundController.java | 39 private final float[] mBackgroundColor; field in UnfoldBackgroundController 46 mBackgroundColor = getBackgroundColor(context); in UnfoldBackgroundController() 64 .setColor(mBackgroundLayer, mBackgroundColor) in ensureBackground()
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
H A D | QrDecorateView.java | 42 final private int mBackgroundColor; field in QrDecorateView 83 mBackgroundColor = context.getResources().getColor(R.color.qr_background_color); in QrDecorateView() 94 mBackgroundPaint.setColor(mBackgroundColor); in QrDecorateView() 114 mMaskCanvas.drawColor(mBackgroundColor); in onDraw()
|
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | CaptionAppearanceFragment.java | 85 private ColorPreference mBackgroundColor; field in CaptionAppearanceFragment 252 mBackgroundColor = (ColorPreference) mCustom.findPreference(PREF_BACKGROUND_COLOR); in initializeAllPreferences() 253 mBackgroundColor.setTitles(bgColorTitles); in initializeAllPreferences() 254 mBackgroundColor.setValues(bgColorValues); in initializeAllPreferences() 277 mBackgroundColor.setOnValueChangedListener(this); in installUpdateListeners() 306 parseColorOpacity(mBackgroundColor, mBackgroundOpacity, backgroundColor); in updateAllPreferences() 382 } else if (mBackgroundColor == preference || mBackgroundOpacity == preference) { in onValueChanged() 383 final int merged = mergeColorOpacity(mBackgroundColor, mBackgroundOpacity); in onValueChanged()
|
/aosp12/frameworks/base/core/java/android/window/ |
H A D | SplashScreenView.java | 138 private @ColorInt int mBackgroundColor; field in SplashScreenView.Builder 165 mBackgroundColor = parcelable.getBackgroundColor(); in createFromParcel() 205 mBackgroundColor = backgroundColor; in setBackgroundColor() 268 view.mInitBackgroundColor = mBackgroundColor; in build() 272 view.setBackgroundColor(mBackgroundColor); in build() 708 private int mBackgroundColor; field in SplashScreenView.SplashScreenViewParcelable 724 mBackgroundColor = view.getInitBackgroundColor(); in SplashScreenViewParcelable() 768 mBackgroundColor = source.readInt(); in readParcel() 788 dest.writeInt(mBackgroundColor); in writeToParcel() 829 return mBackgroundColor; in getBackgroundColor()
|
/aosp12/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
H A D | AdaptiveIcon.java | 44 int mBackgroundColor = -1; field in AdaptiveIcon 97 mBackgroundColor = color; in setBackgroundColor() 99 Log.d(TAG, "Setting background color " + mBackgroundColor); in setBackgroundColor()
|
/aosp12/hardware/google/graphics/common/libacryl/include/hardware/exynos/ |
H A D | acryl.h | 1054 mBackgroundColor.R = red; in setDefaultColor() 1055 mBackgroundColor.G = green; in setDefaultColor() 1056 mBackgroundColor.B = blue; in setDefaultColor() 1057 mBackgroundColor.A = alpha; in setDefaultColor() 1193 *red = mBackgroundColor.R; in getBackgroundColor() 1194 *green = mBackgroundColor.G; in getBackgroundColor() 1195 *blue = mBackgroundColor.B; in getBackgroundColor() 1196 *alpha = mBackgroundColor.A; in getBackgroundColor() 1210 } mBackgroundColor; variable
|
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/ |
H A D | SubtitleView.java | 65 private int mBackgroundColor; field in SubtitleView 130 mBackgroundColor = color; in setBackgroundColor() 174 mBackgroundColor = style.backgroundColor; in setStyle() 274 if (Color.alpha(mBackgroundColor) > 0) { in onDraw() 278 paint.setColor(mBackgroundColor); in onDraw()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
H A D | NotificationMainView.java | 66 private int mBackgroundColor; field in NotificationMainView 162 mBackgroundColor = color; in updateBackgroundColor() 166 mBackgroundColor)); in updateBackgroundColor() local 176 int oldColor = mBackgroundColor; in updateBackgroundColor() 208 mBackgroundColor)); in applyNotificationInfo() local
|
/aosp12/frameworks/base/core/java/com/android/internal/widget/ |
H A D | CachingIconView.java | 55 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()
|
H A D | SubtitleView.java | 66 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()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
H A D | IconView.java | 43 private int mBackgroundColor; field in IconView 72 mBackgroundColor = res.getColor(R.color.filtershow_categoryview_background); in setup() 147 return mBackgroundColor; in getBackgroundColor() 197 canvas.drawColor(mBackgroundColor); in onDraw()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GLView.java | 82 private float [] mBackgroundColor; field in GLView 250 return mBackgroundColor; in getBackgroundColor() 254 mBackgroundColor = color; in setBackgroundColor() 258 if (mBackgroundColor != null) { in renderBackground() 259 view.clearBuffer(mBackgroundColor); in renderBackground()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
H A D | AdaptiveIconTest.java | 96 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()
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/history/ |
H A D | NotificationSbnAdapter.java | 71 private @ColorInt int mBackgroundColor; field in NotificationSbnAdapter 84 mBackgroundColor = Utils.getColorAttrDefaultColor(context, in NotificationSbnAdapter() 152 mContext, color, mBackgroundColor, mInNightMode); in loadBackground() 246 draw.setColorFilter(mBackgroundColor, PorterDuff.Mode.SRC_ATOP); in loadIcon()
|
/aosp12/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | SwitchBar.java | 83 private int mBackgroundColor; field in SwitchBar 116 mBackgroundColor = a.getColor(2, 0); in SwitchBar() 136 setBackgroundColor(mBackgroundColor); in SwitchBar() 180 setBackgroundColor(isChecked ? mBackgroundActivatedColor : mBackgroundColor); in setTextViewLabelAndBackground()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | ActivityState.java | 115 protected float[] mBackgroundColor; field in ActivityState 122 return mBackgroundColor; in getBackgroundColor() 126 mBackgroundColor = GalleryUtils.intColorToFloatARGBArray( in onCreate()
|
/aosp12/frameworks/base/packages/SettingsLib/MainSwitchPreference/src/com/android/settingslib/widget/ |
H A D | MainSwitchBar.java | 49 private int mBackgroundColor; field in MainSwitchBar 82 mBackgroundColor = context.getColor(R.color.material_grey_600); in MainSwitchBar() 227 setBackgroundColor(isChecked ? mBackgroundActivatedColor : mBackgroundColor); in setBackground()
|
/aosp12/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
H A D | VtsHalGraphicsComposerV2_2ReadbackTest.cpp | 940 mBackgroundColor = BLACK; in SetUp() 944 void setBackgroundColor(IComposerClient::Color color) { mBackgroundColor = color; } in setBackgroundColor() 957 backgroundLayer->setColor(mBackgroundColor); in setUpLayers() 991 mTopLayerColor.r * layer->mAlpha + mBackgroundColor.r * (1.0 - alpha); in setExpectedColors() 993 mTopLayerColor.g * layer->mAlpha + mBackgroundColor.g * (1.0 - alpha); in setExpectedColors() 995 mTopLayerColor.b * layer->mAlpha + mBackgroundColor.b * (1.0 - alpha); in setExpectedColors() 996 expectedColors[i].a = alpha + mBackgroundColor.a * (1.0 - alpha); in setExpectedColors() 1000 expectedColors[i].r = mTopLayerColor.r * alpha + mBackgroundColor.r * (1.0 - alpha); in setExpectedColors() 1001 expectedColors[i].g = mTopLayerColor.g * alpha + mBackgroundColor.g * (1.0 - alpha); in setExpectedColors() 1002 expectedColors[i].b = mTopLayerColor.b * alpha + mBackgroundColor.b * (1.0 - alpha); in setExpectedColors() [all …]
|