Home
last modified time | relevance | path

Searched refs:darkIntensity (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterDrawable.java296 public void setDarkIntensity(float darkIntensity) { in setDarkIntensity() argument
297 if (darkIntensity == mOldDarkIntensity) { in setDarkIntensity()
300 int backgroundColor = getBackgroundColor(darkIntensity); in setDarkIntensity()
301 int fillColor = getFillColor(darkIntensity); in setDarkIntensity()
307 mOldDarkIntensity = darkIntensity; in setDarkIntensity()
310 private int getBackgroundColor(float darkIntensity) { in getBackgroundColor() argument
312 darkIntensity, mLightModeBackgroundColor, mDarkModeBackgroundColor); in getBackgroundColor()
315 private int getFillColor(float darkIntensity) { in getFillColor() argument
317 darkIntensity, mLightModeFillColor, mDarkModeFillColor); in getFillColor()
320 private int getColorForDarkIntensity(float darkIntensity, int lightColor, int darkColor) { in getColorForDarkIntensity() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSignalClusterView.java530 public void setIconTint(int tint, float darkIntensity, Rect tintArea) { in setIconTint() argument
531 boolean changed = tint != mIconTint || darkIntensity != mDarkIntensity in setIconTint()
534 mDarkIntensity = darkIntensity; in setIconTint()
558 private void applyDarkIntensity(float darkIntensity, View lightIcon, View darkIcon) { in applyDarkIntensity() argument
559 lightIcon.setAlpha(1 - darkIntensity); in applyDarkIntensity()
560 darkIcon.setAlpha(darkIntensity); in applyDarkIntensity()
680 public void setIconTint(int tint, float darkIntensity, Rect tintArea) { in setIconTint() argument
682 StatusBarIconController.getDarkIntensity(tintArea, mMobile, darkIntensity), in setIconTint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconController.java463 private void setIconTintInternal(float darkIntensity) { in setIconTintInternal() argument
464 mDarkIntensity = darkIntensity; in setIconTintInternal()
465 mIconTint = (int) ArgbEvaluator.getInstance().evaluate(darkIntensity, in setIconTintInternal()
471 private void deferIconTintChange(float darkIntensity) { in deferIconTintChange() argument
472 if (mTintChangePending && darkIntensity == mPendingDarkIntensity) { in deferIconTintChange()
476 mPendingDarkIntensity = darkIntensity; in deferIconTintChange()