/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DualToneHandler.kt | 40 private lateinit var darkColor: Color variable 58 darkColor = Color( in setColorsFromContext() 68 darkColor = Color( in setColorsFromContext() 79 private fun getColorForDarkIntensity(darkIntensity: Float, lightColor: Int, darkColor: Int) = 80 ArgbEvaluator.getInstance().evaluate(darkIntensity, lightColor, darkColor) as Int 90 getColorForDarkIntensity(intensity, lightColor.single, darkColor.single) 100 getColorForDarkIntensity(intensity, lightColor.background, darkColor.background) 110 getColorForDarkIntensity(intensity, lightColor.fill, darkColor.fill)
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | FloatingRotationButtonView.java | 82 public void setColors(int lightColor, int darkColor) { in setColors() argument 85 final int ovalBackgroundColor = Color.valueOf(Color.red(darkColor), in setColors() 86 Color.green(darkColor), Color.blue(darkColor), BACKGROUND_ALPHA).toArgb(); in setColors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusOverlayHoverListener.kt | 108 @ColorInt private var darkColor: Int = 0 variable 115 get() = if (lastTheme == HoverTheme.LIGHT) lightColor else darkColor 152 darkColor = resources.getColor(R.color.status_bar_icons_hover_color_dark) in updateResources()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonDrawable.java | 103 KeyButtonDrawable(Drawable d, @ColorInt int lightColor, @ColorInt int darkColor, in KeyButtonDrawable() argument 105 this(d, new ShadowDrawableState(lightColor, darkColor, in KeyButtonDrawable() 436 ShadowDrawableState(@ColorInt int lightColor, @ColorInt int darkColor, boolean animated, in ShadowDrawableState() argument 439 mDarkColor = darkColor; in ShadowDrawableState() 467 @ColorInt int darkColor, @DrawableRes int iconResId, boolean hasShadow, in create() argument 472 final KeyButtonDrawable drawable = new KeyButtonDrawable(d, lightColor, darkColor, in create()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonDrawable.java | 99 public KeyButtonDrawable(Drawable d, @ColorInt int lightColor, @ColorInt int darkColor, in KeyButtonDrawable() argument 101 this(d, new ShadowDrawableState(lightColor, darkColor, in KeyButtonDrawable() 432 public ShadowDrawableState(@ColorInt int lightColor, @ColorInt int darkColor, in ShadowDrawableState() argument 435 mDarkColor = darkColor; in ShadowDrawableState() 475 @ColorInt int darkColor, @DrawableRes int iconResId, boolean hasShadow, in create() argument 480 final KeyButtonDrawable drawable = new KeyButtonDrawable(d, lightColor, darkColor, in create()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/regionsampling/ |
D | RegionSampler.kt | 56 fun setForegroundColors(lightColor: Int, darkColor: Int) { in setForegroundColors() 58 darkForegroundColor = darkColor in setForegroundColors()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | SignalDrawable.java | 188 private int getColorForDarkIntensity(float darkIntensity, int lightColor, int darkColor) { in getColorForDarkIntensity() argument 189 return (int) ArgbEvaluator.getInstance().evaluate(darkIntensity, lightColor, darkColor); in getColorForDarkIntensity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceController.kt | 604 val darkColor = Utils.getColorAttrDefaultColor(lightThemeContext, R.attr.wallpaperTextColor) in <lambda>() constant 609 regionSampler.setForegroundColors(lightColor, darkColor) in <lambda>()
|