16437 Commits

Author SHA1 Message Date
Leon Scroggins
93553d7fb3 Do not attempt to start action mode if there is no parent.
Bug:3514747
Change-Id: Id4c5c803bfb8bb2f5f81fa15599784e808e0d223
2011-03-08 11:43:40 -05:00
Vasu Nori
0f73fe1c84 Merge "bug:3513950 Rename "completedDownload" to "addCompletedDownload"" into honeycomb-mr1 2011-03-07 12:46:59 -08:00
Vasu Nori
3728130310 bug:3513950 Rename "completedDownload" to "addCompletedDownload"
Change-Id: I28b33a0268309d74fd2512b5bdb599f38ff3a96d
2011-03-07 11:51:14 -08:00
Jeff Brown
f0210c3621 Merge "Joystick tweaks. (DO NOT MERGE)" into honeycomb-mr1 2011-03-07 11:47:58 -08:00
Romain Guy
0aaa11ed5b Merge "Remove many unnecessary save/restore calls." into honeycomb-mr1 2011-03-07 11:24:02 -08:00
Winson Chung
d452dbc2b6 Merge "Fixing issue where AppWidget service was being hit regardless of caching in RemoteViewsAdapter. (3467340)" into honeycomb-mr1 2011-03-07 10:21:11 -08:00
Adam Powell
9ab91b843a Merge "Fix bug 3509417 - Serialize touch event handling in webview" into honeycomb-mr1 2011-03-07 10:20:23 -08:00
Kristian Monsen
9f5f7af6cc Deprecating webkit API's that might not be supported in the future do not merge
Change-Id: I7ed9498a24aceee529397bbe1ed96a15f834b4eb
2011-03-07 13:01:28 +00:00
Jeff Brown
8529745b27 Joystick tweaks. (DO NOT MERGE)
Ensure that the joystick can always reach -1.0, 0.0 and 1.0 positions
even when noise filtering is applied.  (Bug: 3514510)

Add support for a few more standard axes.

Add additional mapping modes for axes.
Some axes are inverted from standard interpretation
or are actually intended to be split into two distict axes
such as left/right trigger controls or accelerator/brake.

Add key layout file for a G25 racing wheel and XBox 360 controller
to tweak behavior.  They work fine without them but the axis mappings
are not ideal.

Change-Id: I0fddd90309af4dc14d35f34fe99ed6e521c0b7c7
2011-03-04 19:12:41 -08:00
Adam Powell
4fb35d4ddc Fix bug 3509417 - Serialize touch event handling in webview
Make sure WebView doesn't process touch events out of order.

Change-Id: Id046139af99d0d3f32cc481ca1d85d32ced67f75
2011-03-04 19:11:15 -08:00
Romain Guy
d6cf477e5d Remove many unnecessary save/restore calls.
This should help complex applications by reducing the amount of
unnecessary work performed by the renderer.

Change-Id: I9bdebb1a35cdbcc3d926b7485f19d9e88a019040
2011-03-04 17:10:54 -08:00
Winson Chung
7ab73e757a Fixing issue where AppWidget service was being hit regardless of caching in RemoteViewsAdapter. (3467340)
Change-Id: Icbcbf6ef94a861d88243bd2d6587995991b53c82
2011-03-04 15:58:02 -08:00
Jean-Michel Trivi
371fd13c31 Merge "Fix bug 3511256 invalid TTS parameter cache size" into honeycomb-mr1 2011-03-04 12:06:22 -08:00
Gilles Debunne
78e7684713 Merge "getTextRunCursor gets deprecated in SpannableStringBuilder" into honeycomb-mr1 2011-03-04 11:36:17 -08:00
Gilles Debunne
b0b225602c getTextRunCursor gets deprecated in SpannableStringBuilder
Change-Id: I2d408ebff90add7afc242bb01df9ab96c6fc7fa7
2011-03-04 11:19:40 -08:00
Chet Haase
b0be85f50d Merge "Fix problem with transparent background on Twitter app" into honeycomb-mr1 2011-03-04 10:35:40 -08:00
Leon Scroggins
91ac3dc06d Merge "Use the same width as the TextView created layout." into honeycomb-mr1 2011-03-04 09:32:14 -08:00
Chet Haase
7840055f76 Fix problem with transparent background on Twitter app
ListViews whose items don't cover their entire content area should not
return true for isOpaque()

