830 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
09f686ec7e use the proper number of wifi icon levels.
Change-Id: Ib8d4bccff7240d0086729093d79f564aa97001ff
2010-11-15 16:34:41 -08:00
Joe Onorato
801ade0f08 Don't crash if we haven't gotten a signal strength yet.
Bug: 3198447
Change-Id: I645b484eadfff6ed34517571b0c6fea3057ec563
2010-11-15 15:33:39 -08:00
Joe Onorato
abb27777f4 Don't cancel the key buttons when you drag outside their bounds.
Bug: 3183205
Change-Id: I9e0f2e4e550b3e5b1b46099145b4c703b77aca77
2010-11-15 13:30:49 -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
Dianne Hackborn
55d3bae235 Merge "Change recents UIs to do task switches." 2010-11-12 18:18:15 -08:00
Jeff Brown
46e75294d5 Enable touch splitting for all windows by default.
New default only applies to applications with targetSdkVersion >=
HONEYCOMB.  Old applications default to no touch splitting for
their windows.

In addition, enabled split touch for various system windows.

Bug: 3049580
Change-Id: Idc8da9baa2cd8e1e4e76af8967d7b6a5ccb94427
2010-11-12 14:53:43 -08:00
Dianne Hackborn
b677746bd8 Change recents UIs to do task switches.
When switching to a recent task that is currently active, do a
task switch instead of a start activity, so the activity is brought
back in its exact same state.

Also fix problem in phone recents where the icon would disappear
after you touch it.

Change-Id: Id5c8478f8c33c90f52fbb4d969037d2bf5af9fff
2010-11-12 12:44:19 -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
1af1121772 Merge "Restore user-accessible lights-out control." 2010-11-05 12:11:48 -07: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
Amith Yamasani
14aa0592e6 Merge "Adjust default screen timeout." 2010-11-05 18:26:27 +00:00
Amith Yamasani
0038931043 Adjust default screen timeout.
Bug: 3165933
2010-11-05 11:22:21 -07: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
Hiroshi Lockheimer
5fedc1ce4e am 5f5bcf50: am e0887cc7: Merge "Squash ANRs in UsbStorageActivity." into gingerbread
* commit '5f5bcf5039774050eec587dcc31905bd5a370b7b':
  Squash ANRs in UsbStorageActivity.
2010-11-04 09:56:57 -07:00
Hiroshi Lockheimer
e0887cc7fe Merge "Squash ANRs in UsbStorageActivity." into gingerbread 2010-11-03 17:08:03 -07:00
Robert Greenwalt
26ba124903 Merge "Add some network/phone type constants." 2010-11-03 17:05:24 -07:00
Robert Greenwalt
962a990a45 Add some network/phone type constants.
Support for LTE (and SIP-based voice) and the stepping-stone eHPRD.

bug:3125398
Change-Id: Ied3d96fa09d9c758a82a2fd1817f55db711d1a4f
2010-11-03 17:02:37 -07:00
Justin Ho
112b5b1f30 Merge "DO NOT MERGE - Updated VPNServices stat_sys icons" into gingerbread 2010-11-03 13:39:26 -07:00
Justin Ho
ccacd87a39 DO NOT MERGE - Updated VPNServices stat_sys icons
Change-Id: I2dfb6873488460528bab68225a69cae61c215006
2010-11-03 13:38:12 -07:00
Daniel Sandler
7fb7cf4215 am 9f4f20c2: am 65816a32: Merge "Fix the fix for storage ANRs." into gingerbread
* commit '9f4f20c2451325850cb81e886f1e76155e7e098d':
  Fix the fix for storage ANRs.
2010-11-03 12:42:35 -07:00
Daniel Sandler
3a4940f3f0 Squash ANRs in UsbStorageActivity.
Important safety tip: talking to the storage manager and
mount service can be very, very slow.

Bug: 3138068
Change-Id: I652e8bb2075535b42c83a46df1d8ae8bf299dd0d
2010-11-03 15:25:52 -04:00
Dianne Hackborn
a2773f51fd am 0ce0f72c: am 906b830d: Revert "UMS: Avoid SystemUI ANRs during long vold operations."
* commit '0ce0f72c1eb92cf654667c15477f19b4a7e84cd1':
  Revert "UMS: Avoid SystemUI ANRs during long vold operations."
