17636 Commits

Author SHA1 Message Date
Jeff Brown
2cb866b948 Merge "Never drag scroll views with no children." into honeycomb 2011-01-19 17:03:08 -08:00
Romain Guy
eefc82483a Merge "Fix toasts." into honeycomb 2011-01-19 16:51:44 -08:00
Romain Guy
cf3dd6bc69 Fix toasts.
Change-Id: I11916c55e8092169d2ab28c100bc7a152d60d432
2011-01-19 16:54:13 -08:00
Christopher Tate
28f0a53a88 Merge "Fail more gracefully when window state changes during drags" into honeycomb 2011-01-19 16:41:14 -08:00
Amith Yamasani
1c0012e103 Merge "Ensure that the column is valid before querying." into honeycomb 2011-01-19 16:40:14 -08:00
Dianne Hackborn
b26a651b47 Merge "Hook up large heap API." into honeycomb 2011-01-19 16:28:31 -08:00
Christopher Tate
f01af7551b Fail more gracefully when window state changes during drags
In particular, if a new window was created out from under the drag,
the drag-move event dispatch logic would wind up blithly assuming
that it would find a valid touch-dispatchable window under the
finger.  When this was untrue, it would NPE, but the NPE was caught
and discarded safely by higher-level guard code.

With this change, we now avoid the NPE entirely and report the
spurious condition as part of the debugging log stream.

