OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 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 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

13 years agoMerge "Import revised translations. DO NOT MERGE" into honeycomb
Eric Fischer [Mon, 24 Jan 2011 21:46:28 +0000 (13:46 -0800)]
Merge "Import revised translations.  DO NOT MERGE" into honeycomb

13 years agoSupport non-multiple-of-16 dimensions in MPEG4/H.263 software decoder
Andreas Huber [Mon, 24 Jan 2011 21:36:30 +0000 (13:36 -0800)]
Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder

Change-Id: Ia22ebce66d9c35de4b04c3eedc9495847796901d
related-to-bug: 3384367

13 years agoMerge "The .mkv parser lib leaves some tracks NULL if it doesn't support them." into...
Andreas Huber [Mon, 24 Jan 2011 21:29:58 +0000 (13:29 -0800)]
Merge "The .mkv parser lib leaves some tracks NULL if it doesn't support them." into honeycomb

13 years agoMerge "A few small cleanning-ups." into honeycomb
Huahui Wu [Mon, 24 Jan 2011 21:25:17 +0000 (13:25 -0800)]
Merge "A few small cleanning-ups." into honeycomb

13 years agoMerge "Vertically align SSID/PLMN on lockscreen." into honeycomb
Daniel Sandler [Mon, 24 Jan 2011 21:14:35 +0000 (13:14 -0800)]
Merge "Vertically align SSID/PLMN on lockscreen." into honeycomb

13 years agoMerge "Updated checkbox assets for legacy applications" into honeycomb
Justin Ho [Mon, 24 Jan 2011 20:55:29 +0000 (12:55 -0800)]
Merge "Updated checkbox assets for legacy applications" into honeycomb

13 years agoNon-editable TextViews should not display a cursor.
Gilles Debunne [Mon, 24 Jan 2011 20:54:10 +0000 (12:54 -0800)]
Non-editable TextViews should not display a cursor.

Bug 3381320

The tests were inconsistent between makeBlink and onDraw.
If the text is non-editable, do not draw the cursor.

Change-Id: I0405e59444261a553e868b3ae5bdddd278f60bb2

13 years agoVertically align SSID/PLMN on lockscreen.
Daniel Sandler [Mon, 24 Jan 2011 20:45:57 +0000 (15:45 -0500)]
Vertically align SSID/PLMN on lockscreen.

Bug: 3373818
Change-Id: Ie20584c5247bd52e376ddcb97205ba967ce3a8ea

13 years agoThe .mkv parser lib leaves some tracks NULL if it doesn't support them.
Andreas Huber [Mon, 24 Jan 2011 20:46:12 +0000 (12:46 -0800)]
The .mkv parser lib leaves some tracks NULL if it doesn't support them.

But it still counts them as valid tracks...

