40346 Commits

Author SHA1 Message Date
Dianne Hackborn
5d9d03a023 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
2011-01-24 21:23:03 -08:00
Romain Guy
169fafe679 Merge "Fix rendering issues with animated layers. Bug #3385247" into honeycomb 2011-01-24 20:38:52 -08:00
Romain Guy
8168396d1a 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
2011-01-24 20:40:18 -08:00
Romain Guy
d88f54c5c4 Fix rendering issues in Movie Studio.
Change-Id: I5b293767b9bdedeef0df4d27a179d0da48d7fe32
2011-01-24 20:22:49 -08:00
Romain Guy
92dcf629e1 Merge "Fix rendering issues in Movie Studio." into honeycomb 2011-01-24 20:20:50 -08:00
Adam Powell
68b29902c0 Merge "Fix bug 3385930 - Holo.SegmentedButton contentarea and disabled state broken" into honeycomb 2011-01-24 19:45:41 -08:00
Mathias Agopian
34edd5b267 Merge "tone down the log spew regarding taking screenshots." into honeycomb 2011-01-24 19:45:35 -08:00
Adam Powell
6d0576d3e8 Fix bug 3385930 - Holo.SegmentedButton contentarea and disabled state broken
Fix padding and add disabled states for the group button assets.

Change-Id: Iad7f9022de895fbd6875989289f600d098145b1b
2011-01-24 19:37:59 -08:00
Wu-cheng Li
c8de291ee5 Merge "Improved conversion accuracy of exif geotag data" into honeycomb 2011-01-24 18:48:34 -08:00
Romain Guy
2ff6d70521 Merge "Enable partial invalidates when rendering with OpenGL." into honeycomb 2011-01-24 18:38:00 -08:00
Romain Guy
7d7b5490a0 Enable partial invalidates when rendering with OpenGL.
Change-Id: Ie8be06c4776b815e8737753eb8003b4fd8936130
2011-01-24 18:39:56 -08:00
Jim Miller
7a9662f7c8 Merge "Fix 3382123: Set default state of LockScreen portrait kb" into honeycomb 2011-01-24 18:20:53 -08:00
Mathias Agopian
3431f47b47 tone down the log spew regarding taking screenshots.
Change-Id: I673806bda23eba6aab25f7505b7e0170afc9920b
2011-01-24 18:13:54 -08:00
Justin Ho
9c91b3f9d6 Merge "Updated overscroll assets" into honeycomb 2011-01-24 18:05:46 -08:00
Justin Ho
40bcb0f298 Updated overscroll assets
Change-Id: I8387ee6de7f387ed36b13d9ac6322356f7833fcf
2011-01-24 18:04:45 -08:00
Chet Haase
21d405f5fa Merge "Fix for display list problem with listview items." into honeycomb 2011-01-24 17:59:35 -08:00
Chet Haase
3b2b0fc257 Fix for display list problem with listview items.
We were not correctly invalidating items that were being attached
to listviews.

Change-Id: I5d29a82c4276f09e401c6869ab1e86a3c8281366
2011-01-24 17:53:52 -08:00
Andy Stadler
315fae2028 Merge "Throw Base64DataException instead of IOException" into honeycomb 2011-01-24 17:43:30 -08:00
Jason Sams
a4967facf4 Merge "Cleanup script init to fix bogus log printing and reduce memory churn." into honeycomb 2011-01-24 17:30:38 -08:00
Jim Miller
935dedf663 Merge "Fix 3385152: Update lockscreen font." into honeycomb 2011-01-24 17:29:23 -08:00
Adam Powell
532c145540 Merge "Fix bug 3383867 - default height for dropdown list items in framework layouts" into honeycomb 2011-01-24 17:24:25 -08:00
Adam Powell
5df3426a44 Fix bug 3383867 - default height for dropdown list items in framework layouts
Change-Id: I8a7553c3dc6b8c0eb95445c796c8298d1cdecc01
2011-01-24 17:15:52 -08:00
Jim Miller
d2d31dadb0 Merge "Fix 3381660: Update PasswordUnlock screen's EditText background." into honeycomb 2011-01-24 17:13:30 -08:00
James Dong
9807a7b270 Merge "Reduce the JNI native method visibility" into honeycomb 2011-01-24 17:12:36 -08:00
Chet Haase
50d4de21ee Merge "Fix bug with display lists and layout." into honeycomb 2011-01-24 17:03:30 -08:00
Jim Miller
85d3ef337b Merge "Fix 3381304: disable key preview in LockScreen's qwerty keyboard" into honeycomb 2011-01-24 17:03:07 -08:00
Chet Haase
5af048c791 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
2011-01-24 17:00:32 -08:00
Jeff Brown
8bb7e488e2 Merge "Fix regression setting input windows." into honeycomb 2011-01-24 16:58:17 -08:00
Andy Stadler
c5a0ce242f 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
2011-01-24 16:47:56 -08:00
Jeff Brown
2e44b0788f Fix regression setting input windows.
Change-Id: I24d58a02f69ae40f03b133d487354a883585e93e
2011-01-24 16:44:18 -08:00
Jim Miller
e57c0bd4c6 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
2011-01-24 16:20:29 -08:00
Stephen Hines
3dd0908a65 Merge "Add missing functions to math library." into honeycomb 2011-01-24 16:14:43 -08:00
James Dong
98dcca909a Reduce the JNI native method visibility
bug -3385135

