History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d8595fd8feca567d48c4e271070a75c576a7dfbf 05-Nov-2013 John Spurlock <jspurlock@google.com> Battery icon tweaks.

Fix bottom padding, better bolt placement on non-HH devices.

Bug:11412369
Change-Id: I102a5ece73b2fcb5f78305c925fc2ed5fe9b2884
/frameworks/base/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
05021e5e47132799efc3f8312fbca7cb20e6fc71 14-Oct-2013 Daniel Sandler <dsandler@android.com> Don't show [!] battery at boot.

Defense in depth:
1. If there's a sticky battery broadcast waiting around for
us, apply its information immediately.
2. If for some reason there is no battery information,
just don't draw anything.

Bug: 11208146
Change-Id: I43e4b55a90a4ca619816ad0315e329f88b529581
/frameworks/base/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
cfab99005360819294c65280d8b695ab50c1f0b3 26-Sep-2013 John Spurlock <jspurlock@google.com> New battery meter view bolt shape + color.

Bug:10785785
Change-Id: Ia122bcaec1137ba45648ab3c97d8ec832fd26c85
/frameworks/base/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
d19877f8a3557702d87bc9ed8c4be947e947b8b7 17-Sep-2013 John Spurlock <jspurlock@google.com> BatteryMeterView: Charging trumps empty.

Match the style implicit in the battery assets: if charging,
show the bolt, not the exclamation point.

Bug:10651062
Change-Id: I3edd822326ad611972e791cf4acc8c395e51a74d
/frameworks/base/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
fceb7edddeda6962212377cb88391d9affe5967a 07-Sep-2013 John Spurlock <jspurlock@google.com> Draw status bar battery icon bolt in code.

Use high-res polygon points, punching a hole in the rest of drawing
with PorterDuff.Mode.CLEAR.

Remove the now obsolete lightning.png and associated color filters.

Bug:10640891
Change-Id: I8f2d4dd157f9866f37ed9b3480bb79ee9f109975
/frameworks/base/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
21efa9ade3a5ff1854bf53a3fdf964d598ef9783 07-Sep-2013 John Spurlock <jspurlock@google.com> Update signal, wifi, battery assets + global dimming.

Global status bar dimming is now 75%.

Signal/wifi: use problem color if not fully connected.

Battery: frame 40% white, charge level = white, new hollow bolt.
(hollow bolt simulated for now until we can draw it in code)

Update ic_notification_overlay, all sizes.

Workaround animation bug on tablets.

Bug:10502089
Change-Id: I10f979b7a48ccb1bc94022d8c189ec216283dbe6
/frameworks/base/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
3c87566c115e1fce3fdc09a6fe40488bcdc04cde 31-Aug-2013 John Spurlock <jspurlock@google.com> SystemUI demo mode.

Control the status bar visuals via a simple intent protocol.
Useful for comprehensive visual testing reachable assets
and the various bar modes.

Protected behind a global system setting. To enable:
adb shell settings put global sysui_demo_allowed 1

Remove obsolete sync failing asset, and tighten up
BluetoothController to represent reality.

Bug:10502089
Change-Id: I28443af3d6b22fcb7b367ef70e1d95fc23ebd407
/frameworks/base/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
e189f662df446effc77560a64136652b16d9d54b 25-Aug-2013 John Spurlock <jspurlock@google.com> Update system bar assets to new style.

Update to new system bar assets (ic_*, stat_*).

Update color resources driving style for battery meter + clock.

Add new xxhdpi versions.

Bug:10502089
Change-Id: Ic957ad9886fbb05ed0ca1765fb9e324bfd8ab609
/frameworks/base/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
dfaf3bdeeb21c8421074c70d82642612bcdd8e98 12-Apr-2013 Daniel Sandler <dsandler@android.com> Toward regularizing color & level across battery indicators.

Each of our existing assets is slightly incorrect in some
way: inconsistent pixel jumps from one percent to the next,
inconsistent color change, etc. The only way to get it
perfectly right is to draw it programmatically.

Bug: 8504254 // inconsistent color change threshold
-- previously --
Bug: 3136046 // in Gingerbread
Bug: 3387973 // Honeycomb
Bug: 5070948 // ICS
Change-Id: I6a3e7409ecec55e10328541ecb1e9d54aebdbe96
/frameworks/base/packages/SystemUI/src/com/android/systemui/BatteryMeterView.java