OSDN Git Service

android-x86/frameworks-base.git
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 agoFix surface frame size reporting.
Jeff Brown [Tue, 25 Jan 2011 20:56:56 +0000 (12:56 -0800)]
Fix surface frame size reporting.

The SurfaceHolder provided by the wallpaper service was not reporting
the correct size in getSurfaceFrame().  This broke an optimization in
the ImageWallpaper.  The old code happened to work because calling
lockCanvas on the SurfaceHolder with a null dirty rectangle happened
to have the side-effect of updating the SurfaceHolder's surface frame
size field because it passed mSurfaceFrame as the dirty rect, causing
mSurfaceFrame to be set to the size of the region to be drawn.

However, relying on this side-effect is wrong.  Among other things,
the dirty region could actually be smaller than the surface frame.

This patch fixes WallpaperService, SurfaceView and ViewRoot to ensure
that the surface frame size is always set explicitly and is not modified
by calls to lockCanvas.

Change-Id: I10948f5ec269409ceaf0f7d32b3f6731e9499ebc

13 years agoMerge "Video Editor:Fix for 3375632" into honeycomb
Dheeraj Sharma [Tue, 25 Jan 2011 20:50:34 +0000 (12:50 -0800)]
Merge "Video Editor:Fix for 3375632" into honeycomb

13 years agoMerge "Heed the focusability flag in SearchView and set the default to true." into...
Amith Yamasani [Tue, 25 Jan 2011 20:35:06 +0000 (12:35 -0800)]
Merge "Heed the focusability flag in SearchView and set the default to true." into honeycomb

13 years agoMerge "Fix emulator trackball." into honeycomb
Jeff Brown [Tue, 25 Jan 2011 20:33:50 +0000 (12:33 -0800)]
Merge "Fix emulator trackball." into honeycomb

13 years agoHeed the focusability flag in SearchView and set the default to true.
Amith Yamasani [Tue, 25 Jan 2011 19:58:09 +0000 (11:58 -0800)]
Heed the focusability flag in SearchView and set the default to true.

Bug: 3385804

Also, allow navigation through keyboard.

Change-Id: I444f142518172b35f33c2a5129179ac996d80dc7

13 years agoMerge "Fixed CAB background and selection color for legacy applications." into honeycomb
Gilles Debunne [Tue, 25 Jan 2011 19:37:54 +0000 (11:37 -0800)]
Merge "Fixed CAB background and selection color for legacy applications." into honeycomb

13 years agoMerge "Removed warnings in DynamicLayout" into honeycomb
Gilles Debunne [Tue, 25 Jan 2011 19:34:19 +0000 (11:34 -0800)]
Merge "Removed warnings in DynamicLayout" into honeycomb

13 years agoMerge "Add debug to CallManager#canDial." into honeycomb
Wink Saville [Tue, 25 Jan 2011 19:02:25 +0000 (11:02 -0800)]
Merge "Add debug to CallManager#canDial." into honeycomb

13 years agoMerge "Remove debugging log left by mistake." into honeycomb
Romain Guy [Tue, 25 Jan 2011 19:01:55 +0000 (11:01 -0800)]
Merge "Remove debugging log left by mistake." into honeycomb

13 years agoRemove debugging log left by mistake.
Romain Guy [Tue, 25 Jan 2011 19:03:00 +0000 (11:03 -0800)]
Remove debugging log left by mistake.

Change-Id: I7d5165b4b682714940cea9886abeedd3f4858057

13 years agoMerge "Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle" into...
Brian Carlstrom [Tue, 25 Jan 2011 18:58:02 +0000 (10:58 -0800)]
Merge "Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle" into honeycomb

13 years agoMerge "TextLine cache is used, even for long lines of text." into honeycomb
Gilles Debunne [Tue, 25 Jan 2011 18:43:05 +0000 (10:43 -0800)]
Merge "TextLine cache is used, even for long lines of text." into honeycomb

13 years agoMerge "Fix tethering when switching default connection" into honeycomb
Robert Greenwalt [Tue, 25 Jan 2011 18:27:51 +0000 (10:27 -0800)]
Merge "Fix tethering when switching default connection" into honeycomb

