57120 Commits

Author SHA1 Message Date
Romain Guy
9b9783ad60 Merge "Enable linear filter when scaling bitmaps Bug #5205673" 2011-08-24 11:52:55 -07:00
Romain Guy
631582f7f7 Enable linear filter when scaling bitmaps
Bug #5205673

Change-Id: I8b0f90877df6b6c6757d35dcf6cd14e79e840b96
2011-08-24 11:51:35 -07:00
Irfan Sheriff
a407aef898 Merge "Added support for multiple DNS servers." 2011-08-24 11:46:12 -07:00
Peter Ng
41927f185d Make notification divider exactly 1px in hdpi.
It remains 1dp for all other densities.

Change-Id: I40491d4512d79c026b7039ca15debf1c0f4ef99d
2011-08-24 11:43:12 -07:00
Jeff Brown
818439323c Merge "Improve input device wake heuristics. Bug: 5205674" 2011-08-24 11:41:40 -07:00
Chet Haase
4694b7f186 Merge "Fix docs for fill behavior in Animation class." 2011-08-24 11:38:23 -07:00
JP Abgrall
2eb8e3619e dumpstate: dump qtaguid info, ip6tables info, buddyinfo
This will add around 50-120 lines for qtaguid info and 50-100 for ip6tables.
The /proc/buddyinfo is for kernels where /proc/pagetypeinfo is
not accurate (ones with more than one memory node, 2.6.35).


Change-Id: I7fad53209c706d88e33e5ae824486b84941c02b6
2011-08-24 11:28:37 -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
Narayan Kamath
6d6329621e Deprecate old TTS settings that are no longer in use.
These settings can never be written to by engines and apps
anyway, and reading them does not serve any useful purpose.
The only code that needs to read these settings are the framework
TTS classes.

bug:5149036
Change-Id: I1f95977d241eb6b550105f45d29fee889da3fbd1
2011-08-24 17:45:37 +01:00
Justin Ho
8370ba9e20 Updated phone sounds
Change-Id: I88df6ad7ca8e96f163d968540420fd1cde410008
2011-08-24 09:40:25 -07:00
Justin Ho
8761db3f46 Updated spinners (again)
Bug: 5076695, 5165156

Change-Id: I939f8332617c04ba07a31955f0b15c0fa4f490f7
2011-08-24 08:32:08 -07:00
Chet Haase
d8991c4ab0 Fix docs for fill behavior in Animation class.
Change-Id: I9230e9b9841dbecead51a6716195749b0c5a0e39
2011-08-24 07:20:53 -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
Jesse Wilson
0d8eeb446e New preloaded classes for ICS.
Bug: http://b/3379487
Change-Id: I0d6d637211cfba523ee3963e112a8a4c63320f39
2011-08-24 09:33:06 -04:00
Flavio Lerda
2d538d44e2 Add a few columns for caching to the call log.
These columns store additional information about the contact associated
with a call log entry and are needed by the new functionality present in
the call log.

The information is used only internally by the call log, so these column
do not need to be part of the public API.

Bug: 5101753
Change-Id: Ie2160a157497f10ba5fc95c5fcf3b4095a99753a
2011-08-24 13:02:34 +01: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 Brown
c28306ad4a Improve input device wake heuristics.
Bug: 5205674

Only wake the device on positive interactions from the user
such as button presses, movement, initial touch down events.
In particular, do not wake the device on up events since the
driver might synthesize them on power off, causing the device
to wake up again for no good reason.

Change-Id: I767f553ea36d110e6f3a10611b324487ba7d880d
2011-08-23 21:32:42 -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
8e9992ae50 Register for kernel global data usage alerts.
Instead of polling every 15 minutes, register for alerts that trigger
when system-wide traffic passes a threshold.  Still mixed with polling
to persist UID stats, but relaxed to 30 minutes.  Currently watches
for every 512kB.

Make persistence decision separately for network versus UID, and use
total delta bytes when making decision.  Use light bootstrap during
systemReady() instead of heavy poll, which had been force-loading all
UID data unnecessarily.

Bug: 5023631
Change-Id: I04b723d6c4bf872fb1028071122dba66a8e1b576
2011-08-23 18:46:14 -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