56949 Commits

Author SHA1 Message Date
Peter Ng
165ff3c3b5 Textfield search items updated thickness on vertical bars
Bug: 5076695

Change-Id: I84b33ba9e2dcc91143d162d588b9708783178bba
2011-08-25 13:42:30 -07:00
Mike Lockwood
c31c7bcaec Merge "TabletStatusBar: Add support for disabling notification LED when user views notifications" 2011-08-24 11:20:49 -07:00
Mike Lockwood
d0bf536fd6 Merge "No longer disable notification lights when screen turns on" 2011-08-24 11:03:23 -07:00
Justin Ho
de48515a86 Merge "Updated background assets for notifications." 2011-08-24 11:00:15 -07:00
Eino-Ville Talvala
95dc5d362e Merge "NEW_API: Add remaining effects to the new Effect system." 2011-08-24 10:19:45 -07:00
Jean-Michel Trivi
2b0f795dd6 Merge "Bug 5045498 Single binder call when metadata and artwork are updated" 2011-08-24 09:56:08 -07:00
Jean-Michel Trivi
85a0a05766 Merge "Bug 5045498 Implementation of RemoteControlClient.MetadataEditor" 2011-08-24 09:55:54 -07:00
Mike Lockwood
066c891f6a TabletStatusBar: Add support for disabling notification LED when user views notifications
This is analogous to similar support in PhoneStatusBar

Bug: 5143247

Change-Id: I553268162f9441fbe03f6a3769d5879cebf3b1f3
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-24 10:17:18 -04:00
satok
cfc0f2c206 Merge "Add functions to set / get SpellCheckerSubtype" 2011-08-24 00:26:01 -07:00
satok
ada8c4e6a3 Add functions to set / get SpellCheckerSubtype
Change-Id: I977326879fe201c4dee4a87da361217175eb6041
2011-08-24 16:00:55 +09:00
Adam Powell
bc714a357d Merge "Fix bug 5205275 - SwitchPreference doesn't allow Switch to slide back and forth." 2011-08-23 21:56:16 -07:00
Mathias Agopian
f33bc2dfb5 Merge changes I14e03939,I9aafe6f2
* changes:
  Fix an issue where Surface::lock() would never update the output region
  Add a debug option to turn the "transformation hint" off
2011-08-23 21:38:59 -07:00
Jeff Sharkey
006efb2470 Merge "Proactively disable data when over policy limit." 2011-08-23 21:26:51 -07:00
Mathias Agopian
becc91d6b0 Fix an issue where Surface::lock() would never update the output region
this bug was introduced recently. in some situations Surface::lock()
is not able to preserve the content of the back buffer and needs
to tell the caller to redraw everything.

Bug: 5186460
Change-Id: I14e03939ddfc1b7ad2a8b99ad79435314c60e78e
2011-08-23 21:18:36 -07:00
Adam Powell
94f67e2af6 Fix bug 5205275 - SwitchPreference doesn't allow Switch to slide back
and forth.

Also have the SwitchPreference's Switch widget's onClick listener
toggle the switch rather than invoke the preference's own onClick
method. This will allow subclasses to assign different behavior to
clicking the preference itself if desired.

Change-Id: I97e3b7a786e9f0e8bdc03c0ed6001caa7dcd991b
2011-08-23 21:17:07 -07:00
Mathias Agopian
2143fe05e3 Add a debug option to turn the "transformation hint" off
transformation hint is disabled with:

   adb shell service call SurfaceFlinger 1009 i32 1

Change-Id: I9aafe6f280f88ce41569ed69a06dc522b10e3a88
2011-08-23 21:10:35 -07:00
Mathias Agopian
96daa0ef40 Merge "Minor cleanup" 2011-08-23 20:54:22 -07:00
Jeff Brown
aaee52cfa8 Merge "Clean up InputDispatcher debugging." 2011-08-23 20:15:09 -07:00
Jean-Michel Trivi
44413e5b51 Bug 5045498 Single binder call when metadata and artwork are updated
When metadata gets applied, optimize the artwork and metadata
 update by doing it in a single call.

Add missing RemoteControlDisplay-related methods in AudioManager.