13 years agoMerge "Set high usage delta to 1 to avoid constant V8 GC." into honeycomb
Shimeng (Simon) Wang [Tue, 25 Jan 2011 18:27:24 +0000 (10:27 -0800)]
Merge "Set high usage delta to 1 to avoid constant V8 GC." into honeycomb

13 years agoRemoved warnings in DynamicLayout
Gilles Debunne [Tue, 25 Jan 2011 18:14:43 +0000 (10:14 -0800)]
Removed warnings in DynamicLayout

Change-Id: Ied1c330795412d0bdcac1236b466951112fabc7d

13 years agoMerge "Docs for Origin" into honeycomb
John Reck [Tue, 25 Jan 2011 18:01:16 +0000 (10:01 -0800)]
Merge "Docs for Origin" into honeycomb

13 years agoSet high usage delta to 1 to avoid constant V8 GC.
Shimeng (Simon) Wang [Mon, 24 Jan 2011 22:38:46 +0000 (14:38 -0800)]
Set high usage delta to 1 to avoid constant V8 GC.

This value will be passed to native webkit to V8.

3 consecutive dromaeo DOM core are run, there's no crash.
Because of assets change, Passion browser can't be run; this will
need to be checked in I release, I think

issue: 3317722
Change-Id: Ifa6e4116f76f395d98db9f8336f91dc9de6bf125

13 years agoTextLine cache is used, even for long lines of text.
Gilles Debunne [Tue, 25 Jan 2011 17:09:46 +0000 (09:09 -0800)]
TextLine cache is used, even for long lines of text.

Bug 3381368

The 250 characters limit is passed for long URLs. There are only 3
TextLine objects, so their total size is not an issue. Recycle long
lines as well to make sure we fill the cache and avoid object creation.

Change-Id: I843bf623594312a0fcf0edbb13b7cd64cce0ddd1

13 years agoMerge "Fix the return value of switch to last ime." into honeycomb
satok [Tue, 25 Jan 2011 16:00:29 +0000 (08:00 -0800)]
Merge "Fix the return value of switch to last ime." into honeycomb

13 years agoFix the return value of switch to last ime.
satok [Tue, 25 Jan 2011 09:57:24 +0000 (18:57 +0900)]
Fix the return value of switch to last ime.

Change-Id: I5fe8cc696433a7ee72973d16d8f121d3362ab0e0

13 years agoMerge "Sort IME by id" into honeycomb
satok [Tue, 25 Jan 2011 14:34:21 +0000 (06:34 -0800)]
Merge "Sort IME by id" into honeycomb

13 years agoSort IME by id
satok [Tue, 25 Jan 2011 09:00:23 +0000 (18:00 +0900)]
Sort IME by id

Bug: 3364167

Change-Id: I8c8e4ddc4110e2920c8c7beccf108ac7e0227903

13 years agoMerge "Clip touch event at SoftInputWindow to handle the event from Inset" into honeycomb
Ken Wakasa [Tue, 25 Jan 2011 13:42:36 +0000 (05:42 -0800)]
Merge "Clip touch event at SoftInputWindow to handle the event from Inset" into honeycomb

13 years agoClip touch event at SoftInputWindow to handle the event from Inset
Tadashi G. Takaoka [Tue, 25 Jan 2011 09:02:55 +0000 (18:02 +0900)]
Clip touch event at SoftInputWindow to handle the event from Inset

Bug: 3238092
Change-Id: I92d98bed75957c8db149e1ad87defe24d44f4d53

13 years agoFix bug 3385881
Jason Sams [Tue, 25 Jan 2011 08:26:25 +0000 (00:26 -0800)]
Fix bug 3385881
Launch signals and threads are not always
matched in index.  Threads grab launch indexes
as they start which may not be the order in which
they were launched.

Change-Id: I1ff42c3df5d7ebb46de6329ebd11ef67a5fc58ca

13 years agoMerge "Attempt to fix 3333866 Missing memory barrier when the non-locking past path...
Jason Sams [Tue, 25 Jan 2011 08:23:41 +0000 (00:23 -0800)]
Merge "Attempt to fix 3333866 Missing memory barrier when the non-locking past path is hit." into honeycomb

