17022 Commits

Author SHA1 Message Date
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
Dianne Hackborn
4bc6bb85df am 97b0b7bb: am 3ea5728e: Tweak level at which we reset battery stats to 90%.
* commit '97b0b7bbd41bf3bc6095a513c329e1143300ec3a':
  Tweak level at which we reset battery stats to 90%.
2011-01-08 06:49:05 -08:00
Jamie Gennis
37c45fa415 am fd6f39e1: Enable camera preview to a SurfaceTexture.
* commit 'fd6f39e147dc077139a41b9c2a4039fbaa20224e':
  Enable camera preview to a SurfaceTexture.
2011-01-08 04:40:19 -08:00
Adam Powell
99dd7f1374 am b5e18555: Merge "Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor"" into honeycomb
* commit 'b5e18555d61a3a1ed0715230b8e0084daec9eba8':
  Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor"
2011-01-08 04:40:04 -08:00
Michael Chan
cb588ccdd6 Merge "b/3279789 Fixed NPE in CalendarUtils$TimeZoneUtils$AsyncTZHandler.onQueryComplete" 2011-01-07 18:13:48 -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
Adam Powell
b5e18555d6 Merge "Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor"" into honeycomb 2011-01-07 17:27:19 -08:00
Adam Powell
5e3f284baa Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor"
Add protection against views disappearing before previously posted
Runnables attempt to show a menu anchored to them.

Change-Id: Ia2a322e76665e61feb5bdb92377d5066cb6d5b04
2011-01-07 17:22:25 -08:00
Christopher Tate
627bf68e0e am c5483785: Merge "Rename drag "thumbnail" to the drag "shadow"" into honeycomb
* commit 'c548378562de67c0050f140fc6e7520444f7e8f2':
  Rename drag "thumbnail" to the drag "shadow"
2011-01-07 16:39:56 -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
9725710a0a am 539802e7: Merge "The switch widget didn\'t work properly until after onMeasure had run." into honeycomb
* commit '539802e782303d5918c0ab0d38f3b8a2e9830431':
  The switch widget didn't work properly until after onMeasure had run.
2011-01-07 16:13:04 -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
Kenny Root
1683afac14 Fix check for required features
The required features check was in an null check for usesLibraries, so
it wasn't checking for required features when an application did not use
a library.

Bug: 3331713
Change-Id: I96d366ba00d4962b84f3796be97e2b622eb331a5
2011-01-07 15:43:05 -08:00
Romain Guy
3065ab085d am 2c602e6a: Merge "Non-opaque views with fading edges cannot be marked dirty opaque. Bug #3325084" into honeycomb
* commit '2c602e6a66469c9fcd8bc4d7d64aa24134dad8d9':
  Non-opaque views with fading edges cannot be marked dirty opaque. Bug #3325084
2011-01-07 14:52:40 -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
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
Eric Rowe
656c884376 Merge "Cleaned up BT test utils" 2011-01-07 14:38:40 -08:00
Dianne Hackborn
fbf80215c5 am 8244562c: Merge "WM part of #3293405: Screen needs to be redrawn when HDMI is plugged in" into honeycomb
* commit '8244562c79a735cf3307878f13bc24ca3db23405':
  WM part of #3293405: Screen needs to be redrawn when HDMI is plugged in
2011-01-07 14:14:18 -08:00
Adam Powell
e3a19d3f6e am 2b26266a: Merge "Fix bug 3158976 - Search box is too small" into honeycomb
* commit '2b26266afd98c08060f25125c8d3d4cb06f49a95':
  Fix bug 3158976 - Search box is too small
2011-01-07 14:14:14 -08:00
Svetoslav Ganov
e0c1d73485 am c93fb656: bug:3325039 Making the cursor ring movement send accessibility events.
* commit 'c93fb656dc9393f194c623dc897c5352d9192544':
  bug:3325039 Making the cursor ring movement send accessibility events.
