OSDN Git Service

android-x86/frameworks-base.git
13 years agoMerge "fix [3385504] Surface flinger hang when adding dim surface" into honeycomb
Mathias Agopian [Wed, 26 Jan 2011 20:41:02 +0000 (12:41 -0800)]
Merge "fix [3385504] Surface flinger hang when adding dim surface" into honeycomb

13 years agoMerge "Re-enabling queued unbinding of services after requests to the service. (33942...
Winson Chung [Wed, 26 Jan 2011 20:30:26 +0000 (12:30 -0800)]
Merge "Re-enabling queued unbinding of services after requests to the service. (3394210)" into honeycomb

13 years agoMerge "Fix some unmatched javadoc tags." into honeycomb
Jaikumar Ganesh [Wed, 26 Jan 2011 20:23:15 +0000 (12:23 -0800)]
Merge "Fix some unmatched javadoc tags." into honeycomb

13 years agoRe-enabling queued unbinding of services after requests to the service. (3394210)
Winson Chung [Fri, 21 Jan 2011 00:19:33 +0000 (16:19 -0800)]
Re-enabling queued unbinding of services after requests to the service. (3394210)

- Fix for crash when detaching from window
- Potential fix for occasional IllegalStateException when updating List based widgets

Change-Id: I3d3f2bb691552a1136111043db686c4926b510c6

13 years agoMerge "More instrumentation to track down the hardware decoder not shutting down...
Andreas Huber [Wed, 26 Jan 2011 20:08:09 +0000 (12:08 -0800)]
Merge "More instrumentation to track down the hardware decoder not shutting down bug." into honeycomb

13 years agoMerge "Ignore errors returned from native_window_set_crop." into honeycomb
Andreas Huber [Wed, 26 Jan 2011 20:06:39 +0000 (12:06 -0800)]
Merge "Ignore errors returned from native_window_set_crop." into honeycomb

13 years agoMore instrumentation to track down the hardware decoder not shutting down bug.
Andreas Huber [Tue, 25 Jan 2011 22:55:00 +0000 (14:55 -0800)]
More instrumentation to track down the hardware decoder not shutting down bug.

Change-Id: I3f31b6fdf5c90b436567bbce578dcbc4666ed7c2
related-to-bug: 3362836

13 years agoIgnore errors returned from native_window_set_crop.
Andreas Huber [Wed, 26 Jan 2011 20:02:35 +0000 (12:02 -0800)]
Ignore errors returned from native_window_set_crop.

If the surface is already invalid, we'll know soon enough.

Change-Id: If360ffb8293817afb47df8c1a75722aea74bb335
related-to-bug: 3394601

13 years agoMerge "DO NOT MERGE Remove the rs_quaternion functions until mr1" into honeycomb
Jason Sams [Wed, 26 Jan 2011 19:54:38 +0000 (11:54 -0800)]
Merge "DO NOT MERGE Remove the rs_quaternion functions until mr1" into honeycomb

13 years agoMerge "Migrating functions for on device linking." into honeycomb
Jason Sams [Wed, 26 Jan 2011 19:54:33 +0000 (11:54 -0800)]
Merge "Migrating functions for on device linking." into honeycomb

13 years agoMerge changes I48392c75,Id09437a4,I4a0aa878 into honeycomb
Joe Onorato [Wed, 26 Jan 2011 19:46:58 +0000 (11:46 -0800)]
Merge changes I48392c75,Id09437a4,I4a0aa878 into honeycomb

* changes:
  Expose the window flags for lights out mode.
  Make TabletStatusBar call into StatusBarManagerService when it goes out of lights out mode on its own.
  Make FLAG_FULLSCREEN not go into lights out mode anymore.

13 years agoFix some unmatched javadoc tags.
Jaikumar Ganesh [Wed, 26 Jan 2011 19:46:56 +0000 (11:46 -0800)]
Fix some unmatched javadoc tags.

Bug: 3392175
Change-Id: I84aa86c07060bc4ba399fd5c8f7cda162b432031

