Commit Graph

19519 Commits

Author SHA1 Message Date
Matthew Xie
035d25170d am cf6bc99b: Merge "Turn off debug messge"
* commit 'cf6bc99b97d398c13bbf7a2d8656670f197d8220':
  Turn off debug messge
2011-10-07 13:28:27 -07:00
Matthew Xie
cf6bc99b97 Merge "Turn off debug messge" 2011-10-07 12:57:08 -07:00
Adam Powell
3c1d81a1ec am e0f2515b: Merge "Fix bug 5399568 - ListView check states inconsistent after data set change"
* commit 'e0f2515b444ceae20571cbe29e44237d259f54bd':
  Fix bug 5399568 - ListView check states inconsistent after data set change
2011-10-07 11:18:52 -07:00
Adam Powell
e0f2515b44 Merge "Fix bug 5399568 - ListView check states inconsistent after data set change" 2011-10-07 11:16:51 -07:00
Matthew Xie
f0f95112ff Turn off debug messge
Bug 5425619

Change-Id: I7accb88a40604c5b8a8f2323e751a7f8f3cb9da8
2011-10-07 11:15:03 -07:00
Steve Block
3c4b14329f am d8b505d5: Merge "Add WebViewClient.onProceededAfterSslError()"
* commit 'd8b505d50f39a2a8a80eb19578579d1b30762fd2':
  Add WebViewClient.onProceededAfterSslError()
2011-10-07 09:55:25 -07:00
Steve Block
fe33a75cc8 Add WebViewClient.onProceededAfterSslError()
This is used to notify the host application that an SSL error occurred while
loading a resource, but the WebView but chose to proceed anyway based on a
decision retained from a previous response to onReceivedSslError().

Bug: 5403366
Change-Id: I51a25b93d7824b7eb7b6d5a961cba948e37c85db
2011-10-07 15:14:23 +01:00
Wu-cheng Li
2574798cf1 am 3c02c12c: Merge "Allow Camera.setDisplayOrientation to be called when preview is active."
* commit '3c02c12c73fa8719e49a5da6534750196efe3eba':
  Allow Camera.setDisplayOrientation to be called when preview is active.
2011-10-07 05:46:42 -07:00
Wu-cheng Li
3c02c12c73 Merge "Allow Camera.setDisplayOrientation to be called when preview is active." 2011-10-07 03:08:23 -07:00
Wu-cheng Li
d303362ac2 Allow Camera.setDisplayOrientation to be called when preview is active.
bug:5422679

Change-Id: I4c936ab00428fc158b5947fe8f10b1028869bbdb
2011-10-07 18:01:09 +08:00
Adam Powell
14c080497e Fix bug 5399568 - ListView check states inconsistent after data set change
ListView tracks check states in two ways, by position and by ID if an
adapter reports stable IDs. After a data set change there was no
guarantee that the position checked mapping was consistent.

Fix up the position mapping from the ID mapping after a data set
change. In the future this should happen by asking the adapter where a
given ID is now located, but this will require new API and not all
adapters in the wild will implement it. For now make a best guess by
searching in a limited window around the item's last known position.

Change-Id: I70ba89eb103c438b0410c3c6d066acc3918459f9
2011-10-06 19:55:42 -07:00
Scott Main
f0efa5da7b am 5e3cdc76: Merge "docs: deprecate thingy"
* commit '5e3cdc765536ded778f3be81dc923c3af3c680a1':
  docs: deprecate thingy
2011-10-06 18:43:38 -07:00
Scott Main
5e3cdc7655 Merge "docs: deprecate thingy" 2011-10-06 18:41:48 -07:00
Scott Main
4cc5333539 docs: deprecate thingy
Change-Id: I579824680f3b5110d56981becaaf81f917989e7e
2011-10-06 18:32:43 -07:00
Nicolas Roard
b7fab071f8 am 98a5fcd8: Merge "Trigger a full screen repaint when touching layers, as webkitDraw() may not generate the correct invalidations."
* commit '98a5fcd895cce64a879982acd17c9ca52e6177ee':
  Trigger a full screen repaint when touching layers, as webkitDraw() may not generate the correct invalidations.
2011-10-06 18:31:35 -07:00
Nicolas Roard
98a5fcd895 Merge "Trigger a full screen repaint when touching layers, as webkitDraw() may not generate the correct invalidations." 2011-10-06 18:29:20 -07:00
Nicolas Roard
dee7b1ba96 Trigger a full screen repaint when touching layers, as webkitDraw()
may not generate the correct invalidations.

counterpart java CL: https://android-git.corp.google.com/g/#/c/140427/

