2651 Commits

Author SHA1 Message Date
Daniel Sandler
3ac558b6bf Hide the expanded status bar view when not in use.
Bug: 6511388
Change-Id: I8df11f80871cbd739712179034e04f49bb6b0d9d
2012-05-17 13:38:11 -04:00
Daniel Sandler
d4b7e92744 New null (disconnected) RSSI for wifi and mobile.
On wifi-only devices we now show the null wifi RSSI if wifi
is enabled but not connected.

Bug: 6449811
Change-Id: Ib0cb11bcbef86d44ec633690806cff38796ffc3e
2012-05-17 13:02:50 -04:00
Daniel Sandler
614349d74e Merge "Status Bar: Include wifi/mobile state in touch exploration" into jb-dev 2012-05-17 06:45:15 -07:00
Daniel Sandler
6a16098437 Merge changes I3b129e4b,I489718a8 into jb-dev
* changes:
  Black out the status bar when the shade comes down.
  Punch up the date contrast.
2012-05-16 22:00:51 -07:00
Daniel Sandler
8e18dc7757 Black out the status bar when the shade comes down.
Also move the shade up and forward to overlap the (now
empty) status bar.

As a side effect, DISABLE_SYSTEM_INFO now works for phones.

Bug: 6418617
Change-Id: I3b129e4bb26d3aba55403bf03baf8f4c8ad0ff46
2012-05-17 00:57:11 -04:00
Daniel Sandler
8bbbd3fc12 Punch up the date contrast.
Bug: 6499757
Change-Id: I489718a8d167d30465bc16cfc3167d8d073efd2c
2012-05-16 23:38:50 -04:00
John Spurlock
2f7dfa7afd Status Bar: Include wifi/mobile state in touch exploration
Bug: 5325056
Change-Id: Iefbd734344d3b70d3e0ebf6f0dffa55d89a054c7
2012-05-16 20:20:59 -04:00
Michael Jurka
28e7320116 Merge "Revert "Add shortcut for voice search"" into jb-dev 2012-05-16 16:39:16 -07:00
Jim Miller
12e0c5ac1b Fix 6504124: Disable assist when ACTION_ASSIST is not available
Change-Id: I2218afa7954961309d8cf2f2be0aff10826b9243
2012-05-16 16:24:32 -07:00
Michael Jurka
fa1009638d Revert "Add shortcut for voice search"
This reverts commit 7a3489552ca92776c5e2a57c80026216b44005eb.

Change-Id: Iddfa86183ff0d189e8dbb5dc535344e064e0d103
2012-05-16 16:24:22 -07:00
Jim Miller
c1c1406576 Merge "Fix 6398209: Lots of improvements to gesture search from navbar" into jb-dev 2012-05-16 14:17:33 -07:00
Eric Fischer
2806097ce3 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-16 13:06:17 -07:00
Christopher Tate
71abf6a27c Merge "Merge restored wifi APs, don't overwrite" into jb-dev 2012-05-16 12:53:27 -07:00
Eric Fischer
e5a58ee280 Import translations. DO NOT MERGE
Change-Id: I9d449be1d3b33044fc5f3ae819573565bf7da4fa
2012-05-16 12:50:20 -07:00
Daniel Sandler
ffc731d50a Merge "Properly crop header underneath panel close handle." into jb-dev 2012-05-16 12:24:14 -07:00
Daniel Sandler
a25c198ee2 Merge "Properly center and scale the navkey glow." into jb-dev 2012-05-16 12:22:57 -07:00
Daniel Sandler
2857d7b421 Properly crop header underneath panel close handle.
What's another level in the view hierarchy, really?

Bug: 6485390
Change-Id: I35bc7d487af4a09279daeaeb69f782132cd09b1d
2012-05-16 15:21:02 -04:00
Chris Wren
5de6e94e36 Allow pinch gestures to spill over into the shade header.
Bug: 6430396
Change-Id: I62c242f11f47c5e6fff25c31716465b3e777d4ab
2012-05-16 14:59:48 -04:00
Daniel Sandler
3fd0e1a219 Properly center and scale the navkey glow.
The overall scale of the glow is currently based on the
height of the navigation bar. That is, the glow asset will
be scaled so its height fits perfectly in the bar when at
rest (i.e. not enlarged by active touch).

