84 Commits

Author SHA1 Message Date
Joe Onorato
431bb22695 Reduce logging.
Remember, the system and main logs are
    - Shared resources
    - Primarily for recording problems
    - To be used only for large grained events during normal operation

Bug: 3104855
Change-Id: I136fbd101917dcbc8ebc3f96f276426b48bde7b7
2010-10-19 15:08:05 -04:00
Justin Ho
852fcaf183 Updated GPS icons and new status bar background
Change-Id: If901a145b7cdb33b32076dcfb6964be59e3967da
2010-10-14 18:25:50 -07:00
Dianne Hackborn
ffbc4b948d Merge "Fix SD card mounting issues #3074555 and #3072332" into gingerbread 2010-10-11 19:13:33 -07:00
Dianne Hackborn
d39d515b91 Fix SD card mounting issues #3074555 and #3072332
Change-Id: I79572bb4e92d2546abd97512a119ae74f0d72019
3074555: Kill "Shared storage safe to remove" notification
3072332: "blank shared storage" notification doesn't go anywhere
2010-10-11 19:12:21 -07:00
Joe Onorato
bb60d1e36b Add animation for the status bar going away.
Bug: 3077525
Change-Id: I0c166fc161f8febe963e667259517173b9ac609b
2010-10-11 16:35:48 -07:00
Joe Onorato
0d7349bd92 Fix status bar flashing after orientation change
hand merge 43a87c5c874f1b8fbf582ff522f10051a6434906
and add some more fixes

Change-Id: Iea608bfba37e2e4c6a3430c13f683e54b0eff64b
2010-10-11 16:24:50 -07:00
Gilles Debunne
1ae32bfebf New assets for buttons and notification
Change-Id: I95ffa7600476f97e3be3c577ef55855abeaeac5e
2010-10-06 14:32:29 -07:00
Dianne Hackborn
6d44456da8 Merge "Make USB mass storage hide keyguard when shown." into gingerbread 2010-10-06 11:19:51 -07:00
Adam Powell
737e8fe2c7 DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll
Change-Id: If34c8ea4e15697420adad0bc404f3c278efd7c1b
2010-10-05 15:22:07 -07:00
Dianne Hackborn
760f3a5767 DO NOT MERGE: Get rid of status bar's dim during night.
This does more harm than good now that the background is black.

Change-Id: Ia5407c5078a83231a229fc9ed85839144f0da913
2010-10-05 12:45:32 -07:00
Gilles Debunne
e91398d134 Revert for 68833 and 68483 which introduced new assets instead of just updating.
Change-Id: Ib37c0a61c5a2b061e4e70268db6d02a9adde10c2
2010-10-04 17:25:29 -07:00
Dianne Hackborn
2075464979 Make USB mass storage hide keyguard when shown.
Change-Id: I4d3592ade43c8b2e87768a55ba0fafb8e189a1fc
2010-10-04 15:34:54 -07:00
Gilles Debunne
33a4c77218 Merge "New green in assets for battery, download, upload" into gingerbread 2010-10-04 14:43:16 -07:00
Gilles Debunne
a819fc194e New green in assets for battery, download, upload
Change-Id: Iea08cddee109273fd070a7c9dae7ccb9d22d0e05
2010-10-04 14:41:56 -07:00
Joe Onorato
6c01a11a20 implement the number bubbles on the status bar
Bug: 2993482
Change-Id: I73b1f8c39e995fd4f986c25ea04127eb23c3cd07
2010-10-04 17:40:24 -04:00
Adam Powell
a57ae3f438 DO NOT MERGE Fix bug 3026771, other design/asset fixes.
* Button text changed to bold by default.
* Change notification divider to lighter gray (new asset).
* Change "Clear" notification button to use system small button assets.

