204 Commits

Author SHA1 Message Date
Joe Onorato
ef1e7763c2 Tablet ticker.
Change-Id: Ia3db5cc29eac1703123de3e1c6dc7c22e7d024eb
2010-09-20 14:14:02 -04:00
Chet Haase
657028c293 new assets
Change-Id: I077fd2162e0901b6f31b815459873586f813a753
2010-09-17 12:55:03 -07:00
Robert Greenwalt
5b7c5e0552 am f434dd16: am 134b28a7: Merge "Update Inet Connection Status display" into gingerbread
Merge commit 'f434dd1660f222a1ee85e77c98893b90857805c2'

* commit 'f434dd1660f222a1ee85e77c98893b90857805c2':
  Update Inet Connection Status display
2010-09-15 19:49:53 -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
Joe Onorato
f63b0f44eb Connect my plumbing to dsandler's awesome lights out mode.
It took a little bit of refactoring to move the authoritative state
about whether the lights are on or not into the StatusBarManagerService,
so that if the system ui process crashes, the bar comes up in the
right mode.

Change-Id: I95cfaf8f78ca4443ded5262272ea755d44dc5d17
2010-09-12 17:06:01 -04:00
Robert Greenwalt
8a300c6107 am d4e722b7: am 34763928: Merge "add ART for inet connection condition" into gingerbread
Merge commit 'd4e722b74f4a5c58db03dd94d79f192c0a9b3004'

* commit 'd4e722b74f4a5c58db03dd94d79f192c0a9b3004':
  add ART for inet connection condition
2010-09-10 11:29:54 -07:00
Robert Greenwalt
26faee3945 add ART for inet connection condition
bug:2978624
Change-Id: I608c3d1657a4b75c42f95147ffd5e95927fc108d
2010-09-10 09:49:04 -07:00
Joe Onorato
013cfc1116 move recent apps around, attempting to make it not crash.
I think the problem is some kind of Context mismatch because the resource was in the framework but
referencing an app class.

Change-Id: Ia6b37c9c8be5dddc836331859e779cd80dd32596
2010-09-08 17:27:41 -04:00
Daniel Sandler
b062f02d54 Merge "Fix status bar battery meter." 2010-09-03 11:41:43 -07:00
Daniel Sandler
3df3ad3faa Fix status bar battery meter.
Bug: 2974927
Change-Id: I22bcf92a85bca3c2c2d1d2efd2a501e563b3c84c
2010-09-03 14:28:02 -04:00
Daniel Sandler
9c911ef2f3 Tweaks to lights out animation.
Change-Id: Ibecd64757ba753b5457a20a33fd0d261db9c0374
2010-09-02 15:15:35 -04:00
Daniel Sandler
ce70d91844 Lights out.
Not yet wired up to FLAG_FULLSCREEN; right now you must
invoke it manually by longpressing on the clock area.

Bug: 2905073
Change-Id: I43a005f2e4c08edb3673aef523bcaa1e088e8a71
2010-09-02 12:29:26 -04:00
Daniel Sandler
d39e388e6d Redesigned system bar and quick settings panel.
Change-Id: Ie26767a8c25af64809cf2fd1d8364791cb7e55ed
2010-09-02 11:34:20 -04:00
Daniel Sandler
804eb85834 Fix longpress on Menu showing IME.
Bug: 2964208
Change-Id: I1e66ed95978a7b67ede32d08cc32ddf161cb85e0
2010-09-01 16:02:55 -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
2c24516e58 am 04bc8070: am 6659284d: Allow Bluetooth radio to be toggled in Airplane mode.
Merge commit '04bc807057d1c336a5d1340595b790eee4c5b372'

* commit '04bc807057d1c336a5d1340595b790eee4c5b372':
  Allow Bluetooth radio to be toggled in Airplane mode.
2010-08-31 14:45:30 -07: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
Jim Miller
a10194936c Fix 2797185: Add recents to statusbar on xlarge device.
Change-Id: I9d2b099347b31189b96596273e38b5c2df8f4432
2010-08-30 17:54:42 -07:00
Omari Stephens
c5d8f66140 Revert "Fix build."
This reverts commit 27cf4ad88ff8ba2b64d806b0ebb0181b1f42c888.