(Also add the local-state object to DragEvent.toString()'s output.)

Change-Id: Idfa5f45d049e48415ee59c8b0ffb5b0ed4098ce3
2011-01-19 16:25:22 -08:00
Amith Yamasani
de6e2ca7fb Ensure that the column is valid before querying.
Bug: 3303147
Change-Id: Ieec93317c5a2e924d3ee3108b61577b636943160
2011-01-19 16:19:35 -08:00
Dianne Hackborn
de39851592 Hook up large heap API.
Change-Id: I215644f8de326fe3d4fa582447885b0aa01f72d3
2011-01-19 16:13:18 -08:00
Joe Onorato
4defed4291 Merge changes I3814b491,Ic3a7f4c0 into honeycomb
* changes:
  Pass SkRegion::toString() through to java.
  Remove optimization to isInContentArea that wasn't working.
2011-01-19 16:11:04 -08:00
Mike Lockwood
62097ad654 Merge "@hide MediaStore.ACTION_MTP_SESSION_END" into honeycomb 2011-01-19 16:09:49 -08:00
Gilles Debunne
0c44d1dbb1 Merge "Race condition patched in Email autocompletion." into honeycomb 2011-01-19 16:08:20 -08:00
Mike Lockwood
e222872a77 @hide MediaStore.ACTION_MTP_SESSION_END
BUG: 3370230

Change-Id: Idc05512930ceab8f91e3ddf0969a3b17deab2f62
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-19 16:07:25 -08:00
Joe Onorato
120856c50a Pass SkRegion::toString() through to java.
Change-Id: I3814b491c689313c1f8da811a104d913175f6268
2011-01-19 15:29:31 -08:00
Joe Onorato
cb109a0eea Add docs for Notification.Builder.
Bug: 3362451
Change-Id: I8f16a7f266812190dc8d06751f5ca914e2050111
2011-01-19 15:29:30 -08:00
Jaikumar Ganesh
7457b36b92 Merge "Make connection / disconnect failure more robust." into honeycomb 2011-01-19 15:13:37 -08:00
Gilles Debunne
be2c4f92a9 Race condition patched in Email autocompletion.
Bug 3347962

Root cause of this problem: if the adapter's content gets updated by a backgroung
thread, the PopupDataSetObserver will call showDropDown which will popup the
list.

Added a flag to make this call show the popup iif it is already visible.
This relayout is needed to clear the mDataChanged flag set when the content was
modified and which otherwise prevents touch events on the result list.

ArrayAdapter didn't use its lock to protect access to mObject.

-------------------------------------------------

However, the study of the this race conditions revealed an other bug:

Updated adapter's content is not displayed in filtered AutoCompleteTextView
Bug 3369097

Change-Id: Icd90d452f98231866f4d8a1f6994c1492febecb9
2011-01-19 15:10:09 -08:00
Brad Fitzpatrick
9240f16d77 Merge "StrictMode: class instance limits (track object "leaks")" into honeycomb 2011-01-19 14:53:24 -08:00
Brad Fitzpatrick
bfbe577110 StrictMode: class instance limits (track object "leaks")
Change-Id: I2db5a19060c2013078feb88a91caf655469b2f98
2011-01-19 14:52:08 -08:00
Carl Shapiro
b098f73556 Merge "Add a property for specifying a dalvik heap growth limit." into honeycomb 2011-01-19 14:40:24 -08:00
Romain Guy
514fb18827 Don't attempt to create empty layers.
Bug #3369888

Change-Id: Ic17bbd1c04bbf760cb17d0eb9e6767fd6479948c
2011-01-19 14:38:29 -08:00
Romain Guy
8f36bedcf3 Merge "Don't attempt to create empty layers. Bug #3369888" into honeycomb 2011-01-19 14:36:22 -08:00
Jaikumar Ganesh
fbe807d064 Make connection / disconnect failure more robust.
Add error codes so that the states can be tracked better.

Change-Id: Ic07a5d34589134b68dedeb4803ccb523aa01b567
2011-01-19 14:06:29 -08:00
Shimeng (Simon) Wang
b501f77f1f Merge "Use rounded interger to represent the last touch point." into honeycomb 2011-01-19 13:58:57 -08:00
Christopher Tate
5383d077ed Merge "Fix a couple of drag & drop crashes" into honeycomb 2011-01-19 13:51:58 -08:00
Romain Guy
9335f5b2fd Merge "Make embedded hardware layers work. Bug #3369474" into honeycomb 2011-01-19 13:40:43 -08:00
Romain Guy
42f3a4b7c3 Make embedded hardware layers work.
Bug #3369474

Change-Id: Ib6d7fb44eedda9dc2933b5e1b176f307968af91d
2011-01-19 13:42:26 -08:00
Shimeng (Simon) Wang
1e07da3651 Use rounded interger to represent the last touch point.
This prevents loss of delta calculation accurracy when dragging, which
was done in float and converted to integer.

issue: 3366067
Change-Id: Ia121a6ef4619c9abfb1f76a01db3272d41d02b81
2011-01-19 13:19:56 -08:00
Derek Sollenberger
aa2275e31d Fix complex character support for plugins.
bug: 3369527
Change-Id: I48c3442d7de54589f9f9578f6375b7ad291677db
2011-01-19 16:18:04 -05:00
Christopher Tate
1fc014fd00 Fix a couple of drag & drop crashes
1. ViewGroups being removed from the layout during a drag would wind up
crashing the app with an NPE at drag-ended time, due to blind dereference
of now-cleared object pointers.

2. Passing a 'null' ClipData to startDrag() would crash the system
process with an NPE.  Should this even be valid?  I'm inclined to say
yes, though it means that apps will need to guard against it.

Fixes bug 3369542

Change-Id: I168fc1284d6fd4403999946609725414cf254df0
2011-01-19 13:02:24 -08:00
Svetoslav Ganov
4243dc394d Updated the Time/Date pickers to be backwards compatible
bug:3349400

Change-Id: I2a3dda82caf7de0ed203306c89ee774b94b7d82e
2011-01-19 12:35:17 -08:00
Carl Shapiro
8cdf27c36a Add a property for specifying a dalvik heap growth limit.
Change-Id: I7334fb720277888df836414834ecf1e8d6b4b579
2011-01-19 12:33:12 -08:00
Eric Laurent
10f4ffe961 Merge "Issue 3315999: catch ToneGenerator exceptions." into honeycomb 2011-01-19 12:18:10 -08:00
Eric Laurent
733a42b24b Issue 3315999: catch ToneGenerator exceptions.
When the AudioFlinger runs out of available AudioTracks (max 32),
the ToneGenerator constructor throws a RuntimeException. Although this
denotes an abnormal situation, VolumePanel should catch this exception.

Change-Id: Ida1312fe4857e99a0ef38b4013cb03e819405689
2011-01-19 12:16:19 -08:00
Costin Manolache
f5ffe89e73 Token cache was not reset on password change
Bug: 3365443
Change-Id: I3e85c56810c0d71ddc82d3c6a1dcbba640444564
2011-01-19 12:00:32 -08:00
Adam Cohen
c446ae83e0 Merge "Removing deprecated widget api method." into honeycomb 2011-01-19 11:47:56 -08:00
Winson Chung
0fd9be2118 Removing deprecated widget api method.
Change-Id: I0610dcb5cf1001b2b7e86d78a88addf174cedd77
2011-01-19 11:44:25 -08:00
Romain Guy
c7816cd6a1 Merge "Don't let toasts "leak" Context instances." into honeycomb 2011-01-19 11:33:43 -08:00
Dianne Hackborn
7666ebd9f2 Merge "Bee seeing you..." into honeycomb 2011-01-19 11:16:38 -08:00
Romain Guy
c4d09f2b69 Don't let toasts "leak" Context instances.
Change-Id: I05a936579e60360cdb3453ad5cbcead8ca03191a
2011-01-19 10:55:19 -08:00
Mike Lockwood
54973710d7 Merge "Environment.isExternalStorageRemovable() is false if external storage is emulated" into honeycomb 2011-01-19 10:40:56 -08:00
Mike Lockwood
70ee3ca616 Environment.isExternalStorageRemovable() is false if external storage is emulated
Change-Id: Ib1afe83e4295d8304b65e822edd0dfa1591a5be7
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-19 10:19:12 -08:00
Leon Scroggins
3be1ffab08 Only scroll on screen when necessary.
Bug:3367446

bringPointIntoView was called by TextView in onPreDraw. This was
passing a message to the webcore thread to change the scroll
position.  This is unnecessary, because typically the scroll
position will be changed by webkit when keys are pressed. The
one situation where this helped was when the user taps on a
textfield, which brings up the IME, which may cover it. A better
solution is to tell webkit to scroll it on screen once the
screen size changes.  I have a CL in external/webkit to do that:
https://android-git.corp.google.com/g/#change,91095

Change-Id: I6e06ad59e1a1c99365bb5be635a43d1b88658c0d
2011-01-19 13:18:59 -05:00
Jean-Michel Trivi
928e48f2ba Merge "Fix bug 2084122: enable application control over text synth volume" into honeycomb 2011-01-19 09:13:04 -08:00
Kristian Monsen
c40fc87147 Need to sync the cache settings to native side
Fix for cts tests

Change-Id: I554f1240c16b2c2e68810e54d0ff99d13288a6a8
2011-01-19 15:44:04 +00:00
Ben Murdoch
6e710b4feb Merge "Maintain the seek position in HTML5 video" into honeycomb 2011-01-19 07:34:49 -08:00
Leon Scroggins
407772390f Make WebView inactive when title bar takes focus.
Bug:3296938
Change-Id: I656e8582044acf3b0e9b417f41337833fe72c181
2011-01-19 09:41:06 -05:00
Ben Murdoch
ff19d19e01 Maintain the seek position in HTML5 video
Receive the current seek position from native when we start
playing a video. That way is we are returning from pause we correctly
continue where we left off.

Requires and external/webkit change.
(I6001f45a362f491e9040c8b52260d0a08fb8504f)

Bug:3303721
Change-Id: I6b92289d4ef36bba1e0429327917533a4101655d
2011-01-19 11:48:15 +00:00
Winson Chung
32cf193412 Disabling queued unbinding of RemoteViewsServices until we fix flashing in widgets.
Change-Id: Iee53d4930dc4007df4298a282cdd5101876215a1
2011-01-19 00:52:34 -08:00
Winson Chung
81f39eb6e7 Refactoring app widgets to address security/performance issues.
- Moving the service binding to AppWidgetService to prevent arbitrary apps from binding to widget services
- Requiring RemoteViewsServices to require android.permission.BIND_REMOTEVIEWS permission

Change-Id: Id135bafba998299eb278067712b8a5d8487cfd04
2011-01-18 22:57:09 -08:00