13 years agoMerge "Protect notification callback parameters with a mutex." into honeycomb
Andreas Huber [Wed, 26 Jan 2011 19:28:01 +0000 (11:28 -0800)]
Merge "Protect notification callback parameters with a mutex." into honeycomb

13 years agoMerge "Linux sockets suck, closing a socket descriptor does not abort pending recv...
Andreas Huber [Wed, 26 Jan 2011 19:24:13 +0000 (11:24 -0800)]
Merge "Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls." into honeycomb

13 years agoProtect notification callback parameters with a mutex.
Andreas Huber [Wed, 26 Jan 2011 19:19:19 +0000 (11:19 -0800)]
Protect notification callback parameters with a mutex.

This avoids the race condition where notifications are dispatched to a NULL receiver
after notifications have been disabled.

Change-Id: I6d351ffbee97616e2c35559c132a6c5e6a66948a
related-to-bug: 3394139

13 years agoDO NOT MERGE
Jason Sams [Wed, 26 Jan 2011 19:16:23 +0000 (11:16 -0800)]
DO NOT MERGE
Remove the rs_quaternion functions until mr1

Change-Id: I1c48624a308ce6f5c4a13215170f34c810b4cf00

13 years agoMerge "Instead of not feeding the AudioTrack any data after EOS, play silence instead...
Andreas Huber [Wed, 26 Jan 2011 19:11:50 +0000 (11:11 -0800)]
Merge "Instead of not feeding the AudioTrack any data after EOS, play silence instead." into honeycomb

13 years agoMerge "Make ObbActionListener a on-way call" into honeycomb
Kenny Root [Wed, 26 Jan 2011 19:01:14 +0000 (11:01 -0800)]
Merge "Make ObbActionListener a on-way call" into honeycomb

13 years agoMerge "Fix NPE in YouTube. Bug #3385339" into honeycomb
Romain Guy [Wed, 26 Jan 2011 18:54:23 +0000 (10:54 -0800)]
Merge "Fix NPE in YouTube. Bug #3385339" into honeycomb

13 years agoFix NPE in YouTube.
Romain Guy [Wed, 26 Jan 2011 18:54:43 +0000 (10:54 -0800)]
Fix NPE in YouTube.
Bug #3385339

Change-Id: Id7b307994e343cdb808161a7fae590536f04252e

13 years agoExpose the window flags for lights out mode.
Joe Onorato [Wed, 26 Jan 2011 03:53:17 +0000 (19:53 -0800)]
Expose the window flags for lights out mode.

I hadn't wanted to do this, but it makes porting the FLAG_FULLSCREEN
stuff over to this simpler because you don't have to go find a view
to proxy through.

This change also clears the flag everywhere when the window manager
notifies the views that the change has come back.

Change-Id: I48392c7550925bcca50c5bb9e1f263e99de6c7bc

13 years agoMerge "Fix emulator touchscreen." into honeycomb
Jeff Brown [Wed, 26 Jan 2011 18:46:29 +0000 (10:46 -0800)]
Merge "Fix emulator touchscreen." into honeycomb

13 years agoInstead of not feeding the AudioTrack any data after EOS, play silence instead.
Andreas Huber [Wed, 26 Jan 2011 18:41:38 +0000 (10:41 -0800)]
Instead of not feeding the AudioTrack any data after EOS, play silence instead.

Change-Id: I9aa797cf5bb58eefed51d732f4e5d09450551158
related-to-bug: 3347428

13 years agoFix emulator touchscreen.
Jeff Brown [Wed, 26 Jan 2011 18:40:10 +0000 (10:40 -0800)]
Fix emulator touchscreen.

Bug: 3393763
Change-Id: Ief16640344d61d283aac08ef4b53e85d7ee3c73f

13 years agoMerge "Fix b/2943524: On-device linking the rs_cl." into honeycomb
Shih-wei Liao [Wed, 26 Jan 2011 18:37:08 +0000 (10:37 -0800)]
Merge "Fix b/2943524: On-device linking the rs_cl." into honeycomb

13 years agoMake TabletStatusBar call into StatusBarManagerService when it goes out of lights...
Joe Onorato [Tue, 25 Jan 2011 21:42:10 +0000 (13:42 -0800)]
Make TabletStatusBar call into StatusBarManagerService when it goes out of lights out mode on its
own.