13 years agoAdd debug to CallManager#canDial.
Wink Saville [Tue, 25 Jan 2011 07:25:31 +0000 (23:25 -0800)]
Add debug to CallManager#canDial.

Add some debug to trackdown why canDial is sometime
returning false, see bug 3381435.

Change-Id: I0caade5ffdf9d67cdee0557971a8918182718512

13 years agoMerge "Issue no : 3370622" into honeycomb
Dheeraj Sharma [Tue, 25 Jan 2011 07:04:54 +0000 (23:04 -0800)]
Merge "Issue no : 3370622" into honeycomb

13 years agoTweak layouts of IME switch button
satok [Tue, 25 Jan 2011 06:01:48 +0000 (15:01 +0900)]
Tweak layouts of IME switch button

Bug: 3383078

Change-Id: Id522ac6e8363a98be6ac73ee75b0d54e12ef86c4

13 years agoIssue no : 3370622
Dheeraj Sharma [Mon, 24 Jan 2011 22:46:30 +0000 (14:46 -0800)]
Issue no : 3370622

VideoEditor: Fix for Clear Surface API

Change-Id: I8d4ad90dd2a0d37bd5363c36582a16f08b161bee

13 years agoMerge "Fix issue #3385054: HRI24 never enters suspend (LP0) - IKXEVEREST-3439" into...
Dianne Hackborn [Tue, 25 Jan 2011 06:51:18 +0000 (22:51 -0800)]
Merge "Fix issue #3385054: HRI24 never enters suspend (LP0) - IKXEVEREST-3439" into honeycomb

13 years agoMake nested hardware layers work again
Romain Guy [Tue, 25 Jan 2011 06:35:56 +0000 (22:35 -0800)]
Make nested hardware layers work again

Change-Id: I97bde694ec1b712a1e010c8137919e6d64af3148

13 years agoMerge "Make nested hardware layers work again" into honeycomb
Romain Guy [Tue, 25 Jan 2011 06:35:21 +0000 (22:35 -0800)]
Merge "Make nested hardware layers work again" into honeycomb

13 years agoMerge "Review rework on Patch Set 2 for issue 3372849" into honeycomb
Santosh Madhava [Tue, 25 Jan 2011 06:33:44 +0000 (22:33 -0800)]
Merge "Review rework on Patch Set 2 for issue 3372849" into honeycomb

13 years agoReview rework on Patch Set 2 for issue 3372849
Santosh Madhava [Sat, 22 Jan 2011 01:54:05 +0000 (17:54 -0800)]
Review rework on Patch Set 2 for issue 3372849

Change-Id: I3c077f3318e44035e8ea6eb160d0024e77aaa710

13 years agoFix issue #3385054: HRI24 never enters suspend (LP0) - IKXEVEREST-3439
Dianne Hackborn [Tue, 25 Jan 2011 05:59:21 +0000 (21:59 -0800)]
Fix issue #3385054: HRI24 never enters suspend (LP0) - IKXEVEREST-3439

Um.  My fix for calling onReceive() even after a receiver is
unregistered actually made it so onReceive() is never called for
the result receiver of a broadcast.

Change-Id: I30efe05d8fdec6fee4222b7d797f2b303073dbcc

13 years agoFix display list support for shapes.
Romain Guy [Tue, 25 Jan 2011 05:53:42 +0000 (21:53 -0800)]
Fix display list support for shapes.

Change-Id: I8b4c9e9ec36266a83c0a53ba3fb6e45d61bbd6d9

13 years agoMerge "Fix display list support for shapes." into honeycomb
Romain Guy [Tue, 25 Jan 2011 05:51:43 +0000 (21:51 -0800)]
Merge "Fix display list support for shapes." into honeycomb

13 years agoMerge "Fix bug 3178934 - Make MenuBuilder notify its adapters of changes" into honeycomb
Adam Powell [Tue, 25 Jan 2011 05:48:56 +0000 (21:48 -0800)]
Merge "Fix bug 3178934 - Make MenuBuilder notify its adapters of changes" into honeycomb

