27147 Commits

Author SHA1 Message Date
George Mount
5d3f6e6d25 Remove inFullScreenMode JNI call during drawGL call.
Bug 5629367
 Corresponding WebKit change: Ia6f11636

Change-Id: Icc2fb6b778ce1c9bb4dc216a558652de544028b1
2011-12-05 16:56:16 -08:00
Romain Guy
fe0d3523a5 Merge "Make sure onPostExecute() is never called after cancel() Bug #5651553" 2011-12-05 14:50:54 -08:00
Romain Guy
657f51371c Make sure onPostExecute() is never called after cancel()
Bug #5651553

As dfined by the documentation.

Change-Id: I627a49ee000d6990b61fd64dde9b06f72cd5cbae
2011-12-05 14:49:33 -08:00
Dianne Hackborn
315e468763 am 803caff1: am 003c15d7: Merge "Fix issue #5614559: Registering surface error in..." into ics-mr1
* commit '803caff1dc307a8895e9f3560112f969fa3f6f39':
  Fix issue #5614559: Registering surface error in...
2011-12-05 10:45:16 -08:00
Dianne Hackborn
003c15d72c Merge "Fix issue #5614559: Registering surface error in..." into ics-mr1 2011-12-05 10:40:59 -08:00
Michael Kolb
58915ce922 am 32e914fc: am 277cbe5a: Merge "set System UI visibility based on MediaController state" into ics-mr1
* commit '32e914fc0366401b896f34d60119f92f625e6973':
  set System UI visibility based on MediaController state
2011-12-05 09:28:51 -08:00
Michael Kolb
277cbe5a95 Merge "set System UI visibility based on MediaController state" into ics-mr1 2011-12-05 09:24:25 -08:00
Narayan Kamath
6075e3df8f Merge "Simplify the implementation of AudioPlaybackHandler." 2011-12-05 07:41:59 -08:00
Jeff Brown
f3a0a60917 Merge "Remove type tests when recycling input events." 2011-12-03 17:35:19 -08:00
Jeff Brown
92cc2d8dc3 Remove type tests when recycling input events.
Change-Id: I1c2d5980a763c457a0546bbf601e686c601a4c03
2011-12-03 17:31:17 -08:00
Dianne Hackborn
61566cc193 Fix issue #5614559: Registering surface error in...
...Background Replacement on Stingray

This is how I should have done it in the first place.  We get the
new surface from the window manager, and then just copy it in to
the constant Surface object we have for the holder.

Change-Id: I537a9e413829a18f689dfb46687014676b27156e
2011-12-03 11:16:49 -08:00
Gilles Debunne
f240ac99d6 am 0c7e894e: am 2f1e1e4a: Merge "Handle animations in Views\' rectangle clipping methods." into ics-mr1
* commit '0c7e894e79bea35f979d30e4e3bb6115b102cafd':
  Handle animations in Views' rectangle clipping methods.
2011-12-02 17:57:31 -08:00
John Reck
4b747570f7 am 6d3e51d4: am 43bc6b09: Merge "Fix updateDoubleTapZoom logic" into ics-mr1
* commit '6d3e51d4c453b43b1f1950884c3d08c285d2ce90':
  Fix updateDoubleTapZoom logic
2011-12-02 17:57:29 -08:00
Jesse Hall
a6062265bd am 54cf27d7: am 6d90c1c6: Merge "Disable GLES20Canvas on emu w/o native GL" into ics-mr1
* commit '54cf27d7bbe27b1096f5e060c540f07dac07f1d0':
  Disable GLES20Canvas on emu w/o native GL
2011-12-02 17:57:09 -08:00
Fabrice Di Meglio
868d1bdf3c Merge "TextLayoutCache Fix compilation issue" 2011-12-02 16:21:14 -08:00
Michael Kolb
c07b678522 set System UI visibility based on MediaController state
Bug: 5494143

    still doesn't remove the buttons in dimmed state,
    but at least dims them correctly

Change-Id: Idcfc10616d31f6ccf8cd84b706a17d048bf505a1
2011-12-02 16:12:02 -08:00
Fabrice Di Meglio
5448f0378e TextLayoutCache Fix compilation issue
- fix compilation after refactoring and when setting DEBUG_ADVANCES to 1