Bug: 3241144
Change-Id: Id09437a4f32f1d64daa7ae65e41c99897b5964d7

13 years agoMake FLAG_FULLSCREEN not go into lights out mode anymore.
Joe Onorato [Tue, 25 Jan 2011 20:06:23 +0000 (12:06 -0800)]
Make FLAG_FULLSCREEN not go into lights out mode anymore.

Change-Id: I4a0aa8789f537717f82df4efb6a35108e1ab1784

13 years agoLinux sockets suck, closing a socket descriptor does not abort pending recv/send...
Andreas Huber [Wed, 26 Jan 2011 18:14:38 +0000 (10:14 -0800)]
Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls.

Change-Id: Id53e7831761619f72ddc61f63571230011c93f16
related-to-bug: 3362836

13 years agoMerge "Increase the default timeout from 30 to 60 seconds." into honeycomb
Wink Saville [Wed, 26 Jan 2011 18:14:20 +0000 (10:14 -0800)]
Merge "Increase the default timeout from 30 to 60 seconds." into honeycomb

13 years agoMerge "Move last touch point when moving the cursor node." into honeycomb
Leon Scroggins [Wed, 26 Jan 2011 18:06:42 +0000 (10:06 -0800)]
Merge "Move last touch point when moving the cursor node." into honeycomb

13 years agoMerge "Wrong clock font in system bar. Whoops." into honeycomb
Daniel Sandler [Wed, 26 Jan 2011 17:35:03 +0000 (09:35 -0800)]
Merge "Wrong clock font in system bar. Whoops." into honeycomb

13 years agoIncrease the default timeout from 30 to 60 seconds.
Wink Saville [Wed, 26 Jan 2011 17:21:32 +0000 (09:21 -0800)]
Increase the default timeout from 30 to 60 seconds.

The DEFAULT_WAKE_LOCK_TIMEOUT should be longer than the timeouts
of the vendor ril, aka. rild. We are seeing timeouts which are
30secs and possibly longer. An alternative would be to add
TelephonyManager.PROPERTY_WAKE_LOCK_TIMEOUT for but I feel a 60
second default is appropriate for all platforms.

Bug: 3392618
Change-Id: I63f6b211b584857999174524d4ea4efa1994dfba

13 years agoMerge "Revert "Temporary Changes for certification of SCO."" into honeycomb
Jaikumar Ganesh [Wed, 26 Jan 2011 17:16:07 +0000 (09:16 -0800)]
Merge "Revert "Temporary Changes for certification of SCO."" into honeycomb

13 years agoMerge "New stat_notify icons in hdpi and mdpi" into honeycomb
Justin Ho [Wed, 26 Jan 2011 17:12:01 +0000 (09:12 -0800)]
Merge "New stat_notify icons in hdpi and mdpi" into honeycomb

13 years agoRevert "Temporary Changes for certification of SCO."
Jaikumar Ganesh [Wed, 26 Jan 2011 00:28:53 +0000 (16:28 -0800)]
Revert "Temporary Changes for certification of SCO."

This reverts commit 75c2701454f4506664d9056988c8ce5fd0ca73ba.

Change-Id: Ic63cdbbb06b9ed2d9c48e8b29cc376059ecadebf

13 years agoMerge "Improve readability of java docs for the public APIs." into honeycomb
Jaikumar Ganesh [Wed, 26 Jan 2011 17:02:12 +0000 (09:02 -0800)]
Merge "Improve readability of java docs for the public APIs." into honeycomb

13 years agoNew stat_notify icons in hdpi and mdpi
Justin Ho [Wed, 26 Jan 2011 16:48:48 +0000 (08:48 -0800)]
New stat_notify icons in hdpi and mdpi

Change-Id: I8e1eee2921411f5ed8d404c39dbfc9ac4977ef37

13 years agoWrong clock font in system bar. Whoops.
Daniel Sandler [Wed, 26 Jan 2011 16:45:36 +0000 (11:45 -0500)]
Wrong clock font in system bar. Whoops.