13 years agoFix bug 3178934 - Make MenuBuilder notify its adapters of changes
Adam Powell [Tue, 25 Jan 2011 05:44:28 +0000 (21:44 -0800)]
Fix bug 3178934 - Make MenuBuilder notify its adapters of changes

Change-Id: I28603afbdfdd913aa06f3a07065e27aff1dc524b

13 years agoMerge "Fix NPE in IInputMethodSessionWrapper.executeMessage" into honeycomb
Ken Wakasa [Tue, 25 Jan 2011 05:37:53 +0000 (21:37 -0800)]
Merge "Fix NPE in IInputMethodSessionWrapper.executeMessage" into honeycomb

13 years agoMaybe fix issue #3093599: java.lang.IndexOutOfBoundsException...
Dianne Hackborn [Mon, 24 Jan 2011 21:15:09 +0000 (13:15 -0800)]
Maybe fix issue #3093599: java.lang.IndexOutOfBoundsException...

...Invalid index 0, size is 0 at
android.app.ActivityThread.performPauseActivity(ActivityThread.java:2326)

It looks like if an arrow key is dispatched between the time the
list view is told its data set has changed and it does the resulting
layout pass, we could try to move the position to a now invalid
index.  This may prevent that from happening.

Also put in a better error message if saving state of a fragment
whose target is no longer in the fragment manager.

And fix a bug in PackageManager where we could return a null from
queryIntentActivities().

And add a new API to find out whether a fragment is being removed,
to help fix issue #3306021: NPE at
android.app.AlertDialog.getDefaultDialogTheme(AlertDialog.java)

Next, for new HC apps we can delay committing data to
storage until the activity is stopped.

Finally, use the new multi-threaded AyncTask executor in a few
places, so we don't have worked blocked by long-running tasks from
the application.

Change-Id: I27b2aafedf2e1bf3a2316309889613fa539760f3

13 years agoFix NPE in IInputMethodSessionWrapper.executeMessage
Ken Wakasa [Tue, 25 Jan 2011 05:02:07 +0000 (14:02 +0900)]
Fix NPE in IInputMethodSessionWrapper.executeMessage

bug: 3384715
Change-Id: I4bd8f2b505318a9b3e17dccf6a583dc7f36a8a24

13 years agoFix rendering issues with animated layers.
Romain Guy [Tue, 25 Jan 2011 04:40:18 +0000 (20:40 -0800)]
Fix rendering issues with animated layers.
Bug #3385247

- The layer's alpha was interpreted in the wrong range 0..255 instead of 0..1
- 9-patches would not correctly dirty the layer region, the generated mesh
  was incorrect

Change-Id: I4916249bedcdb0794929f3796bd17854971efc88

13 years agoMerge "Fix rendering issues with animated layers. Bug #3385247" into honeycomb
Romain Guy [Tue, 25 Jan 2011 04:38:52 +0000 (20:38 -0800)]
Merge "Fix rendering issues with animated layers. Bug #3385247" into honeycomb

13 years agoFix rendering issues in Movie Studio.
Romain Guy [Tue, 25 Jan 2011 04:22:49 +0000 (20:22 -0800)]
Fix rendering issues in Movie Studio.

Change-Id: I5b293767b9bdedeef0df4d27a179d0da48d7fe32

13 years agoMerge "Fix rendering issues in Movie Studio." into honeycomb
Romain Guy [Tue, 25 Jan 2011 04:20:50 +0000 (20:20 -0800)]
Merge "Fix rendering issues in Movie Studio." into honeycomb

13 years agoMerge "Fix bug 3385930 - Holo.SegmentedButton contentarea and disabled state broken...
Adam Powell [Tue, 25 Jan 2011 03:45:41 +0000 (19:45 -0800)]
Merge "Fix bug 3385930 - Holo.SegmentedButton contentarea and disabled state broken" into honeycomb

13 years agoMerge "tone down the log spew regarding taking screenshots." into honeycomb
Mathias Agopian [Tue, 25 Jan 2011 03:45:35 +0000 (19:45 -0800)]
Merge "tone down the log spew regarding taking screenshots." into honeycomb