Change-Id: Id1f1bdcf8c034186ad9acbdbdd544546bd32bbd8
2010-10-01 14:35:22 -07:00
Robert Greenwalt
e8dd716014 Merge "Change the 0_fully signal icon to the new style" into gingerbread 2010-09-29 19:48:57 -07:00
Gilles Debunne
03b58063de New assets for status bar data_edge and overscroll
Change-Id: I32b8e036fc54a912719df660db3063045d8d7c93
2010-09-29 17:02:50 -07:00
Robert Greenwalt
edf2971cd5 Change the 0_fully signal icon to the new style
bug:3047901
Change-Id: I1faceb69fa44714bf1d73db0da7bddaaa3bddf3b
2010-09-29 16:37:24 -07:00
Joe Onorato
2a0b3c0d4c Merge "AnimatedImageView: Stop the animation when we're not visible." into gingerbread 2010-09-29 14:25:15 -07:00
Joe Onorato
1e7277e204 AnimatedImageView: Stop the animation when we're not visible.
Change-Id: I5dedc4048806f1ea44ef4777ccf578a29e79869b
2010-09-29 14:21:06 -07:00
Gilles Debunne
f0fa267492 Merge "New assets: wifi signal 1, no sim card." into gingerbread 2010-09-29 12:15:51 -07:00
Gilles Debunne
888dc9d117 New assets: wifi signal 1, no sim card.
Change-Id: I2f7571769079998a171ac90d088ca4e82a53ce99
2010-09-28 17:10:33 -07:00
Joe Onorato
ab014a03a0 Fix 3041579 overscroll effect in notification area looks strange
Bug: 3041579
Change-Id: I72f5a51c86cf0e46143915e6d1fe404ffeceb925
2010-09-28 17:02:03 -07:00
jsh
37a3631edf Merge "Add line break between PLMN and SPN in windowshade." into gingerbread 2010-09-28 12:44:47 -07:00
Gilles Debunne
c49b259a62 Updated assets in status bar. DO NOT MERGE.
Unlock has a 1 pixel offset that has to be fixed by code.

dropdown untested on device.

Most of these should be removed from SystemUI (revert 68833).

Pass 4.

Change-Id: Ibbbe4cc404151ec28768af98509082d77b303abe
2010-09-27 15:56:26 -07:00
Joe Onorato
795f2840b4 If an icon add remove get coalesced, don't remove some other icon.
Also adds a test case and turns off the extra logging we added to debug this.

Change-Id: I8640938ae4d1e75c88213177888f363e05ce0fa0
2010-09-27 11:34:46 -07:00
jsh
dbb9ad8206 Add line break between PLMN and SPN in windowshade.
bug: 2994598
Change-Id: Id588e18e78e0adcc6a0a4e40599f60c57a40170d
2010-09-26 11:47:12 -07:00
Joe Onorato
f9ec03c0f5 Make the logging a little more targeted for the status bar multiple icon problem.
Change-Id: I726eef29281dce2a1b900c28ad55bf82cb50449a
2010-09-23 15:11:04 -07:00
Joe Onorato
49a8bbf4ea Don't crash if we've never gotten a signal strength update.
It looks like this timing bug has been there forever, and we're just starting to hit it now.

Bug: 3027952
Change-Id: I5c14ccd7f74205dc6930f4282cec0e23eeb54cab
2010-09-23 10:31:00 -07:00
Adam Powell
e241621e98 DO NOT MERGE Apply new styles to the status bar/notification shade
Change-Id: I5e89891852ff96f113083ac87bcfd74732c43faa
2010-09-22 21:06:37 -07:00
Chet Haase
e920477e86 Merge "do not merge" into gingerbread 2010-09-21 13:42:56 -07:00
Chet Haase
39d1ee558d do not merge
updated assets: pull-my-thumb/unlock (partially complete), 3g status, expander_ic_min/max changes

Change-Id: I1cb4601ec7eb2da7689fa58cb56c294f786ea4e6
2010-09-21 13:10:29 -07:00
Mike Lockwood
92630c787d Merge "SystemUI: Use new USB notifications to detect USB disconnect." into gingerbread 2010-09-21 08:45:34 -07:00
Mike Lockwood
77bc30d232 SystemUI: Use new USB notifications to detect USB disconnect.
This fixes a bug that prevented the USB mass storage activity from closing
when USB is disconnected.
The bug was actually due to using == for a string compare instead of equals(),
but using the new notifications is a better solution than using battery events
since it will work for devices that do not charge over USB.

BUG: 3018954

Change-Id: Ia447974726a52cd865e59df5af79e828b5134b6c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-09-21 11:17:27 -04:00
Robert Greenwalt
029be81302 Inet status bug fix
Don't wipe out the connected status every time we get a cellular status change.
Don't filter out disconnect event for wifi - we need them.

bug:3009923
Change-Id: I68cadac5f44d6eb4e0fe711fda7c5d218abb45bd
2010-09-21 05:38:36 -07:00
Irfan Sheriff
2c9188e2c9 DO NOT MERGE Enable debug in StatusBarService
This is a temporary enable to allow us to identify
the issue with multiple icons on StatusBar