Change-Id: I568b53d2279622b44ca5b8a23a8691ca3395f9a5
2011-01-24 15:56:11 -08:00
Jim Miller
2dbba00260 Fix 3385152: Update lockscreen font.
Change-Id: Ie72cded40cf408627d7a3deddd7b14c42528a1a0
2011-01-24 15:51:52 -08:00
Jeff Brown
aaa55d3f45 Merge "New orientation listener." into honeycomb 2011-01-24 15:31:22 -08:00
Svetoslav Ganov
33322052ed Merge "DatePicker is picking the wrong date" into honeycomb 2011-01-24 15:26:42 -08:00
Jim Miller
e4c2d806a8 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
2011-01-24 15:24:01 -08:00
Adam Powell
1914971c6b Merge "Fix bug 3242393 - overscroll effect missing from lists which drag but are always visible" into honeycomb 2011-01-24 15:03:16 -08:00
Leon Scroggins
8801ad3526 Merge "Disable focus controller when WebView loses focus." into honeycomb 2011-01-24 15:02:10 -08:00
Adam Powell
4ce35419ce Fix bug 3242393 - overscroll effect missing from lists which drag but
are always visible

Change-Id: I20d73c452c7b98f1a046e356d0c6cdbfc8e5fe7a
2011-01-24 14:55:00 -08:00
Gilles Debunne
7c8c6d6892 Typo in InputMethodManager's documentation
Change-Id: I711e6d24462e336546b789fac0b9c6f529ebe260
2011-01-24 14:48:14 -08:00
Gilles Debunne
88b5953ab2 Merge "NULL inputType text fields should never show the IME." into honeycomb 2011-01-24 14:46:57 -08:00
Gilles Debunne
705a27a97c Merge "Non-editable TextViews should not display a cursor." into honeycomb 2011-01-24 14:46:42 -08:00
Leon Scroggins
b4ffd11284 Disable focus controller when WebView loses focus.
Bug:3370821
Change-Id: Ia26a54e1c5ec050d76e60762f9a5eb4502d8c6e3
2011-01-24 17:43:47 -05:00
Adam Powell
c831e3192c Merge "Fix bug 3382994 - android.view.WindowManager$BadTokenException" into honeycomb 2011-01-24 14:35:11 -08:00
Xavier Ducrohet
5b9936f651 Merge "LayoutLib: Use special view cookie for include-merge case." into honeycomb 2011-01-24 14:31:28 -08:00
Adam Powell
55767443ad Fix bug 3382994 - android.view.WindowManager$BadTokenException
Remove pending callbacks when ActionMenuView is detached.

Change-Id: Ia61e446f60f10dd82476c00b4c11177182e7db60
2011-01-24 14:28:37 -08:00
Adam Powell
bffb0a2586 Merge "Fix bug 3237638 - make it easy to change a "refresh" AB button/icon into the indeterminate progress icon" into honeycomb 2011-01-24 14:23:36 -08:00
Xavier Ducrohet
82b9232565 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
2011-01-24 14:14:53 -08:00
Adam Powell
abbcc241c0 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
2011-01-24 14:03:16 -08:00