Home
last modified time | relevance | path

Searched refs:lightColor (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDualToneHandler.kt41 private lateinit var lightColor: Color variable
63 lightColor = Color( in setColorsFromContext()
72 lightColor = 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/src/com/android/systemui/statusbar/phone/
DStatusOverlayHoverListener.kt109 @ColorInt private var lightColor: Int = 0 variable
115 get() = if (lastTheme == HoverTheme.LIGHT) lightColor else darkColor
151 lightColor = resources.getColor(R.color.status_bar_icons_hover_color_light) in updateResources()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonDrawable.java103 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
438 mLightColor = lightColor; in ShadowDrawableState()
466 public static KeyButtonDrawable create(Context context, @ColorInt int lightColor, in create() argument
472 final KeyButtonDrawable drawable = new KeyButtonDrawable(d, lightColor, darkColor, in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonDrawable.java99 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
434 mLightColor = lightColor; in ShadowDrawableState()
474 public static KeyButtonDrawable create(Context context, @ColorInt int lightColor, in create() argument
480 final KeyButtonDrawable drawable = new KeyButtonDrawable(d, lightColor, darkColor, in create()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DFloatingRotationButtonView.java82 public void setColors(int lightColor, int darkColor) { in setColors() argument
83 getDrawable().setColorFilter(new PorterDuffColorFilter(lightColor, PorterDuff.Mode.SRC_IN)); in setColors()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DCameraPrivacyLightController.java241 int lightColor = in updateLightSession() local
244 if (mLastLightColor == lightColor && mLightsSession != null) { in updateLightSession()
247 mLastLightColor = lightColor; in updateLightSession()
253 .setColor(lightColor) in updateLightSession()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/regionsampling/
DRegionSampler.kt56 fun setForegroundColors(lightColor: Int, darkColor: Int) { in setForegroundColors()
57 lightForegroundColor = lightColor in setForegroundColors()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java188 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/
DLockscreenSmartspaceController.kt607 val lightColor = Utils.getColorAttrDefaultColor(darkThemeContext, R.attr.wallpaperTextColor) in <lambda>() constant
609 regionSampler.setForegroundColors(lightColor, darkColor) in <lambda>()