12762 Commits

Author SHA1 Message Date
Adam Powell
2ebac69419 Fix bug 3334437 - require an adapter to measure dropdown content width
Change-Id: I357a2db66db121816091921e47708140958ad507
2011-01-08 13:58:29 -08:00
Adam Powell
947f782411 Fix bug 3245465 - Themed dialog icons
Added light/dark versions of holo dialog icons. Apps using
AlertDialogs that wish to use the system dialog icon should use
setIconAttribute(android.R.attr.alertDialogIcon) instead of
setIcon(android.R.drawable.ic_alert_dialog).

Change-Id: I40793a3164478be5ffa045ededfcab8210753a4b
2011-01-08 13:09:51 -08:00
Jamie Gennis
fd6f39e147 Enable camera preview to a SurfaceTexture.
This change adds a public Java API to use a SurfaceTexture as the
destination of camera preview frames.

Change-Id: If537fed2df12c5c181e2af5f817985c1bda853fb
2011-01-07 17:40:24 -08:00
Christopher Tate
36d4c3f02b Rename drag "thumbnail" to the drag "shadow"
No functional changes; just a rename of the relevant class/method/parameters.

Change-Id: I55d9ef7c2c17892b0bc99f5da622c281e006b53e
2011-01-07 16:30:44 -08:00
Joe Onorato
539802e782 Merge "The switch widget didn't work properly until after onMeasure had run." into honeycomb 2011-01-07 16:01:34 -08:00
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
Romain Guy
2c602e6a66 Merge "Non-opaque views with fading edges cannot be marked dirty opaque. Bug #3325084" into honeycomb 2011-01-07 14:48:35 -08:00
Romain Guy
7e68efb0a0 Non-opaque views with fading edges cannot be marked dirty opaque.
Bug #3325084

Change-Id: I80b7653daa2ae3cc6d81da1063911aa4cb69e8f4
2011-01-07 14:50:27 -08:00
Dianne Hackborn
8244562c79 Merge "WM part of #3293405: Screen needs to be redrawn when HDMI is plugged in" into honeycomb 2011-01-07 14:10:05 -08:00
Dianne Hackborn
ad7fa7fa77 WM part of #3293405: Screen needs to be redrawn when HDMI is plugged in
Change-Id: If5ceb28073c6abf14165871bd99cb481b31a863b
2011-01-07 14:07:20 -08:00
Svetoslav Ganov
c93fb656dc bug:3325039 Making the cursor ring movement send accessibility events.
1. Added a mechanism to select the cursor ring content if accessibility is
   enabled - This is achieved by sending an event to the WebCore thread
   (if accessibility is enabled) to select the content of the cursor when
   the latter moves. Added code in WebViewCore to select the given node
   and notify the UI thread for the selection markup which is delivered
   of the accessibility injector which manages sending accessibility
   events. This is relevant for adding accessibility to WebView if
   JavaScript is not enabled. (If JS is enabled we inject a screenreader
   written in JS).

2. Fixed the event delegation to the accessibility injector since it
   should be able to consume key events of interest and perform some
   action which leads to sending appropriate accessibility event.
   In the previous implementation it was possible that the injector
   consumes the event but the latter was bubbled up.

3. Added function to scroll the selection into view while moving it
   around based on user commands.

Note: This is a part of two project commmit.

Change-Id: Ibb81d0468726efbe3bf6e3add1b19c69e3206638
2011-01-07 14:04:22 -08:00
Romain Guy
a174d7a0d5 Don't match wrap_content/match_parent children with child count = 1.
Bug #3328711

Change-Id: Ic131f2feecbeec4a7250d47193c9794aa70d22ee
2011-01-07 13:27:39 -08:00
Romain Guy
2b55d9030e Merge "Don't match wrap_content/match_parent children with child count = 1. Bug #3328711" into honeycomb 2011-01-07 13:24:50 -08:00
Leon Scroggins
2358623917 Merge "Do not update matches string when there are no matches." into honeycomb 2011-01-07 13:17:19 -08:00
Gilles Debunne
c0dc40628e Merge "Added support for Unicode surrogate characters in word selection" into honeycomb 2011-01-07 13:11:16 -08:00
Leon Scroggins
73254be0dd Do not update matches string when there are no matches.
Bug:2927451
Change-Id: I6374ffcc9d0710d69206d2f1f31a908b010a75bf
2011-01-07 15:51:43 -05: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
Gilles Debunne
79ff914f21 Added support for Unicode surrogate characters in word selection
Inspired by https://review.source.android.com/#change,16606

Change-Id: I896354f5aba83c1919c008f07b6d0b2abf0b8e01
2011-01-07 11:59:26 -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
Romain Guy
3c38e0a2a6 Merge "Fix typo bug in FrameLayout's measurement code. Bug #3327185" into honeycomb 2011-01-07 11:00: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
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