Change-Id: I77e8fd24cce91a586e8e418759db55b6eba449c0
related-to-bug: 3377186

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 24 Jan 2011 20:35:32 +0000 (12:35 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: I4babd2856874af87e991dab0f5c9696e54ca49b4

13 years agoNULL inputType text fields should never show the IME.
Gilles Debunne [Mon, 24 Jan 2011 20:33:56 +0000 (12:33 -0800)]
NULL inputType text fields should never show the IME.

Bug 3381317

Changes made in https://android-git.corp.google.com/g/#change,91880
displayed the IME onFocus. However, the test was not consistent to what
is done in touch event. textIsEditable is now checked too.

Change-Id: If11382c1c90a557839b87d62494253470c42b621

13 years agoA few small cleanning-ups.
Huahui Wu [Mon, 24 Jan 2011 20:07:37 +0000 (12:07 -0800)]
A few small cleanning-ups.

1. Remove mDeferMultiTouch in WebView, it was for testing only but
we don't need it now since we always pass MultiTouch to WebKit.

2. Remove the use of mDeferMultiTouch in DRT tests.

3. Correct the index of getX(Y) for the second touch point in the
debug string of MotionEvent.

Change-Id: Ib63cfc5935af1a169ed26b2b138f74908492bc18

13 years agoUpdated checkbox assets for legacy applications
Justin Ho [Mon, 24 Jan 2011 20:07:37 +0000 (12:07 -0800)]
Updated checkbox assets for legacy applications

Change-Id: I30c39101b365a0bcc78e1b5ff67a9d2ae732e5ae

13 years agoMerge "Make AwesomePlayer's reset process more verbose to track down ANRs (again...
Andreas Huber [Mon, 24 Jan 2011 18:45:59 +0000 (10:45 -0800)]
Merge "Make AwesomePlayer's reset process more verbose to track down ANRs (again)" into honeycomb

13 years agoMerge "Resubmit of 'Fix for isssue 3369932 : stopPreview returns 0'" into honeycomb
Santosh Madhava [Mon, 24 Jan 2011 18:45:36 +0000 (10:45 -0800)]
Merge "Resubmit of 'Fix for isssue 3369932 : stopPreview returns 0'" into honeycomb

13 years agoMerge "Remove unwanted parameter (it was a typo)." into honeycomb
Joe Onorato [Mon, 24 Jan 2011 18:43:55 +0000 (10:43 -0800)]
Merge "Remove unwanted parameter (it was a typo)." into honeycomb

13 years agoMake AwesomePlayer's reset process more verbose to track down ANRs (again)
Andreas Huber [Mon, 24 Jan 2011 18:30:05 +0000 (10:30 -0800)]
Make AwesomePlayer's reset process more verbose to track down ANRs (again)

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

13 years agoResubmit of 'Fix for isssue 3369932 : stopPreview returns 0'
Santosh Madhava [Mon, 24 Jan 2011 18:17:05 +0000 (10:17 -0800)]
Resubmit of 'Fix for isssue 3369932 : stopPreview returns 0'

Change-Id: Id2e4598f29191c506ab99a112bd7743f6a794cd6

13 years agoRemove unwanted parameter (it was a typo).
Joe Onorato [Mon, 24 Jan 2011 17:22:12 +0000 (09:22 -0800)]
Remove unwanted parameter (it was a typo).

Bug: 3241144
Change-Id: I569f6c8dffb17041a422be6084b6eab89624a57b

13 years agoMerge "Use optimized display lists for all hwaccelerated rendering" into honeycomb
Chet Haase [Mon, 24 Jan 2011 17:24:59 +0000 (09:24 -0800)]
Merge "Use optimized display lists for all hwaccelerated rendering" into honeycomb

13 years agoMerge "Smoothly hide the list when there are no notifications." into honeycomb
Daniel Sandler [Mon, 24 Jan 2011 16:59:08 +0000 (08:59 -0800)]
Merge "Smoothly hide the list when there are no notifications." into honeycomb

13 years agoMerge "New fix for popup behavior in AutoCompleteTextViews." into honeycomb
Gilles Debunne [Mon, 24 Jan 2011 16:58:07 +0000 (08:58 -0800)]
Merge "New fix for popup behavior in AutoCompleteTextViews." into honeycomb

13 years agoUse optimized display lists for all hwaccelerated rendering
Chet Haase [Mon, 10 Jan 2011 22:10:36 +0000 (14:10 -0800)]
Use optimized display lists for all hwaccelerated rendering

Previously, display lists were used only if hardware acceleration
was enabled for an application (hardwareAccelerated=true) *and* if
setDrawingCacheEnabled(true) was called. This change makes the framework
use display lists for all views in an application if hardware acceleration
is enabled.

In addition, display list renderering has been optimized so that
any view's recreation of its own display list (which is necessary whenever
the visuals of that view change) will not cause any other display list
in its parent hierarchy to change. Instead, when there are any visual
changes in the hierarchy, only those views which need to have new
display list content will recreate their display lists.

This optimization works by caching display list references in each
parent display list (so the container of some child will refer to its
child's display list by a reference to the child's display list). Then when
a view needs to recreate its display list, it will do so inside the same
display list object. This will cause the content to get refreshed, but not
the reference to that content. Then when the view hierarchy is redrawn,
it will automatically pick up the new content from the old reference.

This optimization will not necessarily improve performance when applications
need to update the entire view hierarchy or redraw the entire screen, but it does
show significant improvements when redrawing only a portion of the screen,
especially when the regions that are not refreshed are complex and time-
consuming to redraw.

Change-Id: I68d21cac6a224a05703070ec85253220cb001eb4

13 years agoAdd a way that subtype will be excluded from a last input method
satok [Mon, 24 Jan 2011 15:11:47 +0000 (00:11 +0900)]
Add a way that subtype will be excluded from a last input method

Bug: 3382702

- Added SUBTYPE_EXTRAVALUE_EXCLUDE_FROM_LAST_IME and if subtype has this extra value,
It will be excluded from a last input method which will be called from switchToLastInputMethod