Change-Id: I8eef7e3c4550c505325459948d3c8eebbdd5215a
2011-12-02 15:56:19 -08:00
Gilles Debunne
2f1e1e4ab9 Merge "Handle animations in Views' rectangle clipping methods." into ics-mr1 2011-12-02 15:28:56 -08:00
John Reck
43bc6b094e Merge "Fix updateDoubleTapZoom logic" into ics-mr1 2011-12-02 14:47:04 -08:00
Jeff Sharkey
7ea817e58d Merge "Move native netd calls to varargs." 2011-12-02 13:19:14 -08:00
Jeff Sharkey
ba2896e939 Move native netd calls to varargs.
Uses argument escaping inside NativeDaemonConnector, using varargs
to separate boundaries.  Also introduces Command object to help build
argument lists.

Bug: 5472606
Change-Id: I357979fc19bb0171a056e690064e01b5a7119501
2011-12-02 13:08:26 -08:00
Jesse Hall
6d90c1c6fe Merge "Disable GLES20Canvas on emu w/o native GL" into ics-mr1 2011-12-02 12:33:20 -08:00
Gilles Debunne
f96aa3b197 Merge "(de)activating spell check taken into account immediately" into ics-mr1 2011-12-02 10:45:25 -08:00
Jesse Hall
4406345cd6 Disable GLES20Canvas on emu w/o native GL
When the emulator is run without '-gpu on', GLES20 isn't supported,
so claiming GLES20Canvas is available will lead to catastrophic
failure. This change makes GLES20Canvas available when compiled in
and either not running on the emulator, or running on the emulator
with native GL acceleration enabled.

Change-Id: I89c944f9e3c9585224f5aa0877335ea48ea4a468
2011-12-02 09:35:42 -08:00
Jeff Brown
32cbc3855c Refactor InputQueue as InputEventReceiver.
This change simplifies the code associated with receiving input
events from input channels and makes it more robust.  It also
does a better job of ensuring that input events are properly
recycled (sometimes we dropped them on the floor).

This change also adds a sequence number to all events, which is
handy for determining whether we are looking at the same event or a
new one, particularly when events are recycled.

Change-Id: I4ebd88f73b5f77f3e150778cd550e7f91956aac2
2011-12-01 21:04:47 -08:00
Jeff Brown
db918cf171 Merge "Ensure input events are processed in-order in the application." 2011-12-01 20:11:15 -08:00
Jeff Brown
76d79011a0 Merge "Improve latency instrumentation." 2011-12-01 20:11:09 -08:00
John Reck
059832790d Fix updateDoubleTapZoom logic
Bug: 5698099

Change-Id: I83578e57cf809cbe7781d988302f0925dfddec80
2011-12-01 19:28:41 -08:00
Dianne Hackborn
a2a56f82a8 am 48e07296: am bfb3dec2: Merge "More social integration." into ics-mr1
* commit '48e07296800c49f8bc9b34cc57372593021f79a1':
  More social integration.
2011-12-01 18:52:27 -08:00
Dianne Hackborn
bfb3dec22d Merge "More social integration." into ics-mr1 2011-12-01 18:48:32 -08:00
Dianne Hackborn
a3d487cb13 More social integration.
Change-Id: I9be09e08bda5db6c05f5beabc380708a11ead43b
2011-12-01 18:42:24 -08:00
Gilles Debunne
a49ba2f391 (de)activating spell check taken into account immediately
Test for a change in the spell checker activate state on every
spell check. Add/remove suggestion spans accordingly.

Change-Id: I750f30b81464b85cebc695bdb0449ec038fc17df
2011-12-01 17:41:17 -08:00
Gilles Debunne
0715f12605 am b4812f8a: am 335c4e6c: Broken build. New methods made private.
* commit 'b4812f8a815a4c4a9896e73412f4011d7a30f03f':
  Broken build. New methods made private.
2011-12-01 16:10:03 -08:00
Gilles Debunne
335c4e6cb2 Broken build. New methods made private.
Change-Id: Ia123ab4ddb1fe93bcd053c3ea5bf6b87c7204640
2011-12-01 15:36:08 -08:00
Gilles Debunne
2101c57552 am a8205d24: am 09cbff02: Merge "Better handles\' visibility test" into ics-mr1
* commit 'a8205d24703fc353076cf30795b3a06a87208cfa':
  Better handles' visibility test
