Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java72 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()
DModeTransitionView.java73 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()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBaseViewHolder.java86 private int mBackgroundColor; field in CarNotificationBaseViewHolder
179 cardView.setCardBackgroundColor(mBackgroundColor); in bindCardView()
223 mBackgroundColor = notification.color; in initializeColors()
225 mDefaultPrimaryForegroundColor, mBackgroundColor); in initializeColors()
227 mDefaultSecondaryForegroundColor, mBackgroundColor); in initializeColors()
265 return mBackgroundColor != mDefaultBackgroundColor; in hasCustomBackgroundColor()
277 mBackgroundColor = mDefaultBackgroundColor; in reset()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java67 private int mBackgroundColor; field in NotificationMainView
104 mBackgroundColor = color; in updateBackgroundColor()
109 mBackgroundColor)); in updateBackgroundColor() local
119 int oldColor = mBackgroundColor; in updateBackgroundColor()
148 mBackgroundColor)); in applyNotificationInfo() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionAppearanceFragment.java85 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()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java43 private int mBackgroundColor; field in ScrimView
68 mBackgroundColor = color; in setBackgroundColor()
80 return mIsVisible && getAlpha() == 1 && Color.alpha(mBackgroundColor) == 255; in isFullyOpaque()
103 && (Color.alpha(mBackgroundColor) / 255f) > threshold; in updateSysUiColors()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DAnimatedTemperatureView.java95 private final ColorDrawable mBackgroundColor; field in AnimatedTemperatureView
132 mBackgroundColor = new ColorDrawable(Color.TRANSPARENT); in AnimatedTemperatureView()
133 background.setImageDrawable(mBackgroundColor); in AnimatedTemperatureView()
211 ObjectAnimator.ofInt(mBackgroundColor, COLOR_PROPERTY, color); in setTemp()
216 mBackgroundColor.setColor(color); in setTemp()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrDecorateView.java42 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()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java65 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()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java43 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()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java82 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()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationSbnAdapter.java71 private @ColorInt int mBackgroundColor; field in NotificationSbnAdapter
84 mBackgroundColor = Utils.getColorAttrDefaultColor(context, in NotificationSbnAdapter()
153 mContext, color, mBackgroundColor, mInNightMode); in loadBackground()
247 draw.setColorFilter(mBackgroundColor, PorterDuff.Mode.SRC_ATOP); in loadIcon()
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java83 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()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DActivityState.java115 protected float[] mBackgroundColor; field in ActivityState
122 return mBackgroundColor; in getBackgroundColor()
126 mBackgroundColor = GalleryUtils.intColorToFloatARGBArray( in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java136 private final int mBackgroundColor; field in ArrowPopup
149 mBackgroundColor = Themes.getAttrColor(context, R.attr.popupColorPrimary); in ArrowPopup()
150 mArrowColor = mBackgroundColor; in ArrowPopup()
167 mRoundedTop.setColor(mBackgroundColor); in ArrowPopup()
172 mRoundedBottom.setColor(mBackgroundColor); in ArrowPopup()
323 return colors.get(index, mBackgroundColor); in getExtractedColor()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DAvatarUtil.java69 int mBackgroundColor; field in AvatarUtil.GroupAvatarConfigs
92 groupAvatarConfigs.mBackgroundColor = in createGroupAvatar()
201 groupAvatarConfigs.mBackgroundColor, in createGroupAvatarBitmap()
/packages/apps/Camera2/src/com/android/camera/widget/
DModeOptions.java44 private int mBackgroundColor; field in ModeOptions
121 mBackgroundColor = getResources().getColor(R.color.mode_options_background); in onFinishInflate()
123 mPaint.setColor(mBackgroundColor); in onFinishInflate()
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java122 private int mBackgroundColor; field in TvViewUiManager
342 mBackgroundAnimator.setIntValues(mBackgroundColor, color); in setBackgroundColor()
352 mBackgroundColor = color; in setBackgroundColor()
494 mHandler.post(() -> mContentView.setBackgroundColor(mBackgroundColor)); in initBackgroundAnimatorIfNeeded()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java65 private int mBackgroundColor; field in StateView
81 mBackgroundColor = res.getColor(R.color.filtershow_stateview_background); in StateView()
159 mPaint.setColor(mBackgroundColor); in onDraw()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DMaterialProgressDrawable.java500 private int mBackgroundColor; field in MaterialProgressDrawable.Ring
515 mBackgroundColor = color; in setBackgroundColor()
547 mCirclePaint.setColor(mBackgroundColor); in draw()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java205 private int mBackgroundColor; field in KeyboardView
391 mBackgroundColor = Color.TRANSPARENT; in KeyboardView()
767 paint.setColor(mBackgroundColor); in onBufferDraw()
1463 mPopupKeyboardView.mBackgroundColor = getResources().getColor(R.color.car_teal_700); in setPopupKeyboardView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java68 protected int mBackgroundColor; field in ImageShow
176 mBackgroundColor = res.getColor(R.color.background_screen); in setupImageShow()