Commit Graph

26522 Commits

Author SHA1 Message Date
Huahui Wu
ac74723924 Merge "A few small cleanning-ups." into honeycomb 2011-01-24 13:25:17 -08:00
Daniel Sandler
fb85e51e1c Merge "Vertically align SSID/PLMN on lockscreen." into honeycomb 2011-01-24 13:14:35 -08:00
Justin Ho
3050e3c0b8 Merge "Updated checkbox assets for legacy applications" into honeycomb 2011-01-24 12:55:29 -08:00
Andreas Huber
071e5d38da 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
f71c66d2b4 Merge "Resubmit of 'Fix for isssue 3369932 : stopPreview returns 0'" into honeycomb 2011-01-24 10:45:36 -08:00
Joe Onorato
946566e14b Merge "Remove unwanted parameter (it was a typo)." into honeycomb 2011-01-24 10:43:55 -08:00
Chet Haase
b65ef09bc6 Merge "Use optimized display lists for all hwaccelerated rendering" into honeycomb 2011-01-24 09:24:59 -08:00
Daniel Sandler
0adceefce0 Merge "Smoothly hide the list when there are no notifications." into honeycomb 2011-01-24 08:59:08 -08:00
Gilles Debunne
7637510357 Merge "New fix for popup behavior in AutoCompleteTextViews." into honeycomb 2011-01-24 08:58:07 -08:00
Chet Haase
47ab362e8d 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
Gil Dobjanschi
cda20d3b7c Merge "VideoEditor:Clear Surface API addition" into honeycomb 2011-01-23 22:32:28 -08:00
Dianne Hackborn
295c34358b Merge "Fix a regression in the wallpaper drawing." into honeycomb 2011-01-23 22:12:39 -08:00
Adam Powell
03fbc7495d Merge "Fix bug 3360953 - Toasts use the holo theme in non-HC apps" into honeycomb 2011-01-23 22:00:29 -08:00
Adam Powell
964697ccf9 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
Joe Onorato
9dcb68a4e2 Merge "visibility ("lights out") API." into honeycomb 2011-01-23 19:26:13 -08:00
Joe Onorato
16c415a62b Merge "Fix typo that causes brigtness to be wrong." into honeycomb 2011-01-23 18:26:02 -08:00
Adam Powell
86d494ddf5 Merge "Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge" into honeycomb 2011-01-23 18:16:09 -08:00
Dianne Hackborn
e9650dfaf8 Merge "Fix issue #3215261: NPE in WiFi Settings" into honeycomb 2011-01-23 17:45:59 -08:00
Adam Powell
34c204773b Merge "Fix bug 3381563 - fix segmented button styles" into honeycomb 2011-01-23 17:07:59 -08:00
Jim Miller
9676003b5e Merge "Fix 3373106: add hint text to PasswordUnlock" into honeycomb 2011-01-23 17:06:42 -08:00
Jesse Wilson
8965f7d951 Merge "Don't call broken+deprecated SamplingProfiler.writeHprofData" into honeycomb 2011-01-23 16:40:53 -08:00
Romain Guy
1b8daa9929 Merge "Fix bitmap meshes to work in display lists." into honeycomb 2011-01-23 16:34:08 -08:00
Dianne Hackborn
7366fb7b39 Merge "aapt: Allow raw "%" in unformatted string-arrays" into honeycomb 2011-01-23 16:30:53 -08:00
Romain Guy
57abff98cf Merge "Add support for arcs." into honeycomb 2011-01-23 16:12:50 -08:00
Adam Powell
3e76ac990b Merge "Fix bug 3299208 - Some apps' dialogs aren't show()ing successfully" into honeycomb 2011-01-23 16:09:54 -08:00
Dianne Hackborn
ddbdf97920 Merge "Final (hopefully) API cleanup." into honeycomb 2011-01-23 14:48:09 -08:00
Romain Guy
759569c0c4 Merge "Add support for ovals and stroked rectangles." into honeycomb 2011-01-23 14:17:28 -08:00
Dan Morrill
9230c9b3ff Merge "Adding faketouch feature." into honeycomb 2011-01-23 14:17:18 -08:00
Jeff Brown
6c97ff0f14 Merge "Avoid unnecessarily redrawing the wallpaper." into honeycomb 2011-01-23 13:39:23 -08:00
Jeff Brown
e897bcccb0 Merge "Fix spurious resizes during rotation animation." into honeycomb 2011-01-23 13:39:10 -08:00
Jeff Brown
33ad533310 Merge "Fix SENSOR_LANDSCAPE and SENSOR_PORTRAIT" into honeycomb 2011-01-23 13:38:51 -08:00
Dianne Hackborn
ad224115cc Merge "Fix issue #3302006: Cannot see the dialog lunched from a transparent activity." into honeycomb 2011-01-23 12:00:41 -08:00
Romain Guy
842a7b7e6e Merge "Collapse sucessive calls to restoreToCount() in display lists." into honeycomb 2011-01-23 11:59:39 -08:00
Adam Powell
a08181d4ab Merge "Fix bug 3380299 - Update checkboxes to show checks." into honeycomb 2011-01-23 11:44:55 -08:00
Mike Lockwood
45177bbd59 Merge "Remove MTP related log spam" into honeycomb 2011-01-22 14:35:39 -08:00
Dianne Hackborn
14e12c3399 Merge "Whoops, actually exclude pre-HC apps." into honeycomb 2011-01-22 13:06:48 -08:00
Dianne Hackborn
33e0c8ebfd Merge "Fix issue #3377999: Activities need to be stopped when sleeping" into honeycomb 2011-01-22 11:38:48 -08:00
Romain Guy
17180f81dc Merge "Fix regression with hardware layers." into honeycomb 2011-01-22 00:39:16 -08:00
Dirk Dougherty
9d971f7713 Merge "doc change: update glibc/ubuntu min req for sdk. Add info about emulator performance." into honeycomb 2011-01-21 22:24:42 -08:00
Jaikumar Ganesh
1a171ac34e Merge "Connect other profiles when priority is auto connect." into honeycomb 2011-01-21 21:24:49 -08:00
Romain Guy
f9b821d397 Merge "Log only 1 line per process when using OpenGLRenderer." into honeycomb 2011-01-21 21:15:40 -08:00
Jesse Wilson
a1d5b909df Merge "Update preloaded-classes for Honeycomb." into honeycomb 2011-01-21 19:29:22 -08:00
Scott Main
35878cb558 Merge "add note about emulator performance" into honeycomb 2011-01-21 19:13:38 -08:00
Justin Ho
9c2853441d Merge "Updated ic_sysbar menu asset" into honeycomb 2011-01-21 19:11:56 -08:00
Justin Ho
fac3628044 Merge "Updated IME asset" into honeycomb 2011-01-21 19:11:15 -08:00
Romain Guy
c2747f019a Merge "Correctly invalidate views that transition from opaque to non-opaque. Bug #3337037" into honeycomb 2011-01-21 19:02:05 -08:00
Scott Main
0c7caae221 Merge "update sidenav, fix typos" into honeycomb 2011-01-21 18:48:58 -08:00
Bart Sears
693a7896b9 Merge "b/3377597 Improve zooming performance." into honeycomb 2011-01-21 18:47:13 -08:00
Scott Main
ae69f88301 Merge "more revisions to getting started; add emulator issues" into honeycomb 2011-01-21 18:26:53 -08:00
Adam Powell
d2fd391994 Merge "Fix bug 3360851 - actionbar overflow menu button doesn't trigger "audible selection"" into honeycomb 2011-01-21 18:18:00 -08:00