13 years agoFix bug 3385930 - Holo.SegmentedButton contentarea and disabled state broken
Adam Powell [Tue, 25 Jan 2011 03:37:59 +0000 (19:37 -0800)]
Fix bug 3385930 - Holo.SegmentedButton contentarea and disabled state broken

Fix padding and add disabled states for the group button assets.

Change-Id: Iad7f9022de895fbd6875989289f600d098145b1b

13 years agoMerge "Improved conversion accuracy of exif geotag data" into honeycomb
Wu-cheng Li [Tue, 25 Jan 2011 02:48:34 +0000 (18:48 -0800)]
Merge "Improved conversion accuracy of exif geotag data" into honeycomb

13 years agoMerge "Enable partial invalidates when rendering with OpenGL." into honeycomb
Romain Guy [Tue, 25 Jan 2011 02:38:00 +0000 (18:38 -0800)]
Merge "Enable partial invalidates when rendering with OpenGL." into honeycomb

13 years agoEnable partial invalidates when rendering with OpenGL.
Romain Guy [Tue, 25 Jan 2011 00:33:45 +0000 (16:33 -0800)]
Enable partial invalidates when rendering with OpenGL.

Change-Id: Ie8be06c4776b815e8737753eb8003b4fd8936130

13 years agoMerge "Fix 3382123: Set default state of LockScreen portrait kb" into honeycomb
Jim Miller [Tue, 25 Jan 2011 02:20:53 +0000 (18:20 -0800)]
Merge "Fix 3382123: Set default state of LockScreen portrait kb" into honeycomb

13 years agoTracking jarjar of org.bouncycastle to com.android.org.bouncycastle
Brian Carlstrom [Tue, 25 Jan 2011 00:17:43 +0000 (16:17 -0800)]
Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle

Bug: 3086427
Change-Id: I7af99fe4c36d9a519777f0499ccab65646313879

13 years agotone down the log spew regarding taking screenshots.
Mathias Agopian [Tue, 25 Jan 2011 02:13:54 +0000 (18:13 -0800)]
tone down the log spew regarding taking screenshots.

Change-Id: I673806bda23eba6aab25f7505b7e0170afc9920b

13 years agoMerge "Updated overscroll assets" into honeycomb
Justin Ho [Tue, 25 Jan 2011 02:05:46 +0000 (18:05 -0800)]
Merge "Updated overscroll assets" into honeycomb

13 years agoUpdated overscroll assets
Justin Ho [Tue, 25 Jan 2011 02:04:45 +0000 (18:04 -0800)]
Updated overscroll assets

Change-Id: I8387ee6de7f387ed36b13d9ac6322356f7833fcf

13 years agoMerge "Fix for display list problem with listview items." into honeycomb
Chet Haase [Tue, 25 Jan 2011 01:59:35 +0000 (17:59 -0800)]
Merge "Fix for display list problem with listview items." into honeycomb

13 years agoDocs for Origin
John Reck [Tue, 25 Jan 2011 01:31:39 +0000 (17:31 -0800)]
Docs for Origin

 Bug: 3370302

Change-Id: I44c8856d3f5e4b5e21c2745c1ef07a30526a1dd0

13 years agoFix for display list problem with listview items.
Chet Haase [Tue, 25 Jan 2011 01:53:52 +0000 (17:53 -0800)]
Fix for display list problem with listview items.

We were not correctly invalidating items that were being attached
to listviews.

Change-Id: I5d29a82c4276f09e401c6869ab1e86a3c8281366

13 years agoMerge "Throw Base64DataException instead of IOException" into honeycomb
Andy Stadler [Tue, 25 Jan 2011 01:43:30 +0000 (17:43 -0800)]
Merge "Throw Base64DataException instead of IOException" into honeycomb

13 years agoFix emulator trackball.
Jeff Brown [Tue, 25 Jan 2011 01:38:51 +0000 (17:38 -0800)]
Fix emulator trackball.

Bug: 3369229
Change-Id: I97ce0ac664636224decb040c743704dfcbd90c81