Bug: 6399510
Change-Id: I95139787a435bcf69d5fda0003c84e4fe55c330d
2012-05-16 14:57:52 -04:00
Daniel Sandler
491d3a9bfa Fix longpress handler in notifications.
Bug: 6452142
Change-Id: Iaa8e189cd1536f2826d5fe3721ead9bc33397711
2012-05-16 13:04:06 -04:00
Daniel Sandler
559146fc98 Merge "New fonts in notifications." into jb-dev 2012-05-16 08:06:02 -07:00
Daniel Sandler
e2c6d77c5f Merge "Fix 1U notifications." into jb-dev 2012-05-16 08:05:56 -07:00
Daniel Sandler
2c3e9e199a New fonts in notifications.
Bug: 6418617
Change-Id: Ie7ed4530c737e1d4fe1f7fab61dfae162ea263a3
2012-05-16 11:02:06 -04:00
Daniel Sandler
70334ac231 Merge changes If0b865ac,Ie0c61300 into jb-dev
* changes:
  Move BigPicture's header to the top of its large view.
  Action button improvements:
2012-05-16 06:19:15 -07:00
Daniel Sandler
030243a083 Fix 1U notifications.
Bug: 6502730
Change-Id: I057b7ac038354c68e45b0a85c44511b2af16b9ab
2012-05-16 02:37:07 -04:00
Daniel Sandler
8680bf865a Action button improvements:
- Horizontal layout
  - At most 2 are shown
  - Tombstones are now shown (if the intent is null, the
    button is disabled; use it for quick feedback of an
    action's effect)

Bug: 6418617 (tombstones)
Bug: 6482237 (action separators)
Change-Id: Ie0c613006227bbfe1c0ec6eab1cda4f3782a05f2
2012-05-16 01:27:54 -04:00
Jim Miller
20830421fe Fix 6398209: Lots of improvements to gesture search from navbar
- Added ability to postpone animations until after window is shown
to ensure the animation is visible on slower devices.
- Fixed layout bug that prevented targets from being located on
outer ring.
- Fixed bug where some motion events were being ignored when handle
wasn't captured.
- Reduced temp object generation in several methods.
- Added containers to start all animations together and to facilitate
delayed start.
- Increased radius of outer ring on phones to closer match mocks.
- Decreased sensitivity of swipe up gesture on navbar so it's harder to false.

Change-Id: I084f840115aef6496a1f87202c4e42d9962c8c3e
2012-05-15 21:10:12 -07:00
Daniel Sandler
ae14715284 Merge "Prevent IME from being closed by the notification panel." into jb-dev 2012-05-15 20:03:42 -07:00
Daniel Sandler
4391b0bc69 Prevent IME from being closed by the notification panel.
Bug: 6450921
Change-Id: I124c3776728456fdd71e57cfcf898b11a8dfc7ec
2012-05-15 22:54:44 -04:00
Eric Fischer
cf31066f81 Import translations. DO NOT MERGE
Change-Id: Ic1fae2f961943dc4304b2733edb54e65dd5c5526
2012-05-15 17:27:43 -07:00
Christopher Tate
8dfe2b9dd7 Merge restored wifi APs, don't overwrite
We now preserve any already-known AP configuration information when
restoring wifi from backup, instead of flatly overwriting the known
definitions with the historical ones.  This means that if you are
performing setup while connected to an AP unknown in the restored
dataset, you will retain your connection instead of seeing it drop
partway through the restore process because suddenly the supplicant
"forgot" how to connect to it.

Duplicates are resolved by retaining the currently-defined network
configuration and discarding the historical one.

Bug 6443790

Change-Id: I1f44cc6a01fc4ae7c4b680682a10fcb7a0be65dc
2012-05-15 17:18:22 -07:00
Jeff Sharkey
d9016b2c94 Merge "Disable verbose RingtonePlayer debugging." into jb-dev 2012-05-15 12:43:48 -07:00
Jeff Sharkey
b6e404a95f Disable verbose RingtonePlayer debugging.
Bug: 6491451
Change-Id: I41119599b5bbcc1a2bb717b3673e01e4b5366b9c
2012-05-15 11:36:11 -07:00
Chris Wren
66757217a6 Create separate dimensions for the notificaitons and notification rows.
Use notification heights on layouts internal to the notificaitons.
Use row heights where padding needs to be protected, on row layout decisions.
Clean up values-xhdpi/dimens.xml since there is no longer a values-hdpi/dimens.xml.

Bug: 6475098
Bug: 6489095
Change-Id: I44750574c6e23336585a432a38c5f1ba183b6cbc
2012-05-15 07:01:53 -07:00
Chris Wren
e9e3772534 Update both views for rich notifications.
Bug: 6475141
Change-Id: I24a87285e6385673c4a08cfa66b211228982a62e
2012-05-15 07:01:12 -07:00
Jim Miller
a5b2d48700 Merge "Fix 6483412: Disable search from navbar while SUW is running" into jb-dev 2012-05-14 18:56:53 -07:00
Kenny Root
4ebaf0f1d4 Merge "Change thread priority for disk measurement to bg" into jb-dev 2012-05-14 15:42:31 -07:00
Jim Miller
b4238e0c59 Fix 6483412: Disable search from navbar while SUW is running
This fixes a problem where navbar gestures were enabled during
SetupWizard.

There's no clear signal for handling this in StatusBar since there
are a number of flags that we might use to determine the availability
of the search gesture.

However, the UI design generally calls for the gesture to be available
when the home button is visible, so I think it makes sense to start
with that and enable others as we encounter issues.

Change-Id: I7b37964ae5b51bf803d5808605f1afe694a88464
2012-05-14 15:26:20 -07:00
Kenny Root
a69b7eb1fc Change thread priority for disk measurement to bg
Change the thread priority for all disk measurement and statfs calls to
background priority.

Also move the measurement fully into the measurement task since it makes
more sense.

Bug: 6332097
Change-Id: Iafc2151313ad9b14117daf67e933dccd32f68d54
2012-05-14 15:02:19 -07:00
Eric Fischer
8e96d58146 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-14 14:51:41 -07:00
Michael Jurka
56a5783c02 Hide notification panel when launching recent apps
Bug: 6484280
Change-Id: Ib97af40979ccdd98aa2b8af6c1488b33b34bdf2b
2012-05-14 14:38:38 -07:00
Eric Fischer
fb7a89fe55 Import translations. DO NOT MERGE
Change-Id: I7ad9995da8405b20d50ecb211786ebc86469ea42
2012-05-14 13:30:10 -07:00
Jim Miller
5a588dbe6e Merge "Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet" into jb-dev 2012-05-12 14:54:06 -07:00
Jim Miller
c6e523ea9b Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet
This fixes a problem where the bounds of the view weren't being
calculated properly when a separate outer radius was specified.

The code now takes the maximum of the ring drawable's width/height
and that specified in the resource files.

This gives it the best default look on all devices while still
allowing minor tweaks.

Change-Id: I5daa40ff4f14653c8cc89b39102816afb976e4f7
2012-05-12 14:23:23 -07:00
Michael Jurka
c8179e7805 Merge "Improve transition out of recents" into jb-dev 2012-05-12 14:01:43 -07:00
Jim Miller
76e07e7767 Merge "Fix 6474712: Disable the google gesture on prime while notifications are open" into jb-dev 2012-05-12 13:55:55 -07:00
Jim Miller
670d9dd2d0 Fix 6474712: Disable the google gesture on prime while notifications are open
Change-Id: I7c40e7bf4859d60c54c186fc49b670397a4ea723
2012-05-12 13:45:35 -07:00
Michael Jurka
d5895a7e8a Improve transition out of recents
- During the transition, fade the bg to black
- Exiting activity fades to black
- Recents background no longer fades away, because
then it would fight against the fade to black
happening behind it
2012-05-12 13:24:58 -07:00
Jeff Brown
5877023221 Merge "Move power HAL interactions to PowerManagerService." into jb-dev 2012-05-11 19:32:56 -07:00
Jeff Brown
7304c34382 Move power HAL interactions to PowerManagerService.
This refactoring sets the stage for a follow-on change that
will make use additional functions of the power HAL.

Moved functionality from android.os.Power into PowerManagerService.
None of these functions make sense being called outside of the
system server.  Moving them to the PowerManagerService makes it
easier to ensure that the power HAL is initialized exactly once.

Similarly, moved ShutdownThread out of the policy package and into
the services package where it can tie into the PowerManagerService
as needed.

Bug: 6435382
Change-Id: I958241bb124fb4410d96f5d5eb00ed68d60b29e5
2012-05-11 18:42:42 -07:00