2011-12-01 15:06:49 -08:00
Gilles Debunne
58d8953958 Merge "Scroll performance improved in multiline TextEdit" into ics-mr1 2011-12-01 15:04:35 -08:00
Gilles Debunne
eb189d399a Merge "Performance improvement in TextView" into ics-mr1 2011-12-01 15:03:55 -08:00
Gilles Debunne
09cbff0294 Merge "Better handles' visibility test" into ics-mr1 2011-12-01 15:03:27 -08:00
Gilles Debunne
cea45132e3 Handle animations in Views' rectangle clipping methods.
getChildVisibleRect and getLocationInWindow do not take the new
mTransformationInfo View attribute.

As a result, these methods return invalid value during an animation
Bug 5638710

Changes in Patch Set 2:
- temporary allocations removed using static thread local variables (method
calls are NOT reentrant).

- scroll should be handled *before* applying the transformation matrix.
Fixed the call order in View#getLocationInWindow()

Patch set 4: fix from comments.
Patch set 5: <p>s

Change-Id: I15dc44c0659305d9029c59a47aba3a738bb35ae1
2011-12-01 14:55:50 -08:00
Jeff Brown
4952dfd16a Ensure input events are processed in-order in the application.
As it turns out, it used to be possible for there to be multiple
input events simultaneously in flight in an application.  Although
it worked, it made it hard to reason about what was going on.
The problem was somewhat exacerbated by the introduction of a
queue of "InputEventMessage" objects as part of an earlier latency
optimization.

This change restores order from chaos and greatly simplifies the
invariants related to input event dispatch within the application.

Change-Id: I6de5fe61c1fe2ac3dd33edf770d949044df8a019
2011-12-01 14:13:48 -08:00
Jeff Brown
95db2b20d7 Improve latency instrumentation.
Change-Id: I4edfa0a5659d207f7e46722e48ffa1dc43d2aa13
2011-12-01 14:13:48 -08:00
Matthew Xie
2f2e3ba11c am 6001d3ad: am 1a1be44c: Merge "Unlink the Binder DeathRecipient when removing a Bluetooth service record" into ics-mr1
* commit '6001d3ad9f5ddb5be09ec6e70b5e646cb9a0f469':
  Unlink the Binder DeathRecipient when removing a Bluetooth service record
2011-12-01 13:36:48 -08:00
Matthew Xie
1a1be44c5b Merge "Unlink the Binder DeathRecipient when removing a Bluetooth service record" into ics-mr1 2011-12-01 13:32:19 -08:00
Svetoslav Ganov
55cdacb9ba am 0bfdd7c2: am e9f24a43: Merge "Fix memory leaks in the accessibility layer." into ics-mr1
* commit '0bfdd7c2927fb683b89fdd52befe643e8e069e77':
  Fix memory leaks in the accessibility layer.
2011-12-01 13:01:50 -08:00
Svetoslav Ganov
e9f24a4302 Merge "Fix memory leaks in the accessibility layer." into ics-mr1 2011-12-01 12:57:12 -08:00
Amith Yamasani
41995689f2 am 52976f04: am e9b0608c: Merge "No clicking on volume icon in volume dialog." into ics-mr1
* commit '52976f04d8bebf44398a94cf5796f6a998c8935d':
  No clicking on volume icon in volume dialog.
2011-12-01 12:17:50 -08:00
Jason Simmons
c980a495a6 Unlink the Binder DeathRecipient when removing a Bluetooth service record
The fix holds a reference to the Reaper objects, so that they don't get GCed
and cause the error - unlink not called on death recipients.
bug 5602314

Change-Id: Ib8a9e254d7c9ebe9d54f5c10b3daa31d062b4df0
2011-12-01 12:06:50 -08:00
Gilles Debunne
6bb5fc577d am 4fec974c: am 0433c157: Merge "TextViews keep focus after Done" into ics-mr1
* commit '4fec974c2f75886516509699ccfc0100b029fe4d':
  TextViews keep focus after Done
2011-12-01 11:59:08 -08:00
Gilles Debunne
ad79297a41 am d732efa2: am b2aa672f: Merge "Revert "IME action (done, next...) correctly handled"" into ics-mr1
* commit 'd732efa2972eaaa22ff921c39744ec969598bcd0':
  Revert "IME action (done, next...) correctly handled"
2011-12-01 11:59:07 -08:00
Svetoslav Ganov
36bcdb535e Fix memory leaks in the accessibility layer.
The AccessibilityServiceConnection chache should be shared
between all interrogating threads.

bug:5664337

Change-Id: I151041d0b358e87ac47ea5c1c258f90a8b252420
2011-12-01 11:50:42 -08:00