Change-Id: I9165c0315a49bb5774bdcd4c1b89c1be0ebfcebf
2011-03-04 09:08:07 -08:00
Dianne Hackborn
48f91e35c5 Merge "Fix Fragment.onInflate() to actually work correctly." into honeycomb-mr1 2011-03-03 22:23:07 -08:00
Dianne Hackborn
e3a7f628c6 Fix Fragment.onInflate() to actually work correctly.
Like, um, it needs to be given the Activity since this is called before
the activity is attached.

And it was called after the entire fragment and its *view* was created
when being restored from saved state.

And the documentation was whacked.

Also fix the IME selector to dismiss when you tap outside of it.

Change-Id: Icbcafe7558965a570bdef9cda3441b1f0f7a317c
2011-03-03 22:17:16 -08:00
Svetoslav Ganov
1e158e9ce7 Merge "Propagating core settings to the system process." into honeycomb-mr1 2011-03-03 20:28:59 -08:00
Jean-Michel Trivi
708b47d1ec Fix bug 3511256 invalid TTS parameter cache size
The NB_CACHED_PARAMS is the number of cached parameters, not
 the size of the array for cached parameters.

Change-Id: I3d3053bbf247f3f89ae1ea07a931d33df7857a7c
2011-03-03 18:55:19 -08:00
Svetoslav Ganov
9aa597e68b Propagating core settings to the system process.
bug:3511123

Now the core settins are stored in the ActivityThread
instad in the AppBindData of the currently bound app.
Also the settings are pushed to the system process on
init.

Change-Id: I100bb7dc80d0d4548def22c328427bbef1694eb7
2011-03-03 18:20:43 -08:00
Michael Kolb
d7e80b9d50 Merge "fix NPE in getSearchBox" into honeycomb-mr1 2011-03-03 17:16:10 -08:00
Michael Kolb
b748186c70 fix NPE in getSearchBox
Bug: 3510741
    added null check

Change-Id: I256375b2168942f0b4b700912f2f2ae40ce90492
2011-03-03 17:09:27 -08:00
Wink Saville
389bf4f734 Merge "DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"" into honeycomb-mr1 2011-03-03 16:13:07 -08:00
Shimeng (Simon) Wang
6cc2bbe5cf Merge "Shorten the animation length to make it snappier." into honeycomb-mr1 2011-03-03 15:39:18 -08:00
Shimeng (Simon) Wang
47e57fd18f Shorten the animation length to make it snappier.
This is double tap zoom animation.

issue: 3509451
Change-Id: Ibc09eb95f3e1aa6874e8182f811829ce3da7179d
2011-03-03 15:29:27 -08:00
Leon Scroggins
e11ce83a96 Use the same width as the TextView created layout.
Bug:3509684

Change-Id: I5fd1e3e73a07a6049eb8336339a1100e2a5f7018
2011-03-03 17:41:54 -05:00
Svetoslav Ganov
11e515cbef NPE in in AppGlobals#getIntCoreSetting
bug:3508658

It ActivityThread#currentActivityThread() is called when
the ActivityThread is not attached it returns null and
AppGlobals#getIntCoreSetting was not checking for that.

Change-Id: I5e00d1947a161ad1e52ecfaa12cbbac3b534a0db
2011-03-03 12:55:59 -08:00
Wink Saville
eca208fae6 DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82.

Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
2011-03-03 09:53:52 -08:00
Bjorn Bringert
268c7111f6 Merge "Pass AppData to the app from SearchDialog queries." 2011-03-03 00:18:23 -08:00
Bjorn Bringert
4a85a7dc84 Merge "A Java implementation of the SearchBox API." 2011-03-03 00:11:25 -08:00
Bjorn Bringert
1dda71ae36 Merge "Fixed NPE in ActivityManager's launch count service." 2011-03-03 00:10:03 -08:00
Dianne Hackborn
63e1cea248 Merge "Fix issue #3485923: Gmail crash" 2011-03-02 22:44:55 -08:00
Dianne Hackborn
6482517101 Fix issue #3485923: Gmail crash
Allow application to try to recover if a surface OOM error
happens on the client side.