Bug: 3385564
Change-Id: I7231e9f7494bce436e93aed9793770cff40841a4

13 years agoMove last touch point when moving the cursor node.
Leon Scroggins [Wed, 26 Jan 2011 16:13:24 +0000 (11:13 -0500)]
Move last touch point when moving the cursor node.

Bug:3241968
Bug:3387455

The code was already in place, but needs to happen before we
return if mHeightCanMeasure == false.

Change-Id: Ic07dac4c4471bf4e2189f3fee322adeb23703f41

13 years agoUpdating phone assets to Gingerbread
Justin Ho [Wed, 26 Jan 2011 15:39:16 +0000 (07:39 -0800)]
Updating phone assets to Gingerbread
Integrating new stat_notify in SystemUI

Change-Id: Ib626847a050b255ee63092b84f59ce83ed174379

13 years agoMerge "Removing unused assets" into honeycomb
Justin Ho [Wed, 26 Jan 2011 15:26:40 +0000 (07:26 -0800)]
Merge "Removing unused assets" into honeycomb

13 years agoMerge "Fix invalidation problem with display lists" into honeycomb
Chet Haase [Wed, 26 Jan 2011 14:30:48 +0000 (06:30 -0800)]
Merge "Fix invalidation problem with display lists" into honeycomb

13 years agoMerge "Turn off picture splitting for now." into honeycomb
Patrick Scott [Wed, 26 Jan 2011 13:48:53 +0000 (05:48 -0800)]
Merge "Turn off picture splitting for now." into honeycomb

13 years agoFix b/2943524: On-device linking the rs_cl.
Shih-wei Liao [Wed, 26 Jan 2011 12:03:30 +0000 (04:03 -0800)]
Fix b/2943524: On-device linking the rs_cl.

Change-Id: I1b1e76ec94a26e0bc86d997d2584c8a015c57de1

13 years agoMerge "Update input method panel when packages are changed." into honeycomb
satok [Wed, 26 Jan 2011 10:08:48 +0000 (02:08 -0800)]
Merge "Update input method panel when packages are changed." into honeycomb

13 years agoUpdate input method panel when packages are changed.
satok [Wed, 26 Jan 2011 07:57:50 +0000 (16:57 +0900)]
Update input method panel when packages are changed.

Change-Id: I1edad2a11fd40c8f1f7fbb42f37e0538b1e245eb

13 years agoFix invalidation problem with display lists
Chet Haase [Wed, 26 Jan 2011 07:22:09 +0000 (23:22 -0800)]
Fix invalidation problem with display lists

It was previously the case that a view marked ~DRAWN must be
invalidated correctly already, so we would not mark any flags.
Display lists added new logic such that an undrawn node must still
be checked to see if its cache has been marked invalid. If not,
we must mark it invalid to make sure that a future rendering call
will cause the view to refresh its display list, thus refreshing its
child node tree's display lists, since that's where the invalidate
call must have originated.

Change-Id: I0f73c85459174c0e3f16d703f7eb914a706c808a

13 years agoMerge "Make sure the opaque bitmap is opaque. GL doesn't like being lied to. Bug...
Romain Guy [Wed, 26 Jan 2011 06:54:06 +0000 (22:54 -0800)]
Merge "Make sure the opaque bitmap is opaque. GL doesn't like being lied to. Bug #3382992" into honeycomb

13 years agoMake sure the opaque bitmap is opaque. GL doesn't like being lied to.
Romain Guy [Wed, 26 Jan 2011 06:53:24 +0000 (22:53 -0800)]
Make sure the opaque bitmap is opaque. GL doesn't like being lied to.
Bug #3382992

The result still looks wrong but it works as designed, unfortunately.

Change-Id: I6108e199fa336cb01faaabf6c75faa3b71c2339b

13 years agoMerge "Review rework for issue 3385068 : Play gets out of sync" into honeycomb
Santosh Madhava [Wed, 26 Jan 2011 06:44:07 +0000 (22:44 -0800)]
Merge "Review rework for issue 3385068 : Play gets out of sync" into honeycomb