bug:5425608 bug:5218173
Change-Id: I4a958a6fac4054a1040cb077cdfa2aff076e3fad
2011-10-06 17:12:40 -07:00
Jeff Brown
bccfeacfb6 am f0a9181d: Merge "Clean up CursorWindow code. Bug: 5332296"
* commit 'f0a9181d0904cc50acf852a64be0c7279e098783':
  Clean up CursorWindow code. Bug: 5332296
2011-10-06 16:31:07 -07:00
Jeff Brown
f0a9181d09 Merge "Clean up CursorWindow code. Bug: 5332296" 2011-10-06 16:28:15 -07:00
Dianne Hackborn
3c32c7a92e am 85b9edf2: Merge "Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately"
* commit '85b9edf2da0534bc53d139bb88cda8866d265afe':
  Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately
2011-10-06 15:21:12 -07:00
Svetoslav Ganov
57aad4ea7a am 7853c579: Merge "Fixing errors in position information of scrollable views reported for accessibility."
* commit '7853c579fa52e4365c6e44ba38aeb3299d776f44':
  Fixing errors in position information of scrollable views reported for accessibility.
2011-10-06 15:18:43 -07:00
Chet Haase
9781abcbf7 am e9121bc1: Merge "Fix issue #5367164: memory leak in LayoutTransition"
* commit 'e9121bc10ae83f45bf4fa4721e4384e6cf0701a6':
  Fix issue #5367164: memory leak in LayoutTransition
2011-10-06 15:18:40 -07:00
Jake Hamby
751a7f7653 am bece9cb7: Merge "Enable support for multiple SMSDispatchers in CDMALTEPhone."
* commit 'bece9cb7944daa012ca95fc7f6c73f6fad035892':
  Enable support for multiple SMSDispatchers in CDMALTEPhone.
2011-10-06 15:18:32 -07:00
Christopher Tate
25191b17fa am 2461fef4: Merge "Disable db_sample logging"
* commit '2461fef4c07defa5ffc31ef1063d21f94e421700':
  Disable db_sample logging
2011-10-06 15:18:11 -07:00
Chet Haase
779c26f501 am f2bf2bec: Merge "Fix issue #5384631: hw windows not resizing correctly"
* commit 'f2bf2bec47609b0dbcd454c2fc32d420d642004f':
  Fix issue #5384631: hw windows not resizing correctly
2011-10-06 15:17:58 -07:00
Jeff Sharkey
b35f1c7ea6 am ad9c5718: am a50d0f89: Merge "Hide quota APIs until finalized." into ics-factoryrom
* commit 'ad9c5718daa556fb6907c3f600ea505c1ec3aca0':
  Hide quota APIs until finalized.
2011-10-06 15:17:46 -07:00
Dianne Hackborn
85b9edf2da Merge "Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately" 2011-10-06 15:15:32 -07:00
Svetoslav Ganov
7853c579fa Merge "Fixing errors in position information of scrollable views reported for accessibility." 2011-10-06 15:13:06 -07:00
Dianne Hackborn
9a230e01a1 Fix issue #5371530: SYSTEMUI_FLAG_HIDE_NAVIGATION reasserts itself immediately
This cleans up how ui flags are managed between the client and window manager.
It still reports the global UI mode state to the callback, but we now only clear
certain flags when the system goes out of a state (currently this just means the
hide nav bar mode), and don't corrupt other flags in the application when the
global state changes.

Also introduces a sequence number between the app and window manager, to avoid
using bad old data coming from the app during these transitions.

Change-Id: I40bbd12d9b7b69fc0ff1c7dc0cb58a933d4dfb23
2011-10-06 14:57:37 -07:00
Svetoslav Ganov
d9ee72fddb Fixing errors in position information of scrollable views reported for accessibility.
1. ScrollView/HorizontalScroll view were reporting only the scroll X and Y but
   failed to convey the max scroll along X and Y so the position can be determined.

2. WebView was not reporting correctly its scroll position for accessibility.

3. Some descendants of AdapterView were reporting incorrect position information.

4. Updated the accessibility docs with some details about the scroll information.

5. Cleaned up duplicated code.

bug:5412132
bug:5412265

Change-Id: I165e73ecde027dad811425b9f395a3f758c923ba
2011-10-06 14:42:58 -07:00
Jeff Brown
3bc6bbc92c Clean up CursorWindow code.
Bug: 5332296

The code is functionally equivalent, but a little more efficient
and much easier to maintain.