Change-Id: I97aa802cc480327bee5592ea8dfdbd414c0f037a
2011-08-23 19:08:47 -07:00
Peter Ng
6ccd7a59c6 Updated background assets for notifications.
- Replaced diagonal lines tile for notification icon backgrounds
  - Switched tablet ticker background to use same assets as icon bg
  - Flat #191919 behind notifications
  - Changed date in windowshade (no longer bold)

Change-Id: I2cc260f99e57566160630118b04fbb72274f62f3
2011-08-23 18:56:17 -07:00
Jeff Sharkey
8e28b7d782 Proactively disable data when over policy limit.
Add policy controls to NetworkStateTracker which are combined with
other user preference and internal flags to decide if data connection
should be established.  Better locking around enabled flags.

When data network would be over limit, proactively disable data on
that network.  Enable when policy is snoozed or when cycle resets.

Track and dismiss notifications from now-stale policies.

Bug: 4587023, 5178147
Change-Id: Ibfcc9f73cda7c369209af701b46eddd3d1943f2d
2011-08-23 18:45:44 -07:00
Jeff Brown
9cc695c579 Clean up InputDispatcher debugging.
Change-Id: I020e834bfb541a1f274e26a72705f96f4307dddf
2011-08-23 18:42:06 -07:00
Jeff Brown
a2bc2d2569 Merge "Support BTN_TOOL_*TAP as synonyms for BTN_TOOL_FINGER. Bug: 5205301" 2011-08-23 18:33:42 -07:00
Eino-Ville Talvala
5b4d05ce8e NEW_API: Add remaining effects to the new Effect system.
Bug: 4966161
Change-Id: Ie3d196632e5f2530809fd84e17eb44d3d9addafc
2011-08-23 18:24:54 -07:00
Dianne Hackborn
332645960c Merge "Fix issue #4279860: previous UI flashes before showing lock screen..." 2011-08-23 18:13:51 -07:00
Jean-Michel Trivi
4da5eeffc9 Bug 5045498 Implementation of RemoteControlClient.MetadataEditor
A MetadataEditor contains all the metadata and artwork to be applied
 to a RemoteControlClient.
A MetadataEditor can only be applied once.

Change-Id: I3ce9d97f520cd9ab009fb1a92a2b399717511bd8
2011-08-23 18:09:49 -07:00
Mike Lockwood
b0626b53ad No longer disable notification lights when screen turns on
The new specification calls for LED to continue blinking until the user
pulls down the notification shade in the status bar.

Bug: 5143247

Change-Id: Id004cc3d1d9d76108329e57c6fbd8a8100068e0a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-23 21:06:45 -04:00
James Dong
a8120ea311 Merge "To make SniffMP3() more concrete so that we can remove false-positve responses from MPEG-PS streams." 2011-08-23 18:06:16 -07:00
Jeff Brown
ea6892e02e Support BTN_TOOL_*TAP as synonyms for BTN_TOOL_FINGER.
Bug: 5205301

Some drivers report one finger as BTN_TOOL_FINGER, two as
BTN_TOOL_DOUBLETAP, three as BTN_TOOL_TRIPLETAP and four
as BTN_TOOL_QUADTAP.  Since we care about the tool type,
we need to handle _DOUBLE/_TRIPLE/_QUAD tap in the same way
we handle _FINGER.

Change-Id: I8eb83d2a2bada9ac32d07619c7eea84e924316b8
2011-08-23 17:49:49 -07:00
Dianne Hackborn
29aae6f36e Fix issue #4279860: previous UI flashes before showing lock screen...
...(when turning display on after recently turning it off)

Also clean up when we decide to turn the screen on to improve that
transition.  There are still problems here with turning it on
before the wallpaper gets dispayed.

Change-Id: I2bc56c12e5ad75a1ce5a0546f43a845bf0823e66
2011-08-23 17:44:52 -07:00
Adam Powell
0e1e5223f9 Merge "Fix bug 5149918 - Can't call ProgressDialog.setProgressNumberFormat() before dialog is shown" 2011-08-23 17:11:33 -07:00
Adam Powell
5d4faa91f7 Fix bug 5149918 - Can't call ProgressDialog.setProgressNumberFormat()
before dialog is shown

Change-Id: I287637e022fb653f02b45b34075eccb68e4a9221
2011-08-23 16:52:35 -07:00
Justin Ho
5b56f7d6f6 Merge "Updated spinners Bug: 5076695, 5165156" 2011-08-23 16:49:55 -07:00
Justin Ho
a34b06309e Updated spinners
Bug: 5076695, 5165156