2010-11-03 11:43:16 -07:00
Daniel Sandler
dfd7e58d62 am 1df8765a: am cbc3219d: Merge "UMS: Avoid SystemUI ANRs during long vold operations." into gingerbread
* commit '1df8765ac05ed83c212e899fa6c74a6cc012e7b0':
  UMS: Avoid SystemUI ANRs during long vold operations.
2010-11-03 11:43:03 -07:00
Daniel Sandler
5b8743f3d6 Fix the fix for storage ANRs.
This repairs Icf2a836b6 to avoid an infinite loop on boot.

Bug: 3138068
Change-Id: Ic3a0455e18002dfb82774d96b3467030c4b15e2f
2010-11-03 09:49:26 -04:00
Dianne Hackborn
906b830d1d Revert "UMS: Avoid SystemUI ANRs during long vold operations."
This reverts commit 010704f95de534214cd7b86f93e22050a595dce3.
2010-11-02 22:23:53 -07:00
Daniel Sandler
010704f95d UMS: Avoid SystemUI ANRs during long vold operations.
Stop handling StorageEventListener callbacks on the main
thread, where calls back into StorageManager could take a
while (i.e., during a long fsck).

Bug: 3138068
Change-Id: Icf2a836b69ff60606edce7c5575ad64dc24698c6
2010-11-02 21:47:22 -04:00
Joe Onorato
460119b7ea Merge "Put back the back button" 2010-11-02 10:11:25 -07:00
satok
06e0744e9e Update the subtype icon properly.
Change-Id: Ib89959d1ea13f1e6f56e6280f90532e6695c4a00
2010-11-02 20:11:28 +09:00
Joe Onorato
7e750b1b84 Put back the back button
Change-Id: I0aea487eb2123d3d7e689c2f8ef24e9025a34aee
2010-11-02 00:14:33 -07:00
Gilles Debunne
dde799deb2 Rescaled/updated mdpi assets added.
Change-Id: Idce2f1a3fb66565abe2c710281dab1ec6650d0c2
2010-11-01 17:18:10 -07:00
Joe Onorato
4058ba0526 Allow both contentIntent and setOnClickPendingIntent in notifications
From the app developer's request:

  Intents assigned to specific views should take precedence over the content intent, but it should not
  be required to set the content intent to null in order for the view-intents to work

Bug: 3107945
Change-Id: Ic5282d441277a9a8c8c700ef3f43872f3405b58a
2010-10-31 11:38:04 -07:00
Joe Onorato
e4c7b3f25e Status bar: Forward the disabled state to the status bar process when it comes up.
Bug: 3108996
Change-Id: I92c2ff645dc64ca2610e3de814e0cfef6cde88c3
2010-10-30 12:15:03 -07:00
Joe Onorato
a9ad6b818f Slightly easier to read
Change-Id: I818d885999150333ec326a283f4574571c09add1
2010-10-30 12:13:13 -07:00
Andreas Huber
2ec6a54c6f fixing the build.
Change-Id: Ibf3686c4734e5a4ddbb93e46a1b012804d277e7e
2010-10-29 14:44:18 -07:00
Joe Onorato
4c61aa3caf this is only called from the ui thread, just make the calls directly.
Change-Id: Iad80d04cbd38ef2922d341be307154f74eeb4774
2010-10-29 14:05:08 -07:00
Daniel Sandler
069dffdf27 Quick fix for status bar crash.
Bug: 3147743
Change-Id: I0fb06b04f234b9d34349f65fede8f74b24eae988
2010-10-29 16:30:24 -04:00
satok
06487a58be Add a functionarity for showing / hiding IME button on the system bar
Bug: 3077030

- IME communicates with status bar directly.

Change-Id: Ic5b6b5b7a2b8ea62372dcc9b9c36d81b9f2db651
2010-10-30 03:17:40 +09: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
satok
04d5020470 Show Subtype Icon properly in the system status bar
- Added API for getting the current subtype
- Added functions for show/hide status icon

Change-Id: Ifcaad00f7f4c658cdb3af367387476bbf316eb19
2010-10-28 16:18:50 +09:00
Joe Onorato
926829056c Merge "Implement reminder power dialog and invalid charger dialog." 2010-10-27 19:28:03 -07:00
Joe Onorato
1e860dfe0a Merge "Tapping outside the system panel shouldn't open the recent panel" 2010-10-27 19:27:12 -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