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

/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterView.java261 public void setDarkIntensity(float darkIntensity) { argument
262 int backgroundColor = getBackgroundColor(darkIntensity);
263 int fillColor = getFillColor(darkIntensity);
271 private int getBackgroundColor(float darkIntensity) { argument
273 darkIntensity, mLightModeBackgroundColor, mDarkModeBackgroundColor);
276 private int getFillColor(float darkIntensity) { argument
278 darkIntensity, mLightModeFillColor, mDarkModeFillColor);
281 private int getColorForDarkIntensity(float darkIntensity, int lightColor, int darkColor) { argument
282 return (int) ArgbEvaluator.getInstance().evaluate(darkIntensity, lightColor, darkColor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSignalClusterView.java455 public void setIconTint(int tint, float darkIntensity) { argument
456 boolean changed = tint != mIconTint || darkIntensity != mDarkIntensity;
458 mDarkIntensity = darkIntensity;
475 private void applyDarkIntensity(float darkIntensity, View lightIcon, View darkIcon) { argument
476 lightIcon.setAlpha(1 - darkIntensity);
477 darkIcon.setAlpha(darkIntensity);
559 public void setIconTint(int tint, float darkIntensity) { argument
560 applyDarkIntensity(darkIntensity, mMobile, mMobileDark);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconController.java371 private void setIconTintInternal(float darkIntensity) { argument
372 mDarkIntensity = darkIntensity;
373 mIconTint = (int) ArgbEvaluator.getInstance().evaluate(darkIntensity,
378 private void deferIconTintChange(float darkIntensity) { argument
379 if (mTintChangePending && darkIntensity == mPendingDarkIntensity) {
383 mPendingDarkIntensity = darkIntensity;

Completed in 103 milliseconds