13749 Commits

Author SHA1 Message Date
Joe Onorato
c3eabb9b6c The switch widget didn't work properly until after onMeasure had run.
Change-Id: I3259193ca60392ffc133f2ff6479feb8e4ad536e
2011-01-07 15:58:44 -08:00
Marco Nelissen
af5473eedd Merge "Add support for the "compilation" tag in mp3, mp4 and ogg, and also add support for two common ways of specifying album artist in ogg files. b/3311831" into honeycomb 2011-01-07 12:43:36 -08:00
Marco Nelissen
ee35aff744 Add support for the "compilation" tag in mp3, mp4 and ogg, and also add
support for two common ways of specifying album artist in ogg files.
b/3311831

(cherry-picked from GB because of weird automerger failure)

Change-Id: Ibf12a3d6bc8bbc2ac5ea815de6b33414b8f53f0f
2011-01-07 12:42:07 -08:00
Gilles Debunne
c43d13f495 Merge "Removed XmlAdapters from frameworks." into honeycomb 2011-01-07 12:41:10 -08:00
Vasu Nori
df22d839aa Merge "in requery(), when exception is caught, print warning + stacktrace" into honeycomb 2011-01-07 12:40:16 -08:00
Gilles Debunne
0633549799 Removed XmlAdapters from frameworks.
Has been moved to samples.

Change-Id: Icc0530d78df9755a4a1fe9314fa557a91da408c6
2011-01-07 12:14:27 -08:00
Adam Powell
d16c9884bb Fix bug 3330223 - onCreateOptionsMenu() unable to getActionView()
immediately after orientation change

Inflate action view layout resource earlier so that calls to
getActionView are valid immediately after menu inflation.

Change-Id: I8023328b1a77670ac42a783f6e4b46aa5c2a798e
2011-01-07 11:33:41 -08:00
Romain Guy
3c38e0a2a6 Merge "Fix typo bug in FrameLayout's measurement code. Bug #3327185" into honeycomb 2011-01-07 11:00:20 -08:00
Romain Guy
cf70dcb0f7 Fix typo bug in FrameLayout's measurement code.
Bug #3327185

Change-Id: If9a897efd8766b158749d053dabee3477bf1b053
2011-01-07 11:03:20 -08:00
Dmitri Plotnikov
cd3676e7b8 Adding AsyncTaskLoader.waitForLoader() for testing
Change-Id: I8a4c13d48c9deca70594be58beafb68f08da65ea
2011-01-07 09:23:10 -08:00
Steve Block
808751fe7a Avoid superfluous calls to CacheManager with the Chromium HTTP stack
When using the Chromium HTTP stack, most of the calls to CacheManager
methods are not required, as we're not using its cache. These methods
are now marked with asserts to make this clear.

Also avoid creating the cache database in WebViewDatabase.

This will avoid creating the database databases/webviewCache.db and
the directory cache/webviewCache.

Bug: 3270236
Change-Id: I68f94dde16830ed817454d5e1af961f41b71d018
2011-01-07 16:50:09 +00:00
Steve Block
5f6bcc17e9 Merge "Remove some superfluous null-checks when constructing a CacheResult" into honeycomb 2011-01-07 06:12:08 -08:00
Vasu Nori
a270bd59a8 Merge "fix a long-standing 'typo' bug" into honeycomb 2011-01-06 18:57:13 -08:00
Vasu Nori
29549c7abd fix a long-standing 'typo' bug
bug:2676368
Change-Id: Ie7381f343223c3bd4757de962efab7b75fe2cf1d
2011-01-06 18:46:39 -08:00
Romain Guy
171c592f0b New layers API for Views.
This API can be used to back a view and its children with either a
software layer (bitmap) or hardware layer (FBO). Layers have
various usages, including color filtering and performance
improvements during animations.

Change-Id: Ifc3bea847918042730fc5a8c2d4206dd6c9420a3
2011-01-06 18:34:30 -08:00
Vasu Nori
324dbe508e in requery(), when exception is caught, print warning + stacktrace
Change-Id: Ifa03e2c4bcf09fbba5ac028d4c7a74e092450612
2011-01-06 17:45:32 -08:00
Vasu Nori
c1ca07eebb Merge "in GB requery() didn't throw exceptions (mostly). replicate that in HC" into honeycomb 2011-01-06 16:52:35 -08:00
Joe Onorato
b9a12d7b87 Merge changes Ib809d4c5,I05d69da4 into honeycomb
* changes:
  This makes the events at the edge of the screen find the button.
  some touch event debugging