Change-Id: I90670a13799df05831843a5137ab234929281b7c
2011-10-06 14:40:13 -07:00
Chet Haase
e9121bc10a Merge "Fix issue #5367164: memory leak in LayoutTransition" 2011-10-06 14:35:53 -07:00
Jake Hamby
bece9cb794 Merge "Enable support for multiple SMSDispatchers in CDMALTEPhone." 2011-10-06 14:05:58 -07:00
Christopher Tate
2461fef4c0 Merge "Disable db_sample logging" 2011-10-06 13:09:58 -07:00
Chet Haase
1a76dcd6d1 Fix issue #5367164: memory leak in LayoutTransition
When a transition occurs, layout change listeners are added to the container
being transitioned as well as every container up the view hierarchy. The
parent views were not having those listeners removed, so every time a transition
ran, more listeners would be added. Adding to that, the use of an ArrayList
as the collection to hold the listeners meant that adding duplicate items
would just increase the size of the list. There's now a sanity-check on the add
call to make sure that the listener does not exist already, but more importantly
we remove all listeners added when the transition ends.

Change-Id: I4ea05adf30765db091124065539b0ffd32729b3b
2011-10-06 12:42:18 -07:00
Chet Haase
f2bf2bec47 Merge "Fix issue #5384631: hw windows not resizing correctly" 2011-10-06 12:14:26 -07:00
Chet Haase
40e0383dce Fix issue #5384631: hw windows not resizing correctly
When the SystemUi becomes visible, the activity window resizes.
The hardware renderer was not begin resized to suit, so it was drawing
to a surface larger than that of the activity window, and some of the
rendering (like the action bar) appeared off the screen.

The fix is to keep track of the surface size in HardwareRenderer and to
recreate the surface when the size changes.

This change also removes the BUFFER_CHANGE flag from WindowManager.LayoutParams.
The only reason the flag existed was to trigger a hardware surface recreation,
but checking the old/new size is a more direct way of handling this.

Change-Id: I9d6bf6385794886d1d93c60609c170864cdcdfab
2011-10-06 11:59:10 -07:00
Jeff Sharkey
ad9c5718da am a50d0f89: Merge "Hide quota APIs until finalized." into ics-factoryrom
* commit 'a50d0f8985d811a6a2f49aa65e31892048e96ccf':
  Hide quota APIs until finalized.
2011-10-06 11:22:40 -07:00
Jeff Sharkey
44a3e0d497 Hide quota APIs until finalized.
Bug: 5383656
Change-Id: Ia2a978a6ff2ee642b0ea4d7d6b8857b7efffd612
2011-10-06 10:50:09 -07:00
Steve Block
73a4ea021b am 16721242: Merge "Improve a warning message in WebViewCore\'s EventHub"
* commit '16721242556a5e41b81ae07bdd212bff066d50ee':
  Improve a warning message in WebViewCore's EventHub
2011-10-06 10:37:51 -07:00
Steve Block
1672124255 Merge "Improve a warning message in WebViewCore's EventHub" 2011-10-06 10:35:33 -07:00
Ben Murdoch
114d0762b0 am 92315491: Merge "Pass correct units for text size in autocomplete drop down."
* commit '923154914d7afa5b434d10daa3da10353109754c':
  Pass correct units for text size in autocomplete drop down.
2011-10-06 10:27:23 -07:00
John Reck
12f4780e6e am 68b9074a: Merge "Prevent adapter flickering"
* commit '68b9074a60a8b20235c1887c09eb7073d48c9902':
  Prevent adapter flickering
2011-10-06 10:25:15 -07:00
Ben Murdoch
923154914d Merge "Pass correct units for text size in autocomplete drop down." 2011-10-06 10:23:20 -07:00
John Reck
68b9074a60 Merge "Prevent adapter flickering" 2011-10-06 10:22:03 -07:00
Steve Block
37a7485333 am 3475ebfa: Merge "Fix SslError.getPrimaryError() to return -1 if the set of errors is empty"
* commit '3475ebfab28fbecc22841c692dbd0cbdba48417d':
  Fix SslError.getPrimaryError() to return -1 if the set of errors is empty
2011-10-06 08:50:43 -07:00
Steve Block
3475ebfab2 Merge "Fix SslError.getPrimaryError() to return -1 if the set of errors is empty" 2011-10-06 08:48:52 -07:00
Steve Block
7b65a3eb29 Improve a warning message in WebViewCore's EventHub
These warnings appear occasionally and this will help track them down.

Also removes an unused method.

Bug: 5421676
Change-Id: I5ba3f146449623e3457aafc91fd2e7edc367a9d9
2011-10-06 14:54:31 +01:00
Luca Zanolin
2b99e1b088 am 535698c5: Remove the mic from the keyboard in SearchView
* commit '535698c57dbbd0d0eef79223293526748a07dfec':
  Remove the mic from the keyboard in SearchView
2011-10-06 05:42:59 -07:00
Luca Zanolin
535698c57d Remove the mic from the keyboard in SearchView
Bug: 5357750
Change-Id: I20c87a25e95222772c6b5154d09dd681b966fd9a
2011-10-06 13:36:15 +01:00