Loading src/com/android/contacts/quickcontact/QuickContactActivity.java +5 −7 Original line number Diff line number Diff line Loading @@ -1350,14 +1350,12 @@ public class QuickContactActivity extends ContactsActivity { desiredStatusBarColor = Color.TRANSPARENT; } // Animate to the new color. if (desiredStatusBarColor != getWindow().getStatusBarColor()) { final ObjectAnimator animation = ObjectAnimator.ofInt(getWindow(), "statusBarColor", getWindow().getStatusBarColor(), desiredStatusBarColor); animation.setDuration(ANIMATION_STATUS_BAR_COLOR_CHANGE_DURATION); animation.setEvaluator(new ArgbEvaluator()); animation.start(); } } private int colorFromBitmap(Bitmap bitmap) { // Author of Palette recommends using 24 colors when analyzing profile photos. Loading Loading
src/com/android/contacts/quickcontact/QuickContactActivity.java +5 −7 Original line number Diff line number Diff line Loading @@ -1350,14 +1350,12 @@ public class QuickContactActivity extends ContactsActivity { desiredStatusBarColor = Color.TRANSPARENT; } // Animate to the new color. if (desiredStatusBarColor != getWindow().getStatusBarColor()) { final ObjectAnimator animation = ObjectAnimator.ofInt(getWindow(), "statusBarColor", getWindow().getStatusBarColor(), desiredStatusBarColor); animation.setDuration(ANIMATION_STATUS_BAR_COLOR_CHANGE_DURATION); animation.setEvaluator(new ArgbEvaluator()); animation.start(); } } private int colorFromBitmap(Bitmap bitmap) { // Author of Palette recommends using 24 colors when analyzing profile photos. Loading