46395 Commits

Author SHA1 Message Date
Gilles Debunne
cfc22c5332 Text handles positions' are correctly updated.
Bug 3510106

The CAB animation does not fire events, which does not update the
handles' positions.

The solution is to make the handle update their position before any
draw traversal, using an onPreDrawListener. The ScrollingPopupWindow
onScroll listener is no longer needed with this change. This is also
a more robust solution since other events (such as animations) may
change the TextView's position.

The cost is a recomputation of the Handles' positions at each redraw
which was not necessary with listeners. But as mentioned before, not
all possible events provide listeners or will in the future.

Change-Id: I0f46118de5f660a75d95eecb2cf987fcb4b3b322
2011-03-07 15:50:47 -08:00
Chia-chi Yeh
ab7c3245ed Merge "NEW_API: Unhide RTP APIs." into honeycomb-mr1 2011-03-07 15:39:54 -08:00
Adam Powell
43a811979d Merge "Fix bug 3501766 - Make the action bar "up" visual more prominent" into honeycomb-mr1 2011-03-07 15:06:02 -08:00
Adam Powell
8fca37ce30 Fix bug 3501766 - Make the action bar "up" visual more prominent
Change-Id: Id4b104dd6ca1df662479ab54f045e119585f990f
2011-03-07 14:54:48 -08:00
James Dong
4ed072f904 Merge "Add missing copyright headers to a couple of files" into honeycomb-mr1 2011-03-07 14:41:50 -08:00
James Dong
e2693e5d62 Add missing copyright headers to a couple of files
bug - 4025673

Change-Id: Ie1c4cf18c06032f9b89cc08e5be25d38c0f76aa1
2011-03-07 14:34:05 -08:00
Chia-chi Yeh
6defd2d47e NEW_API: Unhide RTP APIs.
This change unhides RTP related classes including AudioCodec,
AudioGroup, AudioStream, and RtpStream. This allows developers
to control audio streams directly and also makes conference
calls possible with the combination of the public SIP APIs.

Change-Id: Idfd4edf65a1cbf3245ec2786fbc03b06438b0fb3
2011-03-08 05:59:09 +08:00
Leon Scroggins
6478e4f0b0 Merge "New button assets for webview. DO NOT MERGE" into honeycomb-mr1 2011-03-07 13:47:30 -08:00
Gloria Wang
d686c31bf3 Merge "To support uri started with http:// in some Java APIs Fix for bug 4016388." into honeycomb-mr1 2011-03-07 13:28:27 -08:00
Mike Lockwood
11cb5cb9e3 Merge "MtpClient: Fix problem with getDeviceList() returning empty result in some cases" into honeycomb-mr1 2011-03-07 13:23:40 -08:00
Leon Scroggins
69ee2688e8 New button assets for webview. DO NOT MERGE
Bug:3009375

Change-Id: I27fc6a62845075f4a5f5708ef0a12dd928b12403
2011-03-07 16:22:11 -05:00
Eric Fischer
c5f7f582a6 Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1 2011-03-07 13:03:44 -08:00
Eric Fischer
e5d97c7fde Import revised translations. DO NOT MERGE
Change-Id: Id71f94e856fb7e4cbc9b24ff6afa9085b0e03244
2011-03-07 12:53:42 -08:00
Vasu Nori
0f73fe1c84 Merge "bug:3513950 Rename "completedDownload" to "addCompletedDownload"" into honeycomb-mr1 2011-03-07 12:46:59 -08:00
Patrick Dubroy
19960989e2 Merge "Remove guard preventing onDetachedFromWindow() from being called" into honeycomb-mr1 2011-03-07 11:51:50 -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
Mike Lockwood
2b8a1ee057 MtpClient: Fix problem with getDeviceList() returning empty result in some cases
BUG: 3503128

Change-Id: I2263437d6018848e316ae4096eb07305fc4dc486
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-07 14:19:06 -05:00
Patrick Dubroy
8620d9533a Remove guard preventing onDetachedFromWindow() from being called
This was the cause of 3510699: Launcher has leaked IntentReceiver.

Change-Id: I7d0e4662314d657f6ac06a9a9d37861f8d8ee975
2011-03-07 11:07:26 -08:00
Daniel Sandler
ec1f1f4cfc Merge changes I674abfcc,Ia40f4c53 into honeycomb-mr1
* changes:
  When the user touches a peeked notification, reset the fadeout timer.
  Fix touches on glowing region around panel.
2011-03-07 10:47:13 -08:00
Gloria Wang
b8b6a9a8d4 To support uri started with http:// in some Java APIs
Fix for bug 4016388.

Change-Id: I9f6f449dca49eb03446bf6aa22b5dd467ca189c9
2011-03-07 10:41:41 -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
Justin Ho
ef56004420 Merge "SearchView textfield backgrounds for bracketing the submit/voice button and improve padding." into honeycomb-mr1 2011-03-07 07:30:09 -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
Xia Wang
7d83f6020c am 928ec5e0: Merge "Modify connectivity manager test suite so that it can be run on Wi-Fi only device." into honeycomb
* commit '928ec5e021162fe371da8bdac7f5bb2c854b1aa1':
  Modify connectivity manager test suite so that it can be run on Wi-Fi only device.
