Home
last modified time | relevance | path

Searched refs:mBackgroundColor (Results 1 – 21 of 21) 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.java68 private int mBackgroundColor; field in CarNotificationBaseViewHolder
145 cardView.setCardBackgroundColor(mBackgroundColor); in bindCardView()
189 mBackgroundColor = notification.color; in initializeColors()
191 mDefaultPrimaryForegroundColor, mBackgroundColor); in initializeColors()
193 mDefaultSecondaryForegroundColor, mBackgroundColor); in initializeColors()
229 return mBackgroundColor != mDefaultBackgroundColor; in hasCustomBackgroundColor()
241 mBackgroundColor = mDefaultBackgroundColor; in reset()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionPropertiesFragment.java88 private ColorPreference mBackgroundColor; field in CaptionPropertiesFragment
253 mBackgroundColor = (ColorPreference) mCustom.findPreference(PREF_BACKGROUND_COLOR); in initializeAllPreferences()
254 mBackgroundColor.setTitles(bgColorTitles); in initializeAllPreferences()
255 mBackgroundColor.setValues(bgColorValues); in initializeAllPreferences()
278 mBackgroundColor.setOnValueChangedListener(this); in installUpdateListeners()
308 parseColorOpacity(mBackgroundColor, mBackgroundOpacity, backgroundColor); in updateAllPreferences()
388 } else if (mBackgroundColor == preference || mBackgroundOpacity == preference) { in onValueChanged()
389 final int merged = mergeColorOpacity(mBackgroundColor, mBackgroundOpacity); in onValueChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DCaptionPropertiesFragment.java92 private ColorPreference mBackgroundColor; field in CaptionPropertiesFragment
303 mBackgroundColor = (ColorPreference) mCustom.findPreference(PREF_BACKGROUND_COLOR); in initializeAllPreferences()
304 mBackgroundColor.setTitles(bgColorTitles); in initializeAllPreferences()
305 mBackgroundColor.setValues(bgColorValues); in initializeAllPreferences()
328 mBackgroundColor.setOnValueChangedListener(this); in installUpdateListeners()
357 parseColorOpacity(mBackgroundColor, mBackgroundOpacity, backgroundColor); in updateAllPreferences()
435 } else if (mBackgroundColor == preference || mBackgroundOpacity == preference) { in onValueChanged()
436 final int merged = mergeColorOpacity(mBackgroundColor, mBackgroundOpacity); in onValueChanged()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/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/Settings/src/com/android/settings/widget/
DSwitchBar.java81 private int mBackgroundColor; field in SwitchBar
118 mBackgroundColor = a.getColor(2, 0); in SwitchBar()
138 setBackgroundColor(mBackgroundColor); in SwitchBar()
182 setBackgroundColor(isChecked ? mBackgroundActivatedColor : mBackgroundColor); in setTextViewLabelAndBackground()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSwitchBar.java83 private int mBackgroundColor; field in SwitchBar
117 mBackgroundColor = a.getColor(2, 0); in SwitchBar()
134 setBackgroundColor(mBackgroundColor); in SwitchBar()
172 setBackgroundColor(isChecked ? mBackgroundActivatedColor : mBackgroundColor); in setTextViewLabelAndBackground()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java74 private int mBackgroundColor; field in NotificationMainView
101 mBackgroundColor = colorBackground.getColor(); in onFinishInflate()
135 mBackgroundColor)); in applyNotificationInfo() local
DNotificationFooterLayout.java59 private final int mBackgroundColor; field in NotificationFooterLayout
93 mBackgroundColor = Themes.getAttrColor(context, R.attr.popupColorPrimary); in NotificationFooterLayout()
143 icon.setBackground(info.getIconForBackground(getContext(), mBackgroundColor)); in addNotificationIconForInfo() local
/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/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/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/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()