13 years agoMerge "Fix for issue 3366265 : Native crash exporting movie" into honeycomb
Santosh Madhava [Wed, 26 Jan 2011 06:19:21 +0000 (22:19 -0800)]
Merge "Fix for issue 3366265 : Native crash exporting movie" into honeycomb

13 years agoMerge "Change AsyncTask.execute() back to using a thread pool..." into honeycomb
Dianne Hackborn [Wed, 26 Jan 2011 06:05:38 +0000 (22:05 -0800)]
Merge "Change AsyncTask.execute() back to using a thread pool..." into honeycomb

13 years agoChange AsyncTask.execute() back to using a thread pool...
Dianne Hackborn [Wed, 26 Jan 2011 05:42:37 +0000 (21:42 -0800)]
Change AsyncTask.execute() back to using a thread pool...

...for now.

Change-Id: I1fe64f3e3a575f85add11dfe4d405f0c3a4a49de

13 years agoMigrating functions for on device linking.
Jason Sams [Wed, 26 Jan 2011 05:33:44 +0000 (21:33 -0800)]
Migrating functions for on device linking.

Change-Id: I41dc1551ada53370f2b06c49cc76089b1e72ac5b

13 years agofix [3385504] Surface flinger hang when adding dim surface
Mathias Agopian [Wed, 26 Jan 2011 04:17:45 +0000 (20:17 -0800)]
fix [3385504] Surface flinger hang when adding dim surface

Change-Id: I8e0cda414bcad5854d2ca5dde8370bfd8b2e5ea4

13 years agoFix for issue 3366265 : Native crash exporting movie
Santosh Madhava [Wed, 26 Jan 2011 00:58:20 +0000 (16:58 -0800)]
Fix for issue 3366265 : Native crash exporting movie

Change-Id: I04195198031eeb7d34d4249b49a1092321a2eb0a

13 years agoMerge "VideoEditor:Fix for 3369908" into honeycomb
Dheeraj Sharma [Wed, 26 Jan 2011 04:34:15 +0000 (20:34 -0800)]
Merge "VideoEditor:Fix for 3369908" into honeycomb

13 years agoReview rework for issue 3385068 : Play gets out of sync
Santosh Madhava [Wed, 26 Jan 2011 03:25:02 +0000 (19:25 -0800)]
Review rework for issue 3385068 : Play gets out of sync

Change-Id: I7f7435bd898a72302500cdc15874e469922cbebe

13 years agoMerge "Cleaning up StackView" into honeycomb
Adam Cohen [Wed, 26 Jan 2011 04:19:17 +0000 (20:19 -0800)]
Merge "Cleaning up StackView" into honeycomb

13 years agoMerge "Fit and finish on status bar:" into honeycomb
Daniel Sandler [Wed, 26 Jan 2011 02:56:32 +0000 (18:56 -0800)]
Merge "Fit and finish on status bar:" into honeycomb

13 years agoMerge "Do Not Merge. Don't connect to non keyboard HID devices." into honeycomb
Jaikumar Ganesh [Wed, 26 Jan 2011 02:42:12 +0000 (18:42 -0800)]
Merge "Do Not Merge. Don't connect to non keyboard HID devices." into honeycomb

13 years agoMerge "Fix button assets and styles." into honeycomb
Adam Powell [Wed, 26 Jan 2011 02:29:09 +0000 (18:29 -0800)]
Merge "Fix button assets and styles." into honeycomb

13 years agoFix button assets and styles.
Adam Powell [Wed, 26 Jan 2011 02:25:20 +0000 (18:25 -0800)]
Fix button assets and styles.

This fixes some padding issues that broke apps during the last update.

Change-Id: Icdce5231f4497f8f0be0ab842a03cbfdfc501c5a

13 years agoMerge "Disable mouse support. (DO NOT MERGE)" into honeycomb
Jeff Brown [Wed, 26 Jan 2011 02:18:10 +0000 (18:18 -0800)]
Merge "Disable mouse support.  (DO NOT MERGE)" into honeycomb