2011-01-06 16:45:42 -08:00
Vasu Nori
ca74897b24 in GB requery() didn't throw exceptions (mostly). replicate that in HC
bug:3302851
Change-Id: I56e0bd178b200472cb1dbcbd2e80b844690b8964
2011-01-06 16:35:37 -08:00
Jaikumar Ganesh
c173b76a46 Merge "Remove auto connection on ACL connection." into honeycomb 2011-01-06 16:31:15 -08:00
Jaikumar Ganesh
ef28e7eb52 Remove auto connection on ACL connection.
There is no need for this and causes problems with HID.
Its the reponsibility of the remote device to initiate connection
when back in range.

Fixes bug: 3282682
Change-Id: I9fed15d4ce0ae4539059001db54cc302a55e2015
2011-01-06 16:29:23 -08:00
Joe Onorato
03ab0c7231 some touch event debugging
Change-Id: I05d69da4db8c03f9c5131cd271bd9ee1b4996ca9
2011-01-06 16:26:06 -08:00
Adam Powell
5dd6e9a9aa Merge "Fix bug 3212471 - Widget.Holo.ActionButton style and friends now 76% more useful" into honeycomb 2011-01-06 16:06:48 -08:00
Adam Powell
345a9f4e6d Fix bug 3212471 - Widget.Holo.ActionButton style and friends now 76% more useful
Change-Id: Ideb37c8a31e37df8fcfc549d12b4b6cafc983ca1
2011-01-06 16:03:30 -08:00
Shimeng (Simon) Wang
adba8021cd Merge "Make sure the reading level scale is within min/max limits." into honeycomb 2011-01-06 15:39:49 -08:00
Chet Haase
de69817b3c Merge "Reuse of native display list objects" into honeycomb 2011-01-06 15:02:51 -08:00
Shimeng (Simon) Wang
e85ffea862 Make sure the reading level scale is within min/max limits.
This potentially helps the following issue.  But anyway, this change
is good to have.

issue: 3292648
Change-Id: I0ad74b802d7ce2c3d66de8115187638f1d5e72ff
2011-01-06 15:01:58 -08:00
Jaikumar Ganesh
8cc316e4f4 Add temporary hack for keyboards not following spec.
Change-Id: Ic206d45e54f0dc2ccf8124adb08df0c768d7e130
2011-01-06 14:18:58 -08:00
Jaikumar Ganesh
c88b0c62c5 Follow the spec recommendation for keyboard pairing.
Generate a variable pin and show it to the user.

Change-Id: Id4aae7a16f25c67d6c6ead6fd936cb14087f3c7a
2011-01-06 14:18:42 -08:00
Chet Haase
5977baa1fa Reuse of native display list objects
Change-Id: Ia4553e23930ad20e56c11faa7809be788a1ad4bb
2011-01-06 12:50:30 -08:00
Vasu Nori
42edf0f8cf Merge "requery() should close cursorwindow insead of setting it to null." into honeycomb 2011-01-06 11:37:00 -08:00
Vasu Nori
8e6a513c97 Merge "set default mode of WAL to be off." into honeycomb 2011-01-06 11:36:53 -08:00
Cary Clark
b83a4b98de Merge "pass enter key to webkit more often" into honeycomb 2011-01-06 11:29:33 -08:00
Cary Clark
ddbda005ad pass enter key to webkit more often
If the cursor is active and on a node that doesn't want
key events, treat the enter key as a click.

Otherwise, pass key down and key up to webkit.

A companion change in external/webkit adds frames
as nodes that wants key events.

bug:3325093
Change-Id: I134d2999505925ee1e571841759cb295103b5a30
2011-01-06 13:42:11 -05:00
Vasu Nori
0e453d1115 requery() should close cursorwindow insead of setting it to null.
just in case GC takes a while to kick in.

