17544 Commits

Author SHA1 Message Date
Svetoslav Ganov
9cd5fb2f46 Some touches on the NumberPicker UI.
1. Shoing the scroll wheel and fades it out the first time
   the widget is displayed.

2. Added separators for easing use to figure out which will
   be the current selection while scrolling.

3. Updated the fling scroller to user decelerating interpolator.

Change-Id: Ie75519564ace8f44cc6f8eed692182153f839694
2011-01-19 19:22:10 -08:00
Gilles Debunne
a85467bc8d Error popup no longer flickers in TextViews.
The removed lines were committed by the Android Open Source Project.
Their intent was probably: the message was there before, it is identical
after a text change, let's remove it to not annoy the user who already saw it.

The behavior however is that the message is displayed then hidden, then displayed
as the user types.

Bug 3365016

Change-Id: Ie820f8e5465ad8ab5890272c42627686e0d7961b
2011-01-19 18:25:15 -08:00
Huahui Wu
961d2c6acf Merge "b/3350774 avoid screen jumping when pinching to zoom." into honeycomb 2011-01-19 18:16:24 -08:00
Huahui Wu
1f30125c1c b/3350774 avoid screen jumping when pinching to zoom.
After the change that sends multi-touch to WebKit first, there is
a chance that the single-touch move event is handled before multi-
touch events are finished and this makes the page jumps.
This change skips those single-touch move events to avoid that.

Change-Id: I03992ef18c1de8e07933bd7cc6c12ffc02c014a8
2011-01-19 18:14:09 -08:00
Jeff Brown
d49f3e0078 Merge "Rename KeyCharacterMap.UnavailableException." into honeycomb 2011-01-19 17:56:32 -08:00
Jeff Brown
7e1e21fdc5 Rename KeyCharacterMap.UnavailableException.
Bug: 3370261
Change-Id: I5cdca8ef2300b70b7a0fcc7e2c26765079645ecc
2011-01-19 17:32:50 -08:00
Adam Powell
ed58d8ed8a Merge "Fix bug 3112733 - Missing TLS encryption option in manual email account setup" into honeycomb 2011-01-19 17:11:37 -08:00
Adam Powell
d2766aec6a Fix bug 3112733 - Missing TLS encryption option in manual email account setup
Make spinner popups observe global events that should change the
position of the popup.

Change-Id: Ia65204f594a6972b96d4db08c205770e340fcaf9
2011-01-19 17:09:29 -08:00
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