42409 Commits

Author SHA1 Message Date
Andreas Huber
da6f929584 Merge "Make AwesomePlayer's reset process more verbose to track down ANRs (again)" into honeycomb 2011-01-24 10:45:59 -08:00
Santosh Madhava
3648691259 Merge "Resubmit of 'Fix for isssue 3369932 : stopPreview returns 0'" into honeycomb 2011-01-24 10:45:36 -08:00
Joe Onorato
da34e13bb4 Merge "Remove unwanted parameter (it was a typo)." into honeycomb 2011-01-24 10:43:55 -08:00
Andreas Huber
aac2e9e156 Make AwesomePlayer's reset process more verbose to track down ANRs (again)
Change-Id: I0d66994cc4295fd5ceeaaf151ce913ed0dd995f9
related-to-bug: 3362836
2011-01-24 10:31:52 -08:00
Santosh Madhava
4ff8a0b410 Resubmit of 'Fix for isssue 3369932 : stopPreview returns 0'
Change-Id: Id2e4598f29191c506ab99a112bd7743f6a794cd6
2011-01-24 10:17:05 -08:00
Jean-Michel Trivi
dc871fd870 resolved conflicts for merge of 3ebade5d to honeycomb-plus-aosp
Change-Id: Ifd5f88f75feeb2dad1131e6a262dff3b979bdf8d
2011-01-24 09:35:57 -08:00
Joe Onorato
e595cad6ee Remove unwanted parameter (it was a typo).
Bug: 3241144
Change-Id: I569f6c8dffb17041a422be6084b6eab89624a57b
2011-01-24 09:25:35 -08:00
Chet Haase
67005b05cc Merge "Use optimized display lists for all hwaccelerated rendering" into honeycomb 2011-01-24 09:24:59 -08:00
Daniel Sandler
78b32fc451 Merge "Smoothly hide the list when there are no notifications." into honeycomb 2011-01-24 08:59:08 -08:00
Gilles Debunne
7108724d4b Merge "New fix for popup behavior in AutoCompleteTextViews." into honeycomb 2011-01-24 08:58:07 -08:00
Chet Haase
daf98e941e 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
2011-01-24 08:43:20 -08:00
satok
57ffc00239 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
2011-01-25 00:52:53 +09:00
Svetoslav Ganov
156f20919b 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
2011-01-24 05:21:32 -08:00
Eric Laurent
f6a61c0abc am 39999e3a: (-s ours) am c5694ebd: Merge "do not merge - Fix issue 3371096." into gingerbread
* commit '39999e3af59599051c6ae0fc8d90cd4bda67ead3':
  do not merge - Fix issue 3371096.
2011-01-24 00:02:04 -08:00
Dianne Hackborn
acba73c100 am 19fdccfd: (-s ours) am 11576102: Fix issue #3373438: Update GBMR versions
* commit '19fdccfdf85148c0dde68b6ac8bb075b192193e4':
  Fix issue #3373438: Update GBMR versions
2011-01-23 23:54:37 -08:00
Adam Powell
a19ca02ce2 am b4ae633d: am 2bed570b: Fix bug 3367627 - spontaneous crash
* commit 'b4ae633df775f99c4c0e47da228d71489d44b353':
  Fix bug 3367627 - spontaneous crash
2011-01-23 23:44:35 -08:00
Joe Onorato
c8146b5308 am 680e7711: am 2cd06609: Merge "Fix typo that causes brigtness to be wrong." into honeycomb
* commit '680e77116cbe34ce0f012639bf074abe1253d53c':
  Fix typo that causes brigtness to be wrong.
2011-01-23 23:44:30 -08:00
Adam Powell
8aca17f1e0 am 9c01f219: am 7ed3d005: Merge "Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge" into honeycomb
* commit '9c01f219503e9bd62127fb85e1d4f5c7f59291cb':
  Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge
2011-01-23 23:44:24 -08:00
Gil Dobjanschi
6c170eccf2 am 9c265fcc: Merge "VideoEditor:Clear Surface API addition" into honeycomb
* commit '9c265fcc846699050bee169f60defff4f5a73b5c':
  VideoEditor:Clear Surface API addition
2011-01-23 23:38:08 -08:00
Dianne Hackborn
1eefe1facc am 582a3944: Merge "Fix a regression in the wallpaper drawing." into honeycomb
* commit '582a3944f704d7fde660126ef92cf4736c734ac2':
  Fix a regression in the wallpaper drawing.
2011-01-23 23:38:05 -08:00
Adam Powell
caa54b3912 am 77ddb026: Merge "Fix bug 3360953 - Toasts use the holo theme in non-HC apps" into honeycomb
* commit '77ddb0262094e0d30d50572e7b1a76d7b5977f46':
  Fix bug 3360953 - Toasts use the holo theme in non-HC apps
2011-01-23 23:37:59 -08:00
Adam Powell
b3f079bc67 am a6ce0819: Merge "Fix bug 3381275 - Too much padding on the left of a custom nav bar" into honeycomb
* commit 'a6ce081970a78233ba6b9792149ee5f1390cba7b':
  Fix bug 3381275 - Too much padding on the left of a custom nav bar
2011-01-23 23:37:44 -08:00
Joe Onorato
faf083ef0b am 4c541b13: Merge "visibility ("lights out") API." into honeycomb
* commit '4c541b1303b0ee2b9b0d19bee85d3780c5c4c110':
  visibility ("lights out") API.