Change-Id: I03ae10e07f978dcc3a83dd77b10613048dce7f22

13 years agoDatePicker is picking the wrong date
Svetoslav Ganov [Mon, 24 Jan 2011 10:13:36 +0000 (02:13 -0800)]
DatePicker is picking the wrong date

    bug:3375074

    1. The logic for updating the higher rank fields on wrapping of
       lower rank ones was incorrect. Updated that logic.

    2. On reaching the min/max date the spinners did not stop
       when reaching that date. Now spinners stop at min/max.

    3. Fixed a couple of edge case bugs while setting the
       the min and max dates of the DatePicker on the fly.

    4. Restricted the scrolling/flinging to end at the min
       and max dates.

Change-Id: Ibb588ea2cf951cf8d50328bbfbe7ebdad7ee8067

13 years agoMerge "VideoEditor:Clear Surface API addition" into honeycomb
Gil Dobjanschi [Mon, 24 Jan 2011 06:32:28 +0000 (22:32 -0800)]
Merge "VideoEditor:Clear Surface API addition" into honeycomb

13 years agoMerge "Fix a regression in the wallpaper drawing." into honeycomb
Dianne Hackborn [Mon, 24 Jan 2011 06:12:39 +0000 (22:12 -0800)]
Merge "Fix a regression in the wallpaper drawing." into honeycomb

13 years agoFix a regression in the wallpaper drawing.
Jeff Brown [Mon, 24 Jan 2011 06:01:49 +0000 (22:01 -0800)]
Fix a regression in the wallpaper drawing.

We should not lock and post the surface if we don't intend to
draw anything into it.

Change-Id: Idfd1cf127bdc1f5e1f5e783a8991d44de90878da

13 years agoMerge "Fix bug 3360953 - Toasts use the holo theme in non-HC apps" into honeycomb
Adam Powell [Mon, 24 Jan 2011 06:00:29 +0000 (22:00 -0800)]
Merge "Fix bug 3360953 - Toasts use the holo theme in non-HC apps" into honeycomb

13 years agoVideoEditor:Clear Surface API addition
Dheeraj Sharma [Sun, 23 Jan 2011 23:14:05 +0000 (15:14 -0800)]
VideoEditor:Clear Surface API addition

Change-Id: I824c4a9d7f0a11ad60f8045eccc8b6139b66af22

13 years agoFix bug 3360953 - Toasts use the holo theme in non-HC apps
Adam Powell [Mon, 24 Jan 2011 05:15:23 +0000 (21:15 -0800)]
Fix bug 3360953 - Toasts use the holo theme in non-HC apps

Change-Id: Ic386b35ec47613655f4b17395090959f9031e3ad

13 years agoMerge "Fix bug 3381275 - Too much padding on the left of a custom nav bar" into honeycomb
Adam Powell [Mon, 24 Jan 2011 04:52:38 +0000 (20:52 -0800)]
Merge "Fix bug 3381275 - Too much padding on the left of a custom nav bar" into honeycomb

13 years agoImproved conversion accuracy of exif geotag data
Oscar Rydhe [Fri, 14 Jan 2011 08:23:48 +0000 (09:23 +0100)]
Improved conversion accuracy of exif geotag data

Changed degrees and minutes of geotag data into double to avoid
data loss during cast.

Also improved error handling if geotag data can't be parsed.

bug:3381761
Change-Id: I864843c7fc699fe81e6acba801fe46d10a01925b

13 years agoFix bug 3381275 - Too much padding on the left of a custom nav bar
Adam Powell [Mon, 24 Jan 2011 04:25:15 +0000 (20:25 -0800)]
Fix bug 3381275 - Too much padding on the left of a custom nav bar

Hide the title layout if it's empty to omit any included padding.

Change-Id: I01d287c8e214ed3648a47f5ca00b50f78d1659ad

13 years agoMerge "visibility ("lights out") API." into honeycomb
Joe Onorato [Mon, 24 Jan 2011 03:26:13 +0000 (19:26 -0800)]
Merge "visibility ("lights out") API." into honeycomb

13 years agovisibility ("lights out") API.
Joe Onorato [Mon, 24 Jan 2011 01:53:23 +0000 (17:53 -0800)]
visibility ("lights out") API.

