112 Commits

Author SHA1 Message Date
Joe Onorato
cf2b199e98 Updated layouts for new status bar
Change-Id: I30dc7c458669c4e6a35c67b7815a00ebbbae8dd3
2010-11-16 21:36:42 -08:00
Joe Onorato
8a576713e2 Add the quick settings panel. There's currently nothing in it.
Change-Id: I71195c7b0bd2b902da1c60527b6e23964b1ea4fc
2010-11-15 17:45:03 -08:00
Joe Onorato
fd52b18d9b The beginnings of the new status bar.
There is a lot of rough stuff still, but most of the functionality is here again.

Change-Id: I4b1241e61270f1434e798481afa83634233ee670
2010-11-15 11:52:33 -08:00
Eric Fischer
0f9c9a7589 Import revised translations.
Change-Id: I268a46ef97765c4d806b84f50a5b99667ec4eb53
2010-11-10 17:29:29 -08:00
Eric Fischer
403f16ae0b Merge changes I40bfa0f8,I9fe6a999
* changes:
  Restore deleted string still referenced from AndroidManifest.
  Import revised translations.
2010-11-10 10:26:08 -08:00
Jim Miller
fefef31191 Initial pass to update RecentApps panel to new UI specification.
This updates recent apps to show a vertical list, complete
with thumbnails and a text description of the application.

Change-Id: I178ed8d7d32e790ac51aa7f88593aa24d6786a78
2010-11-09 17:42:49 -08:00
Eric Fischer
6362b3f077 Import revised translations.
Change-Id: I9fe6a999fc665faefbf0e7e222d5dfb4fdbcd3b1
2010-11-09 17:25:54 -08:00
Joe Onorato
e8934a6774 Add CHAR LIMIT and translatable=false to SystemUI strings.
Bug: 3147304
Bug: 3174712
Change-Id: I318da54da861d15e1528335eeba9319eda9cc84d
2010-11-09 08:01:20 -08:00
Daniel Sandler
3b476abca8 Show date in system bar.
Bug: 2996123
Change-Id: If2f588defaa4c27bf6010e14c946c5ab2894e1db
2010-11-05 16:31:03 -04:00
Daniel Sandler
06e6630a46 Restore user-accessible lights-out control.
Current system area gestures:

       tap - no-op (bug 3114340)
  swipe up - open system panel
swipe down - lights out
long press - lights out (bug 3134973)

The enter/exit animations have been tweaked to reinforce
this, particularly the swipe down for lights out. (Swiping
up to exit lights out will work, as will any kind of tap in
the lights-out "curtain".)

Change-Id: Ie027d7a0e86a402d06a8a368a5a43050a6bb9e58
2010-11-05 15:04:35 -04:00
Gilles Debunne
39b13c6277 Created missing assets by up/down scaling the one in other dpi
Some of these assets may no longer be used. An other CL will remove these later.
Needed to remove warnings in new aapt version.

Change-Id: Iac296247012a05757bd3264ab50212d37ce80adf
2010-11-04 17:12:11 -07:00
Daniel Sandler
b73617de46 Rotation lock.
IWindowManager now supports two new methods,
freezeRotation() and thawRotation(), that allow a caller to
temporarily stash the device's current rotation as the
default rotation (when no other constraints are present).

The system bar uses this to implement a user-accessible
rotation lock by calling freezeRotation() and then turning
off accelerometer-based display rotation; unless overridden
by an app, the display will continue to appear in the frozen
rotation until the rotation is unlocked by the user (either
via the rotation lock icon in the system bar or by checking
"rotate screen automatically" in Settings).

Bug: 2949639
Change-Id: Icd21c169d1053719590e72401f229424b254622f
2010-11-04 16:55:29 -04:00
Joe Onorato
7e750b1b84 Put back the back button
Change-Id: I0aea487eb2123d3d7e689c2f8ef24e9025a34aee
2010-11-02 00:14:33 -07:00
Daniel Sandler
b0cc50de14 Notification flyovers.
Hold your finger on an individual notification icon to
quickly show that notification's payload.

Also: Quickly swipe up on any icon to open the tray.

Bug: 2994009

Change-Id: I2ae2b546fcfa62994b63b9376f487289b2d06796
2010-10-29 13:33:24 -04:00
Joe Onorato
926829056c Merge "Implement reminder power dialog and invalid charger dialog." 2010-10-27 19:28:03 -07:00
Joe Onorato
4ca7f1e281 Implement reminder power dialog and invalid charger dialog.
Bug: 2510318
Bug: 2974431
Change-Id: I92eb419eeffb657e5572a35a490735a96b303d6b
2010-10-27 19:24:51 -07:00
Eric Fischer
655e310d66 Import revised translations.
Change-Id: I2ce0fd4da5c8ac33e90909d49f46cd29565de276
2010-10-27 14:28:17 -07:00
Joe Onorato
10523b4d0c Make the low battery dialog work again.
Change-Id: I97232a3645e6a817c9c5f5f90b88a7e925d36d13
2010-10-27 11:26:00 -07:00
Jim Miller
44c66fe2cd Fix 3117937: Add simplified "recent apps".
This adds a simplified recents view for devices that
don't handle 3D well.

Change-Id: I8307cd340caf1d65c8fce80eaf55a1d21bc64312
2010-10-25 19:32:04 -07:00
Joe Onorato
bd5dba3571 make the back (previous track) button into a cancel button.
Change-Id: Iab93a7d8bd722536fcc5a12ed3274bda3e92aaf6
2010-10-24 14:29:01 -07:00
Eric Fischer
072fabc0e5 am d3f5bf5a: am ecae6e06: Merge "Import translations for status bar." into gingerbread
Merge commit 'd3f5bf5aac395cdc7c2faa173141b69adea6e274'

* commit 'd3f5bf5aac395cdc7c2faa173141b69adea6e274':
  Import translations for status bar.
2010-10-22 18:31:38 -07:00
Eric Fischer
4aa82a7b7a Import translations for status bar.
Change-Id: I5f40e9c507530fb4110da711e54465c2ae920a94
2010-10-22 16:49:14 -07:00
Justin Ho
3162a3cee0 DO NOT MERGE - Re-adding missing status_bar_close_on.9 for mdpi emulator
Change-Id: Ia855f0461a984974e3f54d8f8f5fe146ff330c4f
2010-10-22 11:55:58 -07:00
Daniel Sandler
271ea12dc2 Refinements to the notification icon area.
- New icon states per revised UX designs.
 - Basic implementation of do-not-disturb mode.
 - Removed unused grippies.

Change-Id: I506dcdc8ceb855902f2401e3145c3c676c0de207
2010-10-22 14:06:10 -04:00
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