13 years agoAttempt to fix 3333866
Jason Sams [Tue, 25 Jan 2011 01:33:21 +0000 (17:33 -0800)]
Attempt to fix 3333866
Missing memory barrier when the non-locking past
path is hit.

Change-Id: I80db7df547c1ce35ed85ba117519b12679cc42ef

13 years agoMerge "Cleanup script init to fix bogus log printing and reduce memory churn." into...
Jason Sams [Tue, 25 Jan 2011 01:30:38 +0000 (17:30 -0800)]
Merge "Cleanup script init to fix bogus log printing and reduce memory churn." into honeycomb

13 years agoMerge "Fix 3385152: Update lockscreen font." into honeycomb
Jim Miller [Tue, 25 Jan 2011 01:29:23 +0000 (17:29 -0800)]
Merge "Fix 3385152: Update lockscreen font." into honeycomb

13 years agoMerge "Fix bug 3383867 - default height for dropdown list items in framework layouts...
Adam Powell [Tue, 25 Jan 2011 01:24:25 +0000 (17:24 -0800)]
Merge "Fix bug 3383867 - default height for dropdown list items in framework layouts" into honeycomb

13 years agoFix bug 3383867 - default height for dropdown list items in framework layouts
Adam Powell [Tue, 25 Jan 2011 01:15:52 +0000 (17:15 -0800)]
Fix bug 3383867 - default height for dropdown list items in framework layouts

Change-Id: I8a7553c3dc6b8c0eb95445c796c8298d1cdecc01

13 years agoMerge "Fix 3381660: Update PasswordUnlock screen's EditText background." into honeycomb
Jim Miller [Tue, 25 Jan 2011 01:13:30 +0000 (17:13 -0800)]
Merge "Fix 3381660: Update PasswordUnlock screen's EditText background." into honeycomb

13 years agoMerge "Reduce the JNI native method visibility" into honeycomb
James Dong [Tue, 25 Jan 2011 01:12:36 +0000 (17:12 -0800)]
Merge "Reduce the JNI native method visibility" into honeycomb

13 years agoMerge "Fix bug with display lists and layout." into honeycomb
Chet Haase [Tue, 25 Jan 2011 01:03:30 +0000 (17:03 -0800)]
Merge "Fix bug with display lists and layout." into honeycomb

13 years agoMerge "Fix 3381304: disable key preview in LockScreen's qwerty keyboard" into honeycomb
Jim Miller [Tue, 25 Jan 2011 01:03:07 +0000 (17:03 -0800)]
Merge "Fix 3381304: disable key preview in LockScreen's qwerty keyboard" into honeycomb

13 years agoFix bug with display lists and layout.
Chet Haase [Tue, 25 Jan 2011 01:00:32 +0000 (17:00 -0800)]
Fix bug with display lists and layout.

requestLayout() and forceLayout() should force the INVALIDATED
flag to be set, which causes a view's display list to be regenerated
on the next drawing operation. This is necessary when containers change
due to layout requests.

Change-Id: I5b18b5936b59f0605f93c8f45baf83a76dab4e5e

13 years agoMerge "Fix regression setting input windows." into honeycomb
Jeff Brown [Tue, 25 Jan 2011 00:58:17 +0000 (16:58 -0800)]
Merge "Fix regression setting input windows." into honeycomb

13 years agoThrow Base64DataException instead of IOException
Andy Stadler [Tue, 25 Jan 2011 00:47:56 +0000 (16:47 -0800)]
Throw Base64DataException instead of IOException

* Define Base64DataException
* Throw it from Base64InputStream & Base64OutputStream
* This enables callers to disambiguate "bad data" from "broken stream",
  which makes it more possible to do proper retry logic.

Bug: 3365205
Change-Id: I332e7c008f92b333400d1b4dcaef5aedc7c10ef4

13 years agoFix regression setting input windows.
Jeff Brown [Mon, 24 Jan 2011 23:21:56 +0000 (15:21 -0800)]
Fix regression setting input windows.

Change-Id: I24d58a02f69ae40f03b133d487354a883585e93e