Change-Id: I5613d03806ddf27742509e32b4050733ba45dbfb
2011-08-23 16:44:55 -07:00
Christopher Tate
60ce25b34d Merge "Warn only if we're tearing down "live" DeathRecipient content" 2011-08-23 16:43:30 -07:00
Christopher Tate
2611f89ab4 Warn only if we're tearing down "live" DeathRecipient content
If the native-side bookkeeping still has strong references to VM-side
DeathRecipient objects at the time when it's being torn down, that
suggests that the app is doing unwholesome.  Log a warning to that
effect, with the class name of the objects to try to help the developer
figure out what they're mishandling.

Fixes bug 5202777 -- in particular, it no longer logs in the
working-as-intended case following delivery of the death notices,
when we've got the existing list shell but the weak refs have properly
cleared.  Also step down from "error" to "warning" logging as befits
the nature of the actual situation now being described.

Change-Id: Ic393560824800fbd912a6e69692c65be4fcc7544
2011-08-23 16:26:57 -07:00
Mathias Agopian
56e8d67cac Minor cleanup
Change-Id: Ic042043c54631b5a5c74d20136addb2c08515ea9
2011-08-23 15:57:42 -07:00
Chet Haase
09d569a57e Merge "Fix invalidation roundoff error with old animations" 2011-08-23 15:11:48 -07:00
Chet Haase
530b22ab4e Fix invalidation roundoff error with old animations
We need to add .5 to the width/height of invalidation areas to
avoid truncation errors.

Change-Id: Iaa2407a91a6a7f6d729af21d45e77e436197df11
2011-08-23 14:36:55 -07:00
Justin Ho
09162403b5 Merge "Updated popup assets Bug: 5080369" 2011-08-23 14:22:14 -07:00
Adam Powell
4af9ce060d Merge "Fix bug 5202226 - Leave menu button visible for no-button phones if targetSdk < ICS" 2011-08-23 14:15:05 -07:00
Adam Powell
82349c54ce Fix bug 5202226 - Leave menu button visible for no-button phones if
targetSdk < ICS

Compatibility support for existing apps. Apps in the wild that
properly target <=GB phones and HC tablets should be able to expect
that their small-screen UI will continue to work as intended on ICS
devices. Make sure that we show the soft menu button in the nav bar if
the current device was not officially supported in Honeycomb, the app
does not target ICS or newer, and the window does not have an action
bar.

Change-Id: I069c30841d3827a60ef8040831fde6f4c051d0ee
2011-08-23 14:12:06 -07:00
Justin Ho
3f75d161b8 Updated popup assets
Bug: 5080369

Change-Id: Iff129a4509d6242c7b85bd9dc8201fca3c237021
2011-08-23 14:05:32 -07:00
Jaikumar Ganesh
234144b56a Merge "Make profile connection state API public." 2011-08-23 13:45:59 -07:00
Amith Yamasani
7b71e4586b Merge "Update searchables when packages are modified, in case they are enabled/disabled." 2011-08-23 13:34:48 -07:00
Jeff Brown
ade537a331 Merge "Fix race in removeDeadProvider. Bug: 5202824" 2011-08-23 13:33:49 -07:00
Jaikumar Ganesh
9354790fa1 Make profile connection state API public.
Change-Id: I1f2810d4e820142435f7bbda051c98ec3e3cf3eb
2011-08-23 12:21:55 -07:00
Amith Yamasani
defa12e95b Merge "Adjust slider range to be one more than max for base 1 volumes." 2011-08-23 12:13:07 -07:00
Amith Yamasani
13bc602b21 Update searchables when packages are modified, in case they are enabled/disabled.
Bug: 5198361 : SearchManagerService doesn't respond to package updates.
Change-Id: I2ac794c5da4769eadd6b860ab0f9123060d2a5e5
2011-08-23 12:11:35 -07:00
Jeff Brown
2a4c5acc27 Fix race in removeDeadProvider.
Bug: 5202824

It's possible for removeDeadProvider to be called after the provider
has already been removed from the provider map due to a race between
binderDied and removing the provider.

Deleted removeDeadProviderLocked; it was dead code.

Change-Id: Iecdc68703225e7ac171746e63f1b3141c6f2ce4c
2011-08-23 11:58:26 -07:00