diff options
author | Michael Jurka <mikejurka@google.com> | 2011-08-16 12:40:30 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-08-31 17:48:40 -0700 |
commit | 3cd0a593937c0724d77db1e2e3995255cfae61ac (patch) | |
tree | 993bd26a14019b7c271bbdea6d2b220b9b41b713 /packages/SystemUI/res/values-land | |
parent | 3b21427b4c1b10221947603f4e37514554766cca (diff) | |
download | frameworks_base-3cd0a593937c0724d77db1e2e3995255cfae61ac.zip frameworks_base-3cd0a593937c0724d77db1e2e3995255cfae61ac.tar.gz frameworks_base-3cd0a593937c0724d77db1e2e3995255cfae61ac.tar.bz2 |
Improve Recent Apps scrolling performance
- 20fps improvement using software rendering
- 10fps improvement using hardware rendering
- in sw mode, rendering recents background in the recent items themselves and using a bitmap cache to draw individual items (gives perf gains for sw mode)
- in sw and hw mode, no longer doing a fade on the recents scroll view (gives perf gains for hw mode) - instead we draw a black gradient where we would normally fade
- fading recents & notifications immediately when swiped
- removing unused code
Change-Id: I908e2a25b89c9dfbf9b8c8f3810fa43064261b33
Diffstat (limited to 'packages/SystemUI/res/values-land')
-rw-r--r-- | packages/SystemUI/res/values-land/dimens.xml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/SystemUI/res/values-land/dimens.xml b/packages/SystemUI/res/values-land/dimens.xml index 3919685..656c7c1 100644 --- a/packages/SystemUI/res/values-land/dimens.xml +++ b/packages/SystemUI/res/values-land/dimens.xml @@ -20,8 +20,6 @@ <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_width</dimen> <!-- Recent Applications parameters --> - <!-- Width of a recent app view, including all content --> - <dimen name="status_bar_recents_thumbnail_view_width">156dp</dimen> <!-- How far the thumbnail for a recent app appears from left edge --> <dimen name="status_bar_recents_thumbnail_left_margin">8dp</dimen> <!-- How far the thumbnail for a recent app appears from top edge --> @@ -31,7 +29,7 @@ <!-- Padding for text descriptions --> <dimen name="status_bar_recents_text_description_padding">8dp</dimen> <!-- Width of application label text --> - <dimen name="status_bar_recents_app_label_width">97dip</dimen> + <dimen name="status_bar_recents_app_label_width">156dip</dimen> <!-- Left margin of application label text --> <dimen name="status_bar_recents_app_label_left_margin">16dip</dimen> <!-- Margin between recents container and glow on the right --> |