13 years agoFix 3381660: Update PasswordUnlock screen's EditText background.
Jim Miller [Tue, 25 Jan 2011 00:20:29 +0000 (16:20 -0800)]
Fix 3381660: Update PasswordUnlock screen's EditText background.

This updates the assets for the password field to use a lighter
background.  It also moves them into the proper location for xlarge
device.

Change-Id: Iab084a067589d730a7138188be79543e9fb57168

13 years agoMerge "Add missing functions to math library." into honeycomb
Stephen Hines [Tue, 25 Jan 2011 00:14:43 +0000 (16:14 -0800)]
Merge "Add missing functions to math library." into honeycomb

13 years agoReduce the JNI native method visibility
James Dong [Mon, 24 Jan 2011 23:46:40 +0000 (15:46 -0800)]
Reduce the JNI native method visibility

bug -3385135

Change-Id: I568b53d2279622b44ca5b8a23a8691ca3395f9a5

13 years agoFix 3385152: Update lockscreen font.
Jim Miller [Mon, 24 Jan 2011 23:51:52 +0000 (15:51 -0800)]
Fix 3385152: Update lockscreen font.

Change-Id: Ie72cded40cf408627d7a3deddd7b14c42528a1a0

13 years agoMerge "New orientation listener." into honeycomb
Jeff Brown [Mon, 24 Jan 2011 23:31:22 +0000 (15:31 -0800)]
Merge "New orientation listener." into honeycomb

13 years agoMerge "DatePicker is picking the wrong date" into honeycomb
Svetoslav Ganov [Mon, 24 Jan 2011 23:26:42 +0000 (15:26 -0800)]
Merge "DatePicker is picking the wrong date" into honeycomb

13 years agoFix 3382123: Set default state of LockScreen portrait kb
Jim Miller [Mon, 24 Jan 2011 23:24:01 +0000 (15:24 -0800)]
Fix 3382123: Set default state of LockScreen portrait kb

This sets the default state of the portrait keyboard to
"gone" to agree with the landscape keyboard.

Change-Id: I1e6a21b07c27ef739bfde4558b958c48b4fc56df

13 years agoMerge "Fix bug 3242393 - overscroll effect missing from lists which drag but are...
Adam Powell [Mon, 24 Jan 2011 23:03:16 +0000 (15:03 -0800)]
Merge "Fix bug 3242393 - overscroll effect missing from lists which drag but are always visible" into honeycomb

13 years agoMerge "Disable focus controller when WebView loses focus." into honeycomb
Leon Scroggins [Mon, 24 Jan 2011 23:02:10 +0000 (15:02 -0800)]
Merge "Disable focus controller when WebView loses focus." into honeycomb

13 years agoFix bug 3242393 - overscroll effect missing from lists which drag but
Adam Powell [Mon, 24 Jan 2011 22:55:00 +0000 (14:55 -0800)]
Fix bug 3242393 - overscroll effect missing from lists which drag but
are always visible

Change-Id: I20d73c452c7b98f1a046e356d0c6cdbfc8e5fe7a

13 years agoTypo in InputMethodManager's documentation
Gilles Debunne [Mon, 24 Jan 2011 22:48:14 +0000 (14:48 -0800)]
Typo in InputMethodManager's documentation

Change-Id: I711e6d24462e336546b789fac0b9c6f529ebe260

13 years agoMerge "NULL inputType text fields should never show the IME." into honeycomb
Gilles Debunne [Mon, 24 Jan 2011 22:46:57 +0000 (14:46 -0800)]
Merge "NULL inputType text fields should never show the IME." into honeycomb

13 years agoMerge "Non-editable TextViews should not display a cursor." into honeycomb
Gilles Debunne [Mon, 24 Jan 2011 22:46:42 +0000 (14:46 -0800)]
Merge "Non-editable TextViews should not display a cursor." into honeycomb

13 years agoDisable focus controller when WebView loses focus.
Leon Scroggins [Mon, 24 Jan 2011 22:43:47 +0000 (17:43 -0500)]
Disable focus controller when WebView loses focus.

Bug:3370821
Change-Id: Ia26a54e1c5ec050d76e60762f9a5eb4502d8c6e3

