/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DualToneHandler.kt | 41 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/ |
D | StatusOverlayHoverListener.kt | 109 @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/ |
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 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/ |
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 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/ |
D | FloatingRotationButtonView.java | 82 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/ |
D | CameraPrivacyLightController.java | 241 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/ |
D | RegionSampler.kt | 56 fun setForegroundColors(lightColor: Int, darkColor: Int) { in setForegroundColors() 57 lightForegroundColor = lightColor 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 | 607 val lightColor = Utils.getColorAttrDefaultColor(darkThemeContext, R.attr.wallpaperTextColor) in <lambda>() constant 609 regionSampler.setForegroundColors(lightColor, darkColor) in <lambda>()
|