2011-01-07 14:14:11 -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
Adam Powell
2b26266afd Merge "Fix bug 3158976 - Search box is too small" into honeycomb 2011-01-07 14:07:39 -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
Adam Powell
a6c127670f Fix bug 3158976 - Search box is too small
Set default minimum widths for SearchView text fields.

Fix an issue with the ActionButton style.

Change-Id: I2315df334479ba66fed16e2ca59c4a49e2437442
2011-01-07 14:04:40 -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
Jim Miller
69277333d2 Merge "Fix 3330653: Update lockscreen layouts to match latest mocks" 2011-01-07 13:38:36 -08:00
Romain Guy
0ddd45e245 am 2b55d903: Merge "Don\'t match wrap_content/match_parent children with child count = 1. Bug #3328711" into honeycomb
* commit '2b55d9030e9ac018659abbcc01ff7e2006b7b43f':
  Don't match wrap_content/match_parent children with child count = 1. Bug #3328711
2011-01-07 13:28:33 -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
7ba37ecdf4 am 23586239: Merge "Do not update matches string when there are no matches." into honeycomb
* commit '2358623917067ad57a14ffe66e445ab779d6c5b7':
  Do not update matches string when there are no matches.
2011-01-07 13:22:17 -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
fa6f5c6511 am c0dc4062: Merge "Added support for Unicode surrogate characters in word selection" into honeycomb
* commit 'c0dc40628e684398fd258069bcd31eac1e967180':
  Added support for Unicode surrogate characters in word selection
2011-01-07 13:15:28 -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
Eric Fischer
d471a2cf36 am 691bc9fe: Merge "Import some unabbreviated translations for large screens." into honeycomb
* commit '691bc9fec08e389b766b56308ebede44a88a5ebb':
  Import some unabbreviated translations for large screens.
2011-01-07 13:08:41 -08:00
Eric Fischer
691bc9fec0 Merge "Import some unabbreviated translations for large screens." into honeycomb 2011-01-07 13:00:17 -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
6cacc84c08 am af5473ee: 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
* commit 'af5473eeddbf2149427df0bd8b49f6b2182c629e':
  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
2011-01-07 12:47:23 -08:00
Gilles Debunne
7e0bb6d9aa am c43d13f4: Merge "Removed XmlAdapters from frameworks." into honeycomb
* commit 'c43d13f495f59bbef6ba439afc4da035a7520647':
  Removed XmlAdapters from frameworks.
2011-01-07 12:45:22 -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
Vasu Nori
d7bd3f0bf7 am df22d839: Merge "in requery(), when exception is caught, print warning + stacktrace" into honeycomb
* commit 'df22d839aa1268a8137cadb4f036fd88946aa112':
  in requery(), when exception is caught, print warning + stacktrace
2011-01-07 12:43:22 -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
Robert Greenwalt
ec2e01842e Merge "Propagate new link-status-change message to any NetworkManagementService observers. Also fix the syntax of the "interface-status-change" message. Add a null handler in the ThrottleService and Tethering classes (plus fix names)." 2011-01-07 12:14:25 -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
Jason parks
609dca2cc5 Merge "Add a method enable encryption." 2011-01-07 11:47:11 -08:00
Stan Chesnutt
780dfa42aa Propagate new link-status-change message to any NetworkManagementService
observers.  Also fix the syntax of the "interface-status-change" message.  Add
a null handler in the ThrottleService and Tethering classes (plus fix names).

Change-Id: I58cabc7b0ce5662243bc6513b2de4818065e6c52
2011-01-07 11:40:33 -08:00
Adam Powell
dbba746628 am 26c0c772: Merge "Fix bug 3330223 - onCreateOptionsMenu() unable to getActionView() immediately after orientation change" into honeycomb
* commit '26c0c772204f0962ae7a1d888a5aeadd13350008':
  Fix bug 3330223 - onCreateOptionsMenu() unable to getActionView() immediately after orientation change
2011-01-07 11:38:45 -08:00