20324 Commits

Author SHA1 Message Date
Adam Powell
2b0952b197 Fix bug 4065021 - Adjust spacing of the "home" action bar item to be
consistent with the "up" indicator

Make sure that the "home" affordance in the action bar always occupies
the same amount of space regardless of whether or not the "up"
indicator is visible. This means centering the application icon/logo
in the remaining space after the "up" indicator has been added.

Change-Id: I3c81cfe8255546d4dd676af913895713baba4f13
2011-03-09 00:17:42 -08:00
Gilles Debunne
949d0c8c38 Merge "Text handles positions' are correctly updated." into honeycomb-mr1 2011-03-08 10:21:54 -08:00
Leon Scroggins
055a858562 Merge "Do not attempt to start action mode if there is no parent." into honeycomb-mr1 2011-03-08 09:06:54 -08:00
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
Jesse Wilson
102930a0de Merge "Remove deprecated and unused entryEvicted method." into honeycomb-mr1 2011-03-07 23:23:36 -08:00
Romain Guy
bc8a8e8c92 Merge "Add support for partial invalidates in WebView Bug #3461349" into honeycomb-mr1 2011-03-07 22:40:27 -08:00
Dianne Hackborn
37e792d53d Merge "Fix issue #3515088: Don't be so aggressive trying to reclaim memory" into honeycomb-mr1 2011-03-07 18:20:23 -08:00
Chet Haase
4bd6ccd251 Merge "Restore save/restore calls removed recently" into honeycomb-mr1 2011-03-07 18:12:34 -08:00
Romain Guy
25b81110b1 Merge "Fix EGL JNI bugs Bug #3461349" into honeycomb-mr1 2011-03-07 18:11:21 -08:00
Romain Guy
cabfcc1364 Add support for partial invalidates in WebView
Bug #3461349

This change also fixes two bugs that prevented partial invalidates
from working with other views. Both bugs were in our EGL implementation:
they were preventing the caller from comparing the current context/surface
with another context/surface. This was causing HardwareRenderer to always
redraw the entire screen.

Change-Id: I33e096b304d4a0b7e6c8f92930f71d2ece9bebf5
2011-03-07 18:09:03 -08:00
Adam Powell
ad542efb8a Merge "Fix bug 3506292 - Add guards against bad event streams to ScaleGestureDetector" into honeycomb-mr1 2011-03-07 18:08:11 -08:00
Romain Guy
9b7146db6d Fix EGL JNI bugs
Bug #3461349

Before this change, eglGetCurrent*() could not be used to compare
contexts, displays and surfaces at the Dalvik level.

Change-Id: I442037dae37bc357b64810ab10c779b5754e9153
2011-03-07 18:05:04 -08:00
Chet Haase
88172fe49c Restore save/restore calls removed recently
Calls thought to be duplicates were removed, which caused rendering problems
for Browser as well as crashes in the widget list and music.

Change-Id: I6364aaa362619ea3dd368990304d61d84bbe2a90
2011-03-07 17:36:33 -08:00
Adam Powell
0818020d7c Fix bug 3506292 - Add guards against bad event streams to ScaleGestureDetector
Change-Id: Id38ebb368168b7157369964e39948036405427b1
2011-03-07 16:48:29 -08:00
Adam Powell
a46c1df226 Merge "Fix bug 4021346 - crash while navigating" into honeycomb-mr1 2011-03-07 16:25:20 -08:00
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
Adam Powell
3ba8f5d675 Fix bug 4021346 - crash while navigating
Change-Id: Iff60c5f4214c56597f2a1b393982d023866e490e
2011-03-07 15:36:33 -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
Leon Scroggins
6478e4f0b0 Merge "New button assets for webview. DO NOT MERGE" into honeycomb-mr1 2011-03-07 13:47:30 -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
Dianne Hackborn
db773c5572 Fix issue #3515088: Don't be so aggressive trying to reclaim memory
Change-Id: I8184306fa8c27a41b8bcfcad8d96985be8f0c9aa
2011-03-07 11:57:33 -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
Jesse Wilson
dfed7c006a Remove deprecated and unused entryEvicted method.
Change-Id: I30ccf3d798a3ebfc88a1b340efaaacf524d56fae
http://b/3461302
2011-03-07 09:07:07 -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
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
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
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
Eric Fischer
4d3e7fb7ab Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1 2011-03-04 13:52:11 -08: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
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