diff options
author | Michael Jurka <mikejurka@google.com> | 2011-12-16 14:16:32 -0800 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-12-16 14:26:24 -0800 |
commit | 80c69853d64b73e5d62ed33bea1b10680557ee3e (patch) | |
tree | aba4f7a8157a3291750a72a5e9c92ca0cf729854 /res/values-uk | |
parent | 58e8b25c5958a6d633b8d12ef80cf84709297c2d (diff) | |
download | packages_apps_trebuchet-80c69853d64b73e5d62ed33bea1b10680557ee3e.zip packages_apps_trebuchet-80c69853d64b73e5d62ed33bea1b10680557ee3e.tar.gz packages_apps_trebuchet-80c69853d64b73e5d62ed33bea1b10680557ee3e.tar.bz2 |
simplifying code to prevent drawing off-screen
On certain graphics drivers, if you draw to a off-
screen buffer that's not used, it can lead to
poor performance. We were running into this in
launcher; when setChildrenLayersEnabled was called
on a CellLayout, that triggered a re-draw of that
CellLayout's hardware layer, even if that
CellLayout wasn't visible. This CL changes
PagedView so that pages that aren't going to be
rendered are set to View.INVISIBLE, preventing
re-drawing of their hardware layer.
Diffstat (limited to 'res/values-uk')
0 files changed, 0 insertions, 0 deletions