2011-03-05 09:25:30 -08:00
Scott Main
d75ff0e296 am fa331d0d: docs: update publishing doc to remove pname search parameter
* commit 'fa331d0dfee0bc7324c788915292066e31842d49':
  docs: update publishing doc to remove pname search parameter
2011-03-05 09:24:55 -08:00
Xia Wang
928ec5e021 Merge "Modify connectivity manager test suite so that it can be run on Wi-Fi only device." into honeycomb 2011-03-04 19:23:21 -08: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
Mike Cleron
54bb98698a Merge "Don't fail unlinking death recipients on dead binders" into honeycomb-mr1 2011-03-04 17:58:09 -08:00
Christopher Tate
79dd31f73d Don't fail unlinking death recipients on dead binders
It's legal to call unlinkToDeath() *after* receiving binderDied(),
as long as the recipient being unlinked was in fact linked
previously.  Don't throw an exception in this case.  (The
exception was going unhandled in the system process, bringing
down the runtime.  That's bad.)

The change here is a bit subtle.  In the new implementation, the
lifetime of a JavaDeathRecipient -- the fundamental bridge between
IBinder objects and the Dalvik/JNI world -- is tied to the
lifetime of the Dalvik-side BinderProxy object it's associated
with.  That means it's inappropriate for the JavaDeathRecipient
to disappear [for purposes of being referenced from the Dalvik
side] just because the IBinder has sent out its obituaries, and
instead the JavaDeathRecipient objects are kept around until
the Dalvik-side client code actually drops its reference to the
BinderProxy.

This boils down to a one-line change:  we no longer unpin the
JavaDeathRecipients and free them immediately in response to
binderDied().

The rest of the CL is #ifdefed-out debugging that is invaluable
when bugs crop up.

Bug 3513703

Change-Id: I743fa49669c9252f71dcabfd8dcf42ed729b70a5
2011-03-04 17:45:00 -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
Amith Yamasani
f914801b15 SearchView textfield backgrounds for bracketing the submit/voice button and improve padding.
Bug: 3321263
Change-Id: I198d7be7752e28954505cd68f43edbe311385bb5
2011-03-04 16:59:08 -08:00
James Dong
99b862476d Fix a leak from AACEncoder.cpp
bug - 3470617

Change-Id: I328e92bc1b2aca72e5856703dae00f957f40bc27
2011-03-04 16:30:37 -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
Justin Ho
0b51f57479 Merge "Updated stat notification icons" into honeycomb-mr1 2011-03-04 15:40:00 -08:00
Justin Ho
d836dce27b Updated stat notification icons
Change-Id: I5084007427928c96de1bc64add0f1069d50ffaec
2011-03-04 15:31:56 -08:00
Justin Ho
abd481f686 Merge "Updated clock notification panel background (pressed state)" into honeycomb-mr1 2011-03-04 15:22:01 -08:00
Justin Ho
cb04a69b9a Updated clock notification panel background (pressed state)
Change-Id: I16bdb7edb0ab5abd897953daa16bf6d5c1dd8816
2011-03-04 15:08:56 -08:00
Leon Scroggins
97827bbd6c Merge "Update media controller appearance." into honeycomb-mr1 2011-03-04 15:03:46 -08:00
Leon Scroggins
f196eb07f6 Update media controller appearance.
bug:3498335

Do not set a background for media buttons, and provide enough room
for the full height of the slider.

Change-Id: I3e2c29d8ff0d61b64e0128dd32ed1c9fb56b02ef
2011-03-04 17:43:32 -05:00
Scott Main
fa331d0dfe docs: update publishing doc to remove pname search parameter
Change-Id: I73201cd07ef766f463b35318a9a39d002974b87e
2011-03-04 14:25:50 -08:00
Eric Fischer
4d3e7fb7ab Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1 2011-03-04 13:52:11 -08:00
Daniel Sandler
663f0f2da9 When the user touches a peeked notification, reset the fadeout timer.
We do this regardless of whether there are custom controls
mostly to keep things simple.

NB: This change also reduces the fade time to 3sec from 5,
which has always seemed too long but was necessary to make
interacting with Music possible. Now that you can keep a
notification open arbitrarily long by putting your finger on
it, a shorter timeout is acceptable.

Bug: 3456677
Change-Id: I674abfcc0fa757f838b98ed9d5d46ba785a95cfa
2011-03-04 16:45:02 -05:00
Eric Fischer
886d000c0c Import revised translations. DO NOT MERGE
Change-Id: I7795f176a3ca479b44cccdbf4015cff08313d80d
2011-03-04 13:40:34 -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
James Dong
865448a04f Merge "Do not enforce the rule in MP3Extractor that all audio frames in an mp3 file must have the same mode" into honeycomb-mr1 2011-03-04 11:37:07 -08:00
Gilles Debunne
78e7684713 Merge "getTextRunCursor gets deprecated in SpannableStringBuilder" into honeycomb-mr1 2011-03-04 11:36:17 -08:00