688 Commits

Author SHA1 Message Date
Joe Onorato
ea70e63c0d Swap the navigation buttons and notification icons.
Left: BACK, HOME, RECENT, [MENU], [CLIPBOARD].
  Right: NOTIFICATIONS, PANEL TRIGGER.

Many Bothans participated in usability tests to bring us
this change.

Change-Id: I45a0847226fd6264a3d62c60001e2b906ac15133
2010-10-22 11:32:28 -04:00
Joe Onorato
f3c3c4fd14 Refactor SystemUI so the status bar isn't a Service of its own.
There is now one SystemUIService, which starts the status bar service.
Pretty soon there will be other things running in here too.  This way
we don't need to have each of them started by something individually.

This also moves the choice between tablet and phone status bar into
SystemUI.apk, which seems like a much better place for it.

Change-Id: Ib69ef2f43d648764f8dbb52008f5d036a1ee07d9
2010-10-21 15:42:34 -04:00
Daniel Sandler
524f568802 New system bar "shirt pocket", for quickly stashing draggable bits.
Anything that can be dragged using the new drag manager APIs
(View#startDrag) can be dropped here; the pocket will hold
it for you until you're ready to drag it out again.

Known issues:
 - currently discarding the clipping whenever you drag it
   out; in the future we will only discard it once you
   actually drag it somewhere
 - there's a bug where dragging things back out of the
   pocket's window requires an extra tap (i.e. tap once then
   tap and drag)
 - almost nothing uses the new drag manager yet :)

Change-Id: Iff3103e4117f31023e1e96667632d77912e21d30
2010-10-21 14:54:00 -04:00
Justin Ho
852fcaf183 Updated GPS icons and new status bar background
Change-Id: If901a145b7cdb33b32076dcfb6964be59e3967da
2010-10-14 18:25:50 -07:00
Daniel Sandler
e02d808abf Dynamically show the menu button on the system bar.
Windows with FLAG_NEEDS_MENU_KEY (or windowNeedsMenuKey=true
in their theme) will cause the system bar to show a menu
icon. (Note that the phone's status bar currently ignores
this, but phones tend to have hardware menu keys anyway.)

Additionally, all windows whose package's SDK version is
pre-Honeycomb will have FLAG_NEEDS_MENU_KEY set by default.

Bug: 3003728

Change-Id: I2d983763a726ea4f32cd1af9b0390e30478b11d1
2010-10-13 16:25:43 -04:00
Daniel Sandler
a84a69f2eb Start of input method control on system bar.
This change creates a new icon to the right of the
notification area for the IMM to expose control over the
current IME. Currently it shows the IME subtype picker.

TODO: Connect directly to the IMMService to show the correct
icon (and hide the icon entirely when the input panel is not
visible).

Bug: 2975425
Change-Id: If07f30867b81950a0a86b00807a41e2ff2af389c
2010-10-08 10:39:46 -04:00
Gilles Debunne
1ae32bfebf New assets for buttons and notification
Change-Id: I95ffa7600476f97e3be3c577ef55855abeaeac5e
2010-10-06 14:32:29 -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
Gilles Debunne
ff3c191d2a resolved conflicts for merge of 8390651c to master
Change-Id: Ibaa6034dbf87473dfb7d8a324a5f91fc745b99aa
2010-10-05 12:11:56 -07:00
Joe Onorato
066b5c5166 manual merge Merge commit '77e42376' into work
Conflicts:
	packages/SystemUI/res/values/colors.xml
	packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java

Change-Id: I891c8a9f6410037ca7805507e85a17f1655c115e
2010-10-05 12:37:03 -04: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
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
a69a162816 am aa03f13c: am e8dd7160: Merge "Change the 0_fully signal icon to the new style" into gingerbread
Merge commit 'aa03f13c3aab16059e6e617fe510f454ed280459'

* commit 'aa03f13c3aab16059e6e617fe510f454ed280459':
  Change the 0_fully signal icon to the new style
2010-09-30 12:02:24 -07:00
Gilles Debunne
09f1612885 resolved conflicts for merge of 8064dd22 to master
Change-Id: Iff7f729d1e375902a8d89bb237694913380b0d36
2010-09-30 11:50:52 -07:00
Gilles Debunne
51ed8aa9d2 am ed1cf3da: am f0fa2674: Merge "New assets: wifi signal 1, no sim card." into gingerbread
Merge commit 'ed1cf3dab59d7af51240269308007546a816b1f4'

* commit 'ed1cf3dab59d7af51240269308007546a816b1f4':
  New assets: wifi signal 1, no sim card.
2010-09-30 11:00:19 -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
Gilles Debunne
f0fa267492 Merge "New assets: wifi signal 1, no sim card." into gingerbread 2010-09-29 12:15:51 -07:00
Jim Miller
c4cf1305d6 Several improvements to RecentActivities:
It now toggles between show/hide for each tap on the home button.

Added new bitmap generation for lighting and halo effect while loading.

Uses new CarouselViewHelper class to manage textures and threading.

Uses a "real view" to render detail text.

Activities can now overload onCreateDescription() to show a
description in Carousel.

Improved startup and resume speed by posting single event to
refresh the activity list.

Change-Id: Id5552da75b9d022d24f599d11358ddababc97006
2010-09-28 17:39:46 -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
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
a4a6503d30 Don't show X for notifications that can't be cleared
Bug: 3038418
Change-Id: Ic27c2e686b918c0238b85658700925c51311df06
2010-09-27 15:53:44 -07:00
Joe Onorato
091e1b8a86 Implement disable() on the status bar.
This includes adding the new DISABLE_NAVIGATION flag.

Bug: 3000770
Change-Id: I6d1c3586198e13e06b5d26e8b23a9495dc4ba02e
2010-09-26 19:07:51 -07:00
Joe Onorato
ddf680bff5 Touching the blue glow should close the system and notification panels.
Bug: 3029373
Change-Id: I96760656dcda20ab238305900f9964083a8e5273
2010-09-26 13:59:40 -07:00
Joe Onorato
55d2d7646b Notification updates.
When the drawer is open, hide the icons & toasts.
Move Clear button to the bottom and add DND button.

Change-Id: I8b3253eb8f2ff3b1e11a819d58b202e023f00710
2010-09-26 13:02:01 -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
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
Joe Onorato
83c5f31cad Put the more notifications button on the left where it belongs.
Change-Id: I683c784de4d948d2cd3b9a8302bd224f565ee053
2010-09-20 16:36:08 -04:00
Joe Onorato
b62ac12782 Tapping outside the status bar panels closes them.
Bug: 2994011
Change-Id: I0c5a28de5269f4136e6b118d5f6ac4aa38cd6d07
2010-09-20 16:21:12 -04:00
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