13 years agoMerge "Fix crashes caused by some input devices." into honeycomb
Jeff Brown [Wed, 26 Jan 2011 02:18:05 +0000 (18:18 -0800)]
Merge "Fix crashes caused by some input devices." into honeycomb

13 years agoRemoving unused assets
Justin Ho [Wed, 26 Jan 2011 02:10:04 +0000 (18:10 -0800)]
Removing unused assets

Change-Id: I80b2d559f2bb3511ad8da9391e5f54effe91d837

13 years agoMerge "egl: clear error on function entry" into honeycomb
Mathias Agopian [Wed, 26 Jan 2011 02:01:03 +0000 (18:01 -0800)]
Merge "egl: clear error on function entry" into honeycomb

13 years agoDisable mouse support. (DO NOT MERGE)
Jeff Brown [Wed, 26 Jan 2011 01:52:01 +0000 (17:52 -0800)]
Disable mouse support.  (DO NOT MERGE)

Change-Id: Ica9703a18195079d227caff8c2389c750559f3d0

13 years agoMerge "Fixed the display of the brightness controls in the system panel" into honeycomb
Arnaud Berry [Wed, 26 Jan 2011 01:51:32 +0000 (17:51 -0800)]
Merge "Fixed the display of the brightness controls in the system panel" into honeycomb

13 years agoMerge "Removing unused assets in mdpi" into honeycomb
Justin Ho [Wed, 26 Jan 2011 01:46:23 +0000 (17:46 -0800)]
Merge "Removing unused assets in mdpi" into honeycomb

13 years agoMerge "Fix 3338368: Fix bounds calculation for recent apps view" into honeycomb
Jim Miller [Wed, 26 Jan 2011 01:41:59 +0000 (17:41 -0800)]
Merge "Fix 3338368: Fix bounds calculation for recent apps view" into honeycomb

13 years agoDo Not Merge. Don't connect to non keyboard HID devices.
Jaikumar Ganesh [Tue, 25 Jan 2011 00:30:45 +0000 (16:30 -0800)]
Do Not Merge. Don't connect to non keyboard HID devices.

Bug: 3385950
Change-Id: I2cfb17467c3d2fd383747111cd990d39f10f5136

13 years agochange the way test app waits for gc
Guang Zhu [Tue, 25 Jan 2011 23:43:57 +0000 (15:43 -0800)]
change the way test app waits for gc

gcSoftReferences methods are being obsoleted, so we need a different
approach to wait for gc: create a CountDownLatch and release it in
a dummy object's finalizer, call gc and await on the CDL.

Change-Id: I54d9e6bc05540b16ee1f3959ace9008041ac4903

13 years agoCleaning up StackView
Adam Cohen [Tue, 25 Jan 2011 20:24:23 +0000 (12:24 -0800)]
Cleaning up StackView

Change-Id: I38cd8a5f2d25973d3f97551be0a873ca35044ed9

13 years agoFix 3338368: Fix bounds calculation for recent apps view
Jim Miller [Wed, 26 Jan 2011 01:03:27 +0000 (17:03 -0800)]
Fix 3338368: Fix bounds calculation for recent apps view

The calculation for determine the content view's bounds
was mistakenly using the position of the view in the immediate
parent (glow view), which wrapped it exactly in the vertical
direction. The code now uses the glow view's vertical
position in its parent to determine the position.

Change-Id: I07768eb3446fde851699de1c1d4e958bc16d98bb

13 years agoImprove readability of java docs for the public APIs.
Jaikumar Ganesh [Wed, 26 Jan 2011 00:03:13 +0000 (16:03 -0800)]
Improve readability of java docs for the public APIs.

Change-Id: I0a0f1be04ed2ea2c14498a1a2ed4b050191ec95b

13 years agoMerge "Fix bug 3343940 - Legacy dialogs should use overlay action mode UI" into honeycomb
Adam Powell [Wed, 26 Jan 2011 00:27:16 +0000 (16:27 -0800)]
Merge "Fix bug 3343940 - Legacy dialogs should use overlay action mode UI" into honeycomb