Ironically, this change (to fix the build in gingerbread) ended up
breaking the (previously-green) build in master.  It probably should
have been marked to not merge.  Either way, this fixes the master
build
2010-08-27 23:43:08 -07:00
Daniel Sandler
9cf455f40f am 02b19843: am 27cf4ad8: Fix build.
Merge commit '02b19843d4fb28103cc4b21aa2017eeca795d87d'

* commit '02b19843d4fb28103cc4b21aa2017eeca795d87d':
  Fix build.
2010-08-27 20:42:11 -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
Daniel Sandler
764b4da4a8 System bar improvements.
- Updated artwork for buttons and signal/battery meters.
- Layout change: meters on either side of clock
- RSSI for mobile data. The algorithm is more or less the
  same as the one used in the phone status bar. Note that
  mobile data is only shown if Wi-Fi is unavailable.

Bug: 2924643
Change-Id: Idaa0c52422db4a63616475bde96626d1953830b4
2010-08-25 16:36:30 -04:00
Daniel Sandler
aead95f339 More final artwork for status bar.
Change-Id: Iaa79567bf6f1c36bd4249eb756e694dc74730fef
2010-08-24 15:41:28 -04:00
Daniel Sandler
35887dc152 Final status bar artwork.
Change-Id: I7933388ec090a049447ff1b2b3e1560df064c32b
2010-08-24 15:24:04 -04:00
Daniel Sandler
d7db7b1eaf Wi-Fi signal strength and status in the system bar & panel.
Change-Id: I67b948b7c87650b51e5785471b66b4b2cca218ed
2010-08-19 01:26:21 -04:00
Daniel Sandler
1e3ed8fc95 Battery meter now functioning in the system bar and settings panel.
Change-Id: I08881a597f166eaeabd01d550a59109661535639
2010-08-13 15:04:40 -04:00
Daniel Sandler
6425ef950c System bar settings panel: first pass.
Implemented: Clock, brightness, silent toggle, airplane mode
(although this seems not to be working well yet on the
device).

Unimplemented: Orientation lock, battery, wifi signal, date.

Change-Id: Iec9cc833103a68aecccf46cd6eeffc2128d64eea
2010-08-12 02:29:57 -04:00
Daniel Sandler
6327b957e0 Apparently people want to know what time it is.
Bug: 2897410
Change-Id: I8a9a995cf50d197f1f8894455372d0e325eb3eae
2010-08-11 11:45:22 -04:00
Daniel Sandler
dfa08db165 Incremental system bar improvements.
- scrolling list of notifications
 - fixed crashes when inserting notifications
 - new "expand" icon in prep for different touch behavior on
   notification icons
 - adjustments to the Ticker API in preparation for Kicker
   work

Change-Id: I18908cbb2bbbfb7969c7bb48dbda67697732c438
2010-08-10 16:19:33 -04:00
Daniel Sandler
7bff7e6e84 Fix startup crash on phones.
Bug: 2899243
Change-Id: I344fdd4cd3acce64f78cb9b71848b888f59fadfa
2010-08-06 15:06:18 -04:00
Daniel Sandler
0f0b11c871 Basic support for notification payloads in the panel.
Line-item veto is there, but allows you to cancel some
notifications you probably shouldn't be canceling. (Should
hide the "X" in those cases.)

No preference given to "sticky" notifications, because
there's no such thing yet.

Notifications are now limited to 4 visible icons, per spec.
The implementation is a total hack for now.

Change-Id: Ibdf433ae94189117f983c510fe5e0cff0bf5c44c
2010-08-05 09:34:50 -04:00
Gilles Debunne
ed3cfb5e1b Generated hdpi drawable size reduced
Change-Id: Id17bb27500ba8729c33613bbf457f1b3193ced38
2010-08-03 16:13:54 -07:00
Gilles Debunne
389878e49d frameworks/base/ : added scaled hdpi version of assets that were moved to drawable-mdpi
Change-Id: I95c7e6afb84af981867c32fe7f86b140f643b5b9
2010-08-03 10:47:05 -07:00
Gilles Debunne
b0dde8e9b5 Move pngs from drawable to drawable-mdpi in project frameworks/base
After error during file transfer...

