summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2011-08-16 12:40:30 -0700
committerMichael Jurka <mikejurka@google.com>2011-08-31 17:48:40 -0700
commit3cd0a593937c0724d77db1e2e3995255cfae61ac (patch)
tree993bd26a14019b7c271bbdea6d2b220b9b41b713 /packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
parent3b21427b4c1b10221947603f4e37514554766cca (diff)
downloadframeworks_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/layout-land/status_bar_recent_panel.xml')
-rw-r--r--packages/SystemUI/res/layout-land/status_bar_recent_panel.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml b/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
index 20ef7cf..f84cc19 100644
--- a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
+++ b/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
@@ -30,13 +30,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
- android:paddingBottom="@*android:dimen/status_bar_height"
android:clipToPadding="false"
android:clipChildren="false">
<LinearLayout android:id="@+id/recents_glow"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:layout_gravity="bottom|right"
android:orientation="horizontal"
android:clipToPadding="false"
@@ -44,7 +43,7 @@
>
<com.android.systemui.recent.RecentsHorizontalScrollView android:id="@+id/recents_container"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin"
android:divider="@null"
android:stackFromBottom="true"
@@ -58,7 +57,7 @@
<LinearLayout android:id="@+id/recents_linear_layout"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:orientation="horizontal"
android:clipToPadding="false"
android:clipChildren="false">