1. Views may setSystemUiVisibility() to recommend that
the system chrome (status bar or other UI) show or hide
itself.  (This functionality was previously available only
via the FLAG_FULLSCREEN window flag for some SystemUI
implementations.)

2. Views may register a OnSystemUiVisibilityChangedListener
on a view, and find out when the system UI actually
appears or disappears, allowing apps to coordinate the
appearance of their own UI if desired.

Bug: 3241144
Change-Id: Ia1758d94099182d49a1e3688ea2738ae4995b829

13 years agoFix bug 3367627 - spontaneous crash
Adam Powell [Mon, 24 Jan 2011 03:17:53 +0000 (19:17 -0800)]
Fix bug 3367627 - spontaneous crash

Fix a little-traversed codepath that could cause some grief.

Change-Id: I75e6931c3208a0f18b40446f23a2fdd5a0065ce8

13 years agoMerge "Fix typo that causes brigtness to be wrong." into honeycomb
Joe Onorato [Mon, 24 Jan 2011 02:26:02 +0000 (18:26 -0800)]
Merge "Fix typo that causes brigtness to be wrong." into honeycomb

13 years agoNew fix for popup behavior in AutoCompleteTextViews.
Gilles Debunne [Mon, 24 Jan 2011 01:23:31 +0000 (17:23 -0800)]
New fix for popup behavior in AutoCompleteTextViews.

Bug 3374144

The fix in https://android-git.corp.google.com/g/#change,91880 is not
sufficient. An updated adapter needs to be able to force an update of
the poup result list.

Addded a flag that prevents the popup from being re-opened when it has
previously been closed by a user action.

Change-Id: I45fab056c8ebd6dc4317430213f2bc37b51b79e3

13 years agoMerge "Fix bug 3380292 - long title in actionbar context mode pushes buttons over...
Adam Powell [Mon, 24 Jan 2011 02:16:09 +0000 (18:16 -0800)]
Merge "Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge" into honeycomb

13 years agoFix bug 3380292 - long title in actionbar context mode pushes buttons over edge
Adam Powell [Mon, 24 Jan 2011 02:07:45 +0000 (18:07 -0800)]
Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge

Also adjust default web text selection menu to allow overflow, preventing items
from being cut off in portrait or on smaller screens.

Change-Id: I686c9a8daab31a38c2fcb75ee1402f09f568c238

13 years agoCleanup script init to fix bogus log printing and
Jason Sams [Mon, 24 Jan 2011 01:48:45 +0000 (17:48 -0800)]
Cleanup script init to fix bogus log printing and
reduce memory churn.

Change-Id: I0bf5392102e3d59fea81f5f9f832887113602b7f

13 years agoMerge "Fix issue #3215261: NPE in WiFi Settings" into honeycomb
Dianne Hackborn [Mon, 24 Jan 2011 01:45:59 +0000 (17:45 -0800)]
Merge "Fix issue #3215261: NPE in WiFi Settings" into honeycomb

13 years agoFix issue #3215261: NPE in WiFi Settings
Dianne Hackborn [Mon, 24 Jan 2011 00:51:16 +0000 (16:51 -0800)]
Fix issue #3215261: NPE in WiFi Settings

And also fix #3343369: EGL_BAD_DISPLAY and/or broadcast intent
TIME_SET before boot completion

And a few more tweaks to animations to keep the wallpaper displayed
when needed.

And make more use of the drag and drop "rotation disabled" thing to
also use it while animating the screen rotation, since if we try to
start a new rotation while doing the animation we end up with a mess.

Change-Id: I373af305a6e23a92835abed96229a83e173f67ce

13 years agoMerge "Fix bug 3381563 - fix segmented button styles" into honeycomb
Adam Powell [Mon, 24 Jan 2011 01:07:59 +0000 (17:07 -0800)]
Merge "Fix bug 3381563 - fix segmented button styles" into honeycomb

13 years agoMerge "Fix 3373106: add hint text to PasswordUnlock" into honeycomb
Jim Miller [Mon, 24 Jan 2011 01:06:42 +0000 (17:06 -0800)]
Merge "Fix 3373106: add hint text to PasswordUnlock" into honeycomb

13 years agoFix bug 3381563 - fix segmented button styles
Adam Powell [Mon, 24 Jan 2011 01:00:59 +0000 (17:00 -0800)]
Fix bug 3381563 - fix segmented button styles

Change-Id: Ie191ef55548f2035012f643ad6ef434a4b10fff0