Loading packages/SystemUI/res/values/dimens.xml +1 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,7 @@ <dimen name="status_bar_padding_end">6dp</dimen> <!-- the radius of the overflow dot in the status bar --> <dimen name="overflow_dot_radius">1dp</dimen> <dimen name="overflow_dot_radius">2dp</dimen> <!-- the padding between dots in the icon overflow --> <dimen name="overflow_icon_dot_padding">3dp</dimen> Loading packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java +3 −4 Original line number Diff line number Diff line Loading @@ -122,7 +122,7 @@ public class StatusBarIconView extends AnimatedImageView implements StatusIconDi private final boolean mBlocked; private int mDensity; private float mIconScale = 1.0f; private final Paint mDotPaint = new Paint(); private final Paint mDotPaint = new Paint(Paint.ANTI_ALIAS_FLAG); private float mDotRadius; private int mStaticDotRadius; private int mVisibleState = STATE_ICON; Loading Loading @@ -425,13 +425,12 @@ public class StatusBarIconView extends AnimatedImageView implements StatusIconDi } if (mDotAppearAmount != 0.0f) { float radius; float alpha; float alpha = Color.alpha(mDecorColor) / 255.f; if (mDotAppearAmount <= 1.0f) { radius = mDotRadius * mDotAppearAmount; alpha = 1.0f; } else { float fadeOutAmount = mDotAppearAmount - 1.0f; alpha = 1.0f - fadeOutAmount; alpha = alpha * (1.0f - fadeOutAmount); radius = NotificationUtils.interpolate(mDotRadius, getWidth() / 4, fadeOutAmount); } mDotPaint.setAlpha((int) (alpha * 255)); Loading Loading
packages/SystemUI/res/values/dimens.xml +1 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,7 @@ <dimen name="status_bar_padding_end">6dp</dimen> <!-- the radius of the overflow dot in the status bar --> <dimen name="overflow_dot_radius">1dp</dimen> <dimen name="overflow_dot_radius">2dp</dimen> <!-- the padding between dots in the icon overflow --> <dimen name="overflow_icon_dot_padding">3dp</dimen> Loading
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java +3 −4 Original line number Diff line number Diff line Loading @@ -122,7 +122,7 @@ public class StatusBarIconView extends AnimatedImageView implements StatusIconDi private final boolean mBlocked; private int mDensity; private float mIconScale = 1.0f; private final Paint mDotPaint = new Paint(); private final Paint mDotPaint = new Paint(Paint.ANTI_ALIAS_FLAG); private float mDotRadius; private int mStaticDotRadius; private int mVisibleState = STATE_ICON; Loading Loading @@ -425,13 +425,12 @@ public class StatusBarIconView extends AnimatedImageView implements StatusIconDi } if (mDotAppearAmount != 0.0f) { float radius; float alpha; float alpha = Color.alpha(mDecorColor) / 255.f; if (mDotAppearAmount <= 1.0f) { radius = mDotRadius * mDotAppearAmount; alpha = 1.0f; } else { float fadeOutAmount = mDotAppearAmount - 1.0f; alpha = 1.0f - fadeOutAmount; alpha = alpha * (1.0f - fadeOutAmount); radius = NotificationUtils.interpolate(mDotRadius, getWidth() / 4, fadeOutAmount); } mDotPaint.setAlpha((int) (alpha * 255)); Loading