13 years agoMerge "Fix bug 3382994 - android.view.WindowManager$BadTokenException" into honeycomb
Adam Powell [Mon, 24 Jan 2011 22:35:11 +0000 (14:35 -0800)]
Merge "Fix bug 3382994 - android.view.WindowManager$BadTokenException" into honeycomb

13 years agoMerge "LayoutLib: Use special view cookie for include-merge case." into honeycomb
Xavier Ducrohet [Mon, 24 Jan 2011 22:31:28 +0000 (14:31 -0800)]
Merge "LayoutLib: Use special view cookie for include-merge case." into honeycomb

13 years agoFix bug 3382994 - android.view.WindowManager$BadTokenException
Adam Powell [Mon, 24 Jan 2011 22:28:37 +0000 (14:28 -0800)]
Fix bug 3382994 - android.view.WindowManager$BadTokenException

Remove pending callbacks when ActionMenuView is detached.

Change-Id: Ia61e446f60f10dd82476c00b4c11177182e7db60

13 years agoMerge "Fix bug 3237638 - make it easy to change a "refresh" AB button/icon into the...
Adam Powell [Mon, 24 Jan 2011 22:23:36 +0000 (14:23 -0800)]
Merge "Fix bug 3237638 - make it easy to change a "refresh" AB button/icon into the indeterminate progress icon" into honeycomb

13 years agoLayoutLib: Use special view cookie for include-merge case.
Xavier Ducrohet [Mon, 24 Jan 2011 22:03:21 +0000 (14:03 -0800)]
LayoutLib: Use special view cookie for include-merge case.

All items directly under the <merge> tag now return the view cookie
of the referencing <include> tag using a special class for
easy differentiation in the calling client.

Change-Id: I7a2a4e642be9564f47e256fd1586012497d34792

13 years agoFix bug 3237638 - make it easy to change a "refresh" AB button/icon
Adam Powell [Mon, 24 Jan 2011 19:48:54 +0000 (11:48 -0800)]
Fix bug 3237638 - make it easy to change a "refresh" AB button/icon
into the indeterminate progress icon

This fixes a bug that caused ActionViews to not be updated properly
after a pass through invalidateOptionsMenu/onPrepareOptionsMenu. Apps
can now set/clear action views to display progress spinner widgets or
anything else on demand.

Change-Id: I138eceb504177c6bb5b86d40a68a82973aa841a5

13 years agoMerge "Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder" into...
Andreas Huber [Mon, 24 Jan 2011 21:57:11 +0000 (13:57 -0800)]
Merge "Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder" into honeycomb

13 years agoAdd missing functions to math library.
Stephen Hines [Mon, 24 Jan 2011 20:03:51 +0000 (12:03 -0800)]
Add missing functions to math library.

This also updates the math test suite to exercise all the basic operator
functions (except __udivsi3 which may not be 100% necessary). There is also a
small fix for rsQuaternionMultiply().

Change-Id: Id157e6d5ebe2e20c17e8ea7b13ffaa74c241838c
b: 3203577

13 years agoNew orientation listener.
Jeff Brown [Sun, 23 Jan 2011 21:16:01 +0000 (13:16 -0800)]
New orientation listener.

The objective in this listener is to be more careful about the
signal processing to prevent spurious orientation changes
and to make all of the tweakable factors physically meaningful.

The calibration is defined in terms of time constants and
does not assume a particular discrete sampling rate.  This is
useful because it allows us to change the accelerometer sampling
interval if desired without having to change the calibration.
Moreover, the accelerometer sampling interval can vary +/- 20ms
from one sample to the next even in normal circumstances.

Proposed orientation changes are weighted by confidence factors
that vary exponentially in relation to how close the device
is to the ideal orientation change posture (screen is vertical,
angle is exactly at the midpoint of the orientation quadrant,
and no external acceleration beside gravity).  When not in an ideal
posture, the device takes proportionally longer to settle into a
new orientation state.

Added a little tool to plot the log output of the
WindowOrientationListener.  Check the README for more information
about how to use it.

Change-Id: I787f02d03582ff26367df65eda8d9ce85c5cb343