Change-Id: I21da694f81a4290e9af1f7647a8ceb6c6d3d806b
2010-08-02 15:21:27 -07:00
Daniel Sandler
3eebd1ffbf Show notification icons in the system bar.
Caveats:
 - Ongoing and normal are lumped together
 - Currently no limit on number of icons (should be 4)
 - Still can't see the notifications in the panel

Change-Id: I83ac474db6ff290207d37747b672a1a56788a238
2010-07-29 15:42:11 -04:00
Daniel Sandler
0f3332d0d6 Tweak FPO art.
Change-Id: I3a0176adbebd43a2cbf1d54c0d5153d0d3f5b60c
2010-07-23 15:54:27 -04:00
Daniel Sandler
9120d55b80 Improvements to the system bar:
- dummy panels for the notification & system areas
 - dummy battery/wifi status indicators
 - new "whiteboard ui" temporary artwork
2010-07-23 14:58:40 -04:00
Daniel Sandler
a101f8f6ef Fix pressed states on system bar buttons.
Change-Id: Ie12958fee80d9e292e4ab8e6a267db47d91b10b1
2010-07-21 16:44:42 -04:00
Daniel Sandler
3a04ef0adb Move more of the system bar to the layout.
Change-Id: I2fd67e687b8048a48e2c6531ac896d33815ce615
2010-07-15 16:35:29 -04:00
Joe Onorato
808182dc87 checkpoint tablet status bar
Change-Id: Ia9089cce370ead4e685dffbca722fa8404a8f443
2010-07-12 14:29:15 -04:00
Joe Onorato
52c1dc2fd9 buttons on the bottom
Change-Id: I52184ad2752c38bcc4c7646b404f3f305e0ac4b6
2010-07-07 18:33:14 -04:00
Joe Onorato
86f9bd2fd0 Add KeyButtonView
Change-Id: Ic32076c07bd45cbf2a6db25d8e8e933701fdf8b2
2010-07-07 18:33:14 -04:00
Joe Onorato
119a4015f0 add a button area
Change-Id: I78171b3d6cc44a5984e5f602565228909f3e1c00
2010-07-07 18:33:14 -04:00
Daniel Sandler
b59b94456b Fix icon size in intruder alerts.
(Updated test app to confirm the fix.)

Change-Id: Ife56cf07f282786162e2ebc5aaddbb24dac6cafd
2010-07-07 14:06:27 -04:00
Daniel Sandler
294c9fb899 Improved graphics for the intruder alert.
Change-Id: I9aa6c8995da39f332b724fabe67ed5efe584552f
2010-06-30 15:32:26 -04:00
Daniel Sandler
5dbd05ed18 Intruder alert! (First try at the immersive-mode alert bar.)
When a FLAG_HIGH_PRIORITY notification is posted and the
foreground activity is immersive, this window will be shown
to the user. It disappears after a while (currently 10s,
which is far too long to be usable but is very handy for
testing) and can be dismissed by a tap.

Artwork is extremely rough; please ignore the aesthetics.

Still TODO:
  - sticky alerts for ongoing priority notifications
  - tap to launch PendingIntent associated with the
    notification

Change-Id: Ief4a98b84cc836d33359bd7d65de9909f5186317
2010-06-28 16:33:27 -04:00
Joe Onorato
75144ea38e Move the status bar icon list, hopefully for the last time.
Change-Id: Ie495a41dac03e1fe5ddccefcbd2a0673090a6db1
2010-06-09 14:33:31 -07:00
Joe Onorato
7a0f36bd93 Move status_bar_latest_event and LatestItemView into SystemUI.apk.
Then, now that StatusBarManagerService is the only thing in that package,
move it up to the regular services package.  (I've been waiting for 4 years
to delete that package!)

Change-Id: If5faf44641319fd19e486d1f4e5bc1c6dfcff3ad
2010-06-09 14:33:30 -07:00