13 years agoFix bug 3343940 - Legacy dialogs should use overlay action mode UI
Adam Powell [Wed, 26 Jan 2011 00:21:50 +0000 (16:21 -0800)]
Fix bug 3343940 - Legacy dialogs should use overlay action mode UI

Change-Id: I0bb2d4cbb0639e01483f1029aa95984d4b29ffc6

13 years agoMerge "Fix 3381660: Make modifier keys in PasswordUnlock match IME" into honeycomb
Jim Miller [Wed, 26 Jan 2011 00:21:21 +0000 (16:21 -0800)]
Merge "Fix 3381660: Make modifier keys in PasswordUnlock match IME" into honeycomb

13 years agoMerge "If 'customTokens', let authenticator handle notification." into honeycomb
Costin Manolache [Wed, 26 Jan 2011 00:13:12 +0000 (16:13 -0800)]
Merge "If 'customTokens', let authenticator handle notification." into honeycomb

13 years agoMerge "LayoutLib: return ViewInfo for all merged items + Build init." into honeycomb
Xavier Ducrohet [Wed, 26 Jan 2011 00:08:03 +0000 (16:08 -0800)]
Merge "LayoutLib: return ViewInfo for all merged items + Build init." into honeycomb

13 years agoFix 3381660: Make modifier keys in PasswordUnlock match IME
Jim Miller [Tue, 25 Jan 2011 03:53:32 +0000 (19:53 -0800)]
Fix 3381660: Make modifier keys in PasswordUnlock match IME

Fixed modifier key assets to match Latin IME.
Added background to alphanumeric keyboard.
Added 25% alpha background to numeric keyboard.

Change-Id: I043171a5dec7eeb0c136bb7450fd4023208639dc

13 years agoFix crashes caused by some input devices.
Jeff Brown [Wed, 26 Jan 2011 00:02:22 +0000 (16:02 -0800)]
Fix crashes caused by some input devices.

The touch screen sometimes reports more than 10 pointers even though that's
all we asked for.  When this happens, we start dropping events with more
than 10 pointers.  This confuses applications and causes them to crash.
Raised the limit to 16 pointers.
Bug: 3331247

The default behavior was to identify all touch devices as touch screens.
External devices that are plugged in are more likely to be touch pads
not attached to a screen.  Changed the default to be a touch pad
and renamed some internal constants to avoid confusion.

A certain mouse happens to also behave like a touch pad.  That caused
problems because we would see multiple concurrent traces of motion events
coming from the same input device so we would batch them up.
Added code to ensure that we don't batch events unless they come from
the same *source* in addition to coming from the same *device*.

Due to batching or misbehaving drivers, it's possible for the set of
pointer ids to be different from what we expect when it comes time to
split motion events across windows.  As a result, we can generate motion
events with 0 pointers.  When we try to deliver those events, we cause
an error in the InputTransport so we tear down the InputChannel and kill
the application.
Added code to check out assumption about pointer ids and drop the
event gracefully instead.

Patched up the tests to take into account the change in default behavior
for identifying touch screens and touch pads.

Change-Id: Ic364bd4cb4cc6335d4a1213a26d6bdadc7e33505

13 years agoMerge "A long press on the selection handle no longer selects the word." into honeycomb
Gilles Debunne [Tue, 25 Jan 2011 23:59:01 +0000 (15:59 -0800)]
Merge "A long press on the selection handle no longer selects the word." into honeycomb

13 years agoLayoutLib: return ViewInfo for all merged items + Build init.
Xavier Ducrohet [Tue, 25 Jan 2011 23:55:16 +0000 (15:55 -0800)]
LayoutLib: return ViewInfo for all merged items + Build init.

android.os.Build is now initialized from the build properties
parsed from the SDK build.prop file.

Change-Id: If16953215ca90fb0beacb51bf405b89a5c8a34fa

13 years agoMerge "Fix documentation typo." into honeycomb
Romain Guy [Tue, 25 Jan 2011 23:48:17 +0000 (15:48 -0800)]
Merge "Fix documentation typo." into honeycomb

13 years agoFix documentation typo.
Romain Guy [Tue, 25 Jan 2011 23:49:52 +0000 (15:49 -0800)]
Fix documentation typo.