2011-01-23 23:36:57 -08:00
Adam Powell
b4ae633df7 am 2bed570b: Fix bug 3367627 - spontaneous crash
* commit '2bed570bba183249c6ca9ca1151d1d23808de8c1':
  Fix bug 3367627 - spontaneous crash
2011-01-23 23:36:52 -08:00
Joe Onorato
680e77116c am 2cd06609: Merge "Fix typo that causes brigtness to be wrong." into honeycomb
* commit '2cd06609b4564d4991e9bf79301fde0bb53833ed':
  Fix typo that causes brigtness to be wrong.
2011-01-23 23:36:37 -08:00
Adam Powell
9c01f21950 am 7ed3d005: Merge "Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge" into honeycomb
* commit '7ed3d005ac5ed26221ccc3596c0b81522909ca76':
  Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge
2011-01-23 23:36:25 -08:00
Gil Dobjanschi
9c265fcc84 Merge "VideoEditor:Clear Surface API addition" into honeycomb 2011-01-23 22:32:28 -08:00
Dianne Hackborn
582a3944f7 Merge "Fix a regression in the wallpaper drawing." into honeycomb 2011-01-23 22:12:39 -08:00
Jeff Brown
033f63a1a5 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
2011-01-23 22:01:49 -08:00
Adam Powell
77ddb02620 Merge "Fix bug 3360953 - Toasts use the holo theme in non-HC apps" into honeycomb 2011-01-23 22:00:29 -08:00
Dheeraj Sharma
05d9f81bd6 VideoEditor:Clear Surface API addition
Change-Id: I824c4a9d7f0a11ad60f8045eccc8b6139b66af22
2011-01-23 21:41:34 -08:00
Adam Powell
472b026dc1 Fix bug 3360953 - Toasts use the holo theme in non-HC apps
Change-Id: Ic386b35ec47613655f4b17395090959f9031e3ad
2011-01-23 21:15:23 -08:00
Adam Powell
a6ce081970 Merge "Fix bug 3381275 - Too much padding on the left of a custom nav bar" into honeycomb 2011-01-23 20:52:38 -08:00
Oscar Rydhe
a113a075ca 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
2011-01-24 12:52:07 +08:00
Adam Powell
2a7ea67a03 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
2011-01-23 20:35:28 -08:00
Joe Onorato
4c541b1303 Merge "visibility ("lights out") API." into honeycomb 2011-01-23 19:26:13 -08:00
Joe Onorato
664644d9e0 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
2011-01-23 19:22:52 -08:00
Adam Powell
2bed570bba Fix bug 3367627 - spontaneous crash
Fix a little-traversed codepath that could cause some grief.

Change-Id: I75e6931c3208a0f18b40446f23a2fdd5a0065ce8
2011-01-23 19:20:43 -08:00
Joe Onorato
2cd06609b4 Merge "Fix typo that causes brigtness to be wrong." into honeycomb 2011-01-23 18:26:02 -08:00
Gilles Debunne
4a74dbc3f2 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
2011-01-23 18:20:43 -08:00
Adam Powell
7ed3d005ac Merge "Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge" into honeycomb 2011-01-23 18:16:09 -08:00
Adam Powell
b0ff6f9955 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
2011-01-23 18:07:45 -08:00
Dianne Hackborn
ee18bc7e3c am 802fb15d: am 9476f045: Merge "Fix issue #3215261: NPE in WiFi Settings" into honeycomb
* commit '802fb15d2a9d6e094627c561100aabbac3689d94':
  Fix issue #3215261: NPE in WiFi Settings
2011-01-23 17:50:23 -08:00
Jason Sams
c55de66ad2 Cleanup script init to fix bogus log printing and
reduce memory churn.

Change-Id: I0bf5392102e3d59fea81f5f9f832887113602b7f
2011-01-23 17:48:45 -08:00
Dianne Hackborn
802fb15d2a am 9476f045: Merge "Fix issue #3215261: NPE in WiFi Settings" into honeycomb
* commit '9476f04590ebea2d74ebb60775f2648323239512':
  Fix issue #3215261: NPE in WiFi Settings
2011-01-23 17:48:23 -08:00
Dianne Hackborn
9476f04590 Merge "Fix issue #3215261: NPE in WiFi Settings" into honeycomb 2011-01-23 17:45:59 -08:00
Dianne Hackborn
89ba6750e5 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
2011-01-23 17:35:08 -08:00
Adam Powell
bb5536015a am ab847acd: am 12e2500b: Merge "Fix bug 3381563 - fix segmented button styles" into honeycomb
* commit 'ab847acd5e116cc60efbc6ac5a332ee5353966c0':
  Fix bug 3381563 - fix segmented button styles
2011-01-23 17:13:34 -08:00
Adam Powell
ab847acd5e am 12e2500b: Merge "Fix bug 3381563 - fix segmented button styles" into honeycomb
* commit '12e2500b27cf53880baff5bcdc6c30868ecde744':
  Fix bug 3381563 - fix segmented button styles
2011-01-23 17:10:57 -08:00
Jim Miller
6cda2dd5f8 am 62a01eca: am 93727e84: Merge "Fix 3373106: add hint text to PasswordUnlock" into honeycomb
* commit '62a01eca1d40217ce9bcae0734168b98f0534fb3':
  Fix 3373106: add hint text to PasswordUnlock
2011-01-23 17:10:24 -08:00