Change-Id: I0308bd99647a35e4bcac448340b7fc6330a828f6
2011-03-02 22:38:58 -08:00
Simon Wilson
d984ba1320 am df58a1bb: am 3d79f1ce: am edc68a00: Merge "Attempt to reduce problems from issue #3183612" into gingerbread
* commit 'df58a1bbf8d7f6608848eae4d5d48dcff137dc8c':
  Attempt to reduce problems from issue #3183612
2011-03-02 22:11:19 -08:00
Jeff Brown
570d2dfbbc Merge "Get key repeat timeout and delay from ViewConfiguration." 2011-03-02 21:43:40 -08:00
Jeff Brown
a454767b09 Get key repeat timeout and delay from ViewConfiguration.
Replaces previously hardcoded values.  This ensures that key repeat
takes the accessibility long press timeout setting into account.

Unfortunately the system must be rebooted for the change to take
effect.  We will fix that later.

Change-Id: I3ab70bb037331620b7e532170c1727287b5c6f91
2011-03-02 21:38:11 -08:00
Jim Miller
ffc4196c46 Fix 3502257: Fix glow calculation in EdgeGlow
Change-Id: I8e88c399c2b0dcba9f65d1bcf89fdddf432e4ed6
2011-03-02 20:50:58 -08:00
Jeff Brown
55acdf7dcd Merge "Wake screen from external HID peripherals." 2011-03-02 19:59:07 -08:00
Jeff Brown
56194ebec6 Wake screen from external HID peripherals.
Added some plumbing to enable the policy to intercept motion
events when the screen is off to handle wakeup if needed.

Added a basic concept of an external device to limit the scope
of the wakeup policy to external devices only.  The wakeup policy
for internal devices should be based on explicit rules such as
policy flags in key layout files.

Moved isTouchEvent to native.

Ensure the dispatcher sends the right event type to userActivity
for non-touch pointer events like HOVER_MOVE and SCROLL.

Bug: 3193114
Change-Id: I15dbd48a16810dfaf226ff7ad117d46908ca4f86
2011-03-02 19:57:07 -08:00
Gilles Debunne
616f3835a0 Removed documentation links
Broken build.

Should the Paint fields be made public or should the SpanStringBuilder
method be hidden ???

Change-Id: I8ecea19104357ea53ad53b23d02a707ec422161d
2011-03-02 19:50:20 -08:00
Svetoslav Ganov
2da0c5826d Merge "Add system wide management of core settings" 2011-03-02 19:17:06 -08:00
Amith Yamasani
940ef38c7c Pass AppData to the app from SearchDialog queries.
Bug: 3494468

During migration of SearchDialog to use SearchView, the appdata was not
passed along. This fixes the loss.

Change-Id: Ia754086d2bb95294e1d29650a72e4fdddec9c899
2011-03-02 18:43:23 -08:00
Chet Haase
9402a667e9 Merge "Cancel LayoutTransition animations selectively" 2011-03-02 18:39:11 -08:00
Chet Haase
e8e45d32fd Cancel LayoutTransition animations selectively
A recent change to LayoutTransition caused new layout transitions to
cancel any previously-running animations. This was to handle situations
where a transition adding an item needed transitions removing items to
finish their job first (and vice versa). But canceling *all* running
animations from transitions caused some artifacts, like making the status
bar icons blink or fade in, depending on which one was started last.

The new approach is to cancel just the ones we care about: adding animations
cancel removing animations, and vice versa. Either one cancels 'changing'
animations, which prevents objects from being animated to the old end
locations, since the new transition will animate them to the correct new
end locations.

Change-Id: I68ac351b05365cace6639b6618422395c35c83fd
2011-03-02 18:37:31 -08:00
Svetoslav Ganov
54d068ec6a Add system wide management of core settings
bug:3505060

Since we want to have some settings that are used very frequently
by many applications (long-press timeout is one example) these should
be managed efficiently to reduce lookups from different processes
because in the case of a cache miss a disk I/O is performed. Now
the system manages such core settings and propagates them to the
application processes.

Change-Id: Ie793211baf8770f2181ac8ba9d7c2609dfaa32a7
2011-03-02 18:22:49 -08:00
Romain Guy
acc3944dd1 Merge "Add an API to force Views to render their layer." 2011-03-02 18:18:06 -08:00
Romain Guy
f1ae10640f Add an API to force Views to render their layer.
Change-Id: Id5776f3b0880fdf75835f16560a1d03a3175d139
2011-03-02 18:16:04 -08:00