Bug: 2984213
Change-Id: I36ac7baff6544c63fa44d9b2c7453bca6a33bd62
2010-09-20 18:10:17 -07:00
Chet Haase
657028c293 new assets
Change-Id: I077fd2162e0901b6f31b815459873586f813a753
2010-09-17 12:55:03 -07:00
Robert Greenwalt
1e9aac2bd8 Update Inet Connection Status display
Cellular signal strength should also be green - these assets aren't, but
the art guys are working on that.

Also using a new intent so we don't overload the CONNECTIVITY_ACTION and
confuse the apps.
bug:2994024

Change-Id: I6fe8f65dd6e9869d9724064c4fae45340491a4d8
2010-09-15 17:54:17 -07:00
Robert Greenwalt
fa974c5909 Fix statusbar display of wifi signalstrength
When turning a 1d array into a 2d, be sure and adjust length-checks.
bug:2995809

Change-Id: I9ff53f75958ea7808eb9f44bc05497e86f1807a2
2010-09-13 15:53:26 -07:00
Robert Greenwalt
26faee3945 add ART for inet connection condition
bug:2978624
Change-Id: I608c3d1657a4b75c42f95147ffd5e95927fc108d
2010-09-10 09:49:04 -07:00
Robert Greenwalt
d7085fcf65 Add network condition reporting.
Apps can report if they like their connection to the nets
and we display either not-really-connected or fully-connected
icons.  Final icons TBD.

bug:2978624
Change-Id: I28be52085edfe54571c0d4559aba0df883548654
2010-09-09 09:33:02 -07:00
Joe Onorato
da69552078 When notifications are updated, don't re-show the ticker unless the text has changed.
Bug: 2963867
Change-Id: I24b5bc958fb6eb0d753c88178a385232c75ea438
2010-09-07 14:13:12 -04:00
Daniel Sandler
8f8fcfa319 Notifications are now light-on-dark in the windowshade.
Finally.

This also fixes that little 1px gap that would occasionally
show through to the carbon fiber background (changed to
steel cord for now) between the last notification and the
windowshade's handlebar. It still gaps a little while you're
dragging, due to the asynchronous motion of the various
windows involved, but when the panel is still you shouldn't
see any background. (Man, that drove me crazy.)

Bug: 2949229

Change-Id: If085f4ab7dfb7c3868c30469661907d5d63f070b
2010-09-01 14:02:30 -04:00
Jake Hamby
6659284d68 Allow Bluetooth radio to be toggled in Airplane mode.
Add "bluetooth" to the list of toggleable radios. Because this string
is in the Settings DB, I had to bump the version number. Why is this in
the settings DB anyway, rather than a carrier config option?

I also discovered that the SystemUI package copied the entire contents of
res/values/defaults.xml from SettingsProvider, when I originally tried
to update the unreferenced SystemUI version of the setting. To prevent
future confusion, I removed all of the values from the SystemUI version
of res/values/defaults.xml.

Change-Id: Ib8a75c85b9db5c1963b65538ee2765d5087e67d2
2010-08-31 14:37:30 -07:00
Daniel Sandler
27cf4ad88f Fix build.
Change-Id: I848bf50dc7c928e53a3637c4cec51ebcaef4f47f
2010-08-27 23:36:20 -04:00
Daniel Sandler
0776deff39 More obsolete status bar bits. DO NOT MERGE
Bug: 2949215
Change-Id: Ibf39d37df63ce4bbd0e0da5325495feec9d69a67
2010-08-27 22:57:39 -04:00
Daniel Sandler
d02bdaab49 Remove experimental immersive mode support. DO NOT MERGE
Bug: 2949215

Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
2010-08-27 22:57:39 -04:00
Joe Onorato
246ba1121c Need to close the windowshade on ACTION_CLOSE_SYSTEM_DIALOGS and ACTION_SCREEN_OFF.
Bug: 2827958
Change-Id: I1f9467a2a80fdc1d004a678327a47e7bc8917a18
2010-08-26 16:53:16 -04:00
Daniel Sandler
0398bf70e7 Fix periodically disappearing status icons.
Occasionally the animation listener wasn't being told that
the ticker animation had completed; this callback was
essential to keeping the status bar's internal state correct
(namely, setting mTicking=false). The safest thing to do is
simply set mTicking to false immediately upon tickerDone()
or tickerHalting().

Bug: 2915280
Change-Id: I997911b12fa2985fa83b42154fb3485220886219
2010-08-19 16:59:11 -04:00