Change-Id: Ide9a6a6843e86fe3ef841f95bdff132cca1f3832

13 years agoMerge "StagefrightMediaScanner: Close metadata retriever after we are done scanning...
Mike Lockwood [Tue, 25 Jan 2011 23:46:25 +0000 (15:46 -0800)]
Merge "StagefrightMediaScanner: Close metadata retriever after we are done scanning" into honeycomb

13 years agoMerge "MTP: Fix race conditions in MtpServer JNI code" into honeycomb
Mike Lockwood [Tue, 25 Jan 2011 23:44:28 +0000 (15:44 -0800)]
Merge "MTP: Fix race conditions in MtpServer JNI code" into honeycomb

13 years agoFixed the display of the brightness controls in the system panel
Arnaud Berry [Tue, 25 Jan 2011 23:42:17 +0000 (15:42 -0800)]
Fixed the display of the brightness controls in the system panel

Bug: 3389549
Change-Id: I87cc77de877653d471ba4ef6a790c568e9aaa60c

13 years agoegl: clear error on function entry
Michael I. Gold [Fri, 21 Jan 2011 23:39:38 +0000 (15:39 -0800)]
egl: clear error on function entry

Clear the current thread error state on entry to API functions as
mandated by the EGL 1.4 specification, section 3.1.  glGetError
returns additional information about the "most recent EGL function".

Change-Id: Ic24c64b39294ffc1a4e43fa72663e076b9d7decf

13 years agoRemoving unused assets in mdpi
Justin Ho [Tue, 25 Jan 2011 23:35:04 +0000 (15:35 -0800)]
Removing unused assets in mdpi

Change-Id: Id3bc90a10e602e35366d167fc72cc7edeaf15013

13 years agoMerge "Report errors to applications if AudioRecord->start() fails" into honeycomb
James Dong [Tue, 25 Jan 2011 23:31:09 +0000 (15:31 -0800)]
Merge "Report errors to applications if AudioRecord->start() fails" into honeycomb

13 years agoMerge "New contact picture" into honeycomb
Justin Ho [Tue, 25 Jan 2011 23:31:08 +0000 (15:31 -0800)]
Merge "New contact picture" into honeycomb

13 years agoReport errors to applications if AudioRecord->start() fails
James Dong [Tue, 25 Jan 2011 20:37:43 +0000 (12:37 -0800)]
Report errors to applications if AudioRecord->start() fails

bug - 3385198

Change-Id: I86ac8071eb28a538b333e102192193d1b9eda5eb

13 years agoA long press on the selection handle no longer selects the word.
Gilles Debunne [Tue, 25 Jan 2011 23:29:13 +0000 (15:29 -0800)]
A long press on the selection handle no longer selects the word.

Bug 3371448.

Change-Id: I360e6259f5f58a6f251efbe031ac46a76b7168e7

13 years agoIf 'customTokens', let authenticator handle notification.
Costin Manolache [Tue, 25 Jan 2011 00:11:36 +0000 (16:11 -0800)]
If 'customTokens', let authenticator handle notification.

Bug: 3377952
Change-Id: Iffb0ed01c39b42838cf88fd1b332c4b41c3194ec

13 years agoMerge "Argh forget to include my final part of the change." into honeycomb
Dianne Hackborn [Tue, 25 Jan 2011 23:23:13 +0000 (15:23 -0800)]
Merge "Argh forget to include my final part of the change." into honeycomb

13 years agoStagefrightMediaScanner: Close metadata retriever after we are done scanning
Mike Lockwood [Tue, 25 Jan 2011 23:20:04 +0000 (15:20 -0800)]
StagefrightMediaScanner: Close metadata retriever after we are done scanning

This prevents the mediaserver from leaking a file descriptor after
the media scanner runs

BUG: 3373546

Change-Id: I82a8bae82306de3da56a5c7da5b03ecf106a4efc
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "New extra for GET_CONTENT." into honeycomb
Dianne Hackborn [Tue, 25 Jan 2011 23:17:50 +0000 (15:17 -0800)]
Merge "New extra for GET_CONTENT." into honeycomb