Change-Id: I3a00b52afe1303be0c7d6bb561e5c07734e4dcb3
2011-01-06 09:52:51 -08:00
Steve Block
7a1121511d Remove some superfluous null-checks when constructing a CacheResult
Change-Id: I57f0283872b788f84fef1667f79c37f4d92a5868
2011-01-06 17:20:21 +00:00
Steve Block
67ba204aa2 Tidy up CacheManager comments and documentation
Change-Id: I3a7d3836a51ef3092652ade87f29bc84af69ee7d
2011-01-06 17:20:21 +00:00
Steve Block
e7fc1d26c5 Remove an unused non-public CacheManager method
Change-Id: Ia0bef0a66167ce948802701e1dd85e82b937dbdf
2011-01-06 17:19:58 +00:00
Vasu Nori
a22d88493e set default mode of WAL to be off.
apps will have to enable WAL explicitly.

Change-Id: Iba5c47a40f465e668ef0d538282230e99fe04ce6
2011-01-06 09:18:47 -08:00
Mike Lockwood
264f6cd0b9 Temporarily remove UsbManager support for USB host.
A new USB host API will be added in an upcoming commit

Change-Id: I5816c10c7acd236d31ab8ae255fc83c77121eea0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-06 11:48:19 -05:00
Mike Lockwood
27480cd494 Remove support for obsolete PTP content provider
This will be replaced by a new PTP host API in an upcoming commit.

Change-Id: Ib914194e332b5c090cb8e34ed35bd691bc9f85d1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-06 11:47:56 -05:00
Adam Powell
9456655f93 Fix a bug that could cause padded lists to draw dividers incorrectly
Change-Id: I6483848c55567f901ac8b1628991de3343bd3f3d
2011-01-05 23:25:33 -08:00
Adam Powell
1470f9c24e Merge "Fix bug 3326380 - ListView motion scrolling stops too early when list is padded" 2011-01-05 22:38:35 -08:00
Adam Powell
a13fc67b81 Fix bug 3326380 - ListView motion scrolling stops too early when list
is padded

Change-Id: Iaca31e030aefc87f115d5022c2a42aefd73b88ea
2011-01-05 22:37:33 -08:00
Dianne Hackborn
1122566613 Merge "Implement issue #3326435: Battery stats improvements" 2011-01-05 21:35:56 -08:00
Dianne Hackborn
c1b40e361c Implement issue #3326435: Battery stats improvements
Keep track of discharge while screen is on vs. off.

Checkin looks like:

5,0,u,dc,1,1,1,0

The last four numbers are, from left:

- Maximum battery drain over time period.
- Minimum battery drain over time period.
- Battery drain while screen was on.
- Battery drain while screen was off.

Change-Id: Ie4026a7cc8aabb2a6d47d03d2e278aa51c2d5ddf
2011-01-05 21:02:01 -08:00
Vasu Nori
6a904bc65e Revert "treat 'can't open database file error' as 'database corruption error'"
This reverts commit c7fe777d6348bd740d3f2554e9308176a0c462ed.

Change-Id: I9992d404394917537d5c22470efbd970605976ed
2011-01-05 18:38:15 -08:00
Jean-Michel Trivi
32cef98de8 Merge "Add support in TTS for volume and panning control of the synth output" 2011-01-05 17:36:46 -08:00
Michael Jurka
dab559a24f exposing isDirty() method on View
- needed in Launcher2 for implementation of caching views to bitmaps

Change-Id: I1dc1e8e4328106f88e1aa8e55ccb17b08fc9756b
2011-01-05 17:14:24 -08:00
Adam Powell
a39b987bb7 Fix Holo Spinners
Fix bug 3321329 - Spinner dropdown does not match widget width

Fix a bug in ListPopupWindow where setContentWidth was misbehaving

Add gravity setting to Spinner. This controls the positioning of the
selected item view within the widget. Holo default is left, legacy
default is center.

In dropdown mode, Spinners now WRAP_CONTENT width based on a limited
set of dropdown content. This means the dropdown can display a
reasonable amount of its content without clipping, while matching
width with the Spinner widget itself.

Change-Id: Ia17fd5f71526548408f4ad3b16bde536b0d3b207
2011-01-05 17:08:33 -08:00