diff options
| author | Michael Jurka <mikejurka@google.com> | 2012-04-13 09:32:47 -0700 |
|---|---|---|
| committer | Michael Jurka <mikejurka@google.com> | 2012-08-23 04:53:53 -0700 |
| commit | cb2522c86d75fff277dc38ec7e444a5b5f5130ea (patch) | |
| tree | 0453cda9b18962343ed09084889963db65944e3a /packages/SystemUI/res | |
| parent | 257662efe2a5edd13601b4372b5c1ff0431ddda9 (diff) | |
| download | frameworks_base-cb2522c86d75fff277dc38ec7e444a5b5f5130ea.zip frameworks_base-cb2522c86d75fff277dc38ec7e444a5b5f5130ea.tar.gz frameworks_base-cb2522c86d75fff277dc38ec7e444a5b5f5130ea.tar.bz2 | |
Recents: apps scale down to thumbnails now
As a part of this change, Recents is now an
activity.
Known issues:
* Jank: jump-cut as app icon appears suddenly
after the aniamtion
* Preloading recents is broken on phones without
soft nav bar and on tablets
* Thumbnail window from animation lingers/flashes
sometimes
Change-Id: Ie6f991f3c2e1e67f9ed84eb6adba9174ed957248
Diffstat (limited to 'packages/SystemUI/res')
4 files changed, 1 insertions, 32 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 00e3e27..2df9f6c 100644 --- a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml +++ b/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml @@ -26,11 +26,6 @@ android:layout_width="match_parent" systemui:recentItemLayout="@layout/status_bar_recent_item" > - <View - android:id="@+id/recents_transition_background" - android:layout_height="match_parent" - android:layout_width="match_parent" - android:visibility="invisible" /> <FrameLayout android:id="@+id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" @@ -40,12 +35,6 @@ android:clipToPadding="false" android:clipChildren="false"> - <ImageView - android:id="@+id/recents_transition_placeholder_icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:visibility="invisible" /> - <com.android.systemui.recent.RecentsHorizontalScrollView android:id="@+id/recents_container" android:layout_width="wrap_content" android:layout_height="match_parent" diff --git a/packages/SystemUI/res/layout/status_bar_recent_panel.xml b/packages/SystemUI/res/layout/status_bar_recent_panel.xml index a7e5db1..7335f86 100644 --- a/packages/SystemUI/res/layout/status_bar_recent_panel.xml +++ b/packages/SystemUI/res/layout/status_bar_recent_panel.xml @@ -26,11 +26,6 @@ android:layout_width="match_parent" systemui:recentItemLayout="@layout/status_bar_recent_item" > - <View - android:id="@+id/recents_transition_background" - android:layout_height="match_parent" - android:layout_width="match_parent" - android:visibility="invisible" /> <FrameLayout android:id="@+id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" @@ -38,12 +33,6 @@ android:layout_height="match_parent" android:layout_alignParentBottom="true"> - <ImageView - android:id="@+id/recents_transition_placeholder_icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:visibility="invisible" /> - <com.android.systemui.recent.RecentsVerticalScrollView android:id="@+id/recents_container" android:layout_width="match_parent" diff --git a/packages/SystemUI/res/layout/system_bar_recent_panel.xml b/packages/SystemUI/res/layout/system_bar_recent_panel.xml index 127551d..3951bba 100644 --- a/packages/SystemUI/res/layout/system_bar_recent_panel.xml +++ b/packages/SystemUI/res/layout/system_bar_recent_panel.xml @@ -28,11 +28,6 @@ android:clipChildren="false" systemui:recentItemLayout="@layout/system_bar_recent_item" > - <View - android:id="@+id/recents_transition_background" - android:layout_height="match_parent" - android:layout_width="match_parent" - android:visibility="invisible" /> <FrameLayout android:id="@+id/recents_bg_protect" android:background="@drawable/recents_bg_protect_tile" @@ -42,11 +37,6 @@ android:layout_marginBottom="@*android:dimen/system_bar_height" android:clipToPadding="false" android:clipChildren="false"> - <ImageView - android:id="@+id/recents_transition_placeholder_icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:visibility="invisible" /> <com.android.systemui.recent.RecentsVerticalScrollView android:id="@+id/recents_container" android:layout_width="wrap_content" diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml index 9539373..b5f1a33 100644 --- a/packages/SystemUI/res/values/dimens.xml +++ b/packages/SystemUI/res/values/dimens.xml @@ -28,6 +28,7 @@ <!-- Size of application thumbnail --> <dimen name="status_bar_recents_thumbnail_width">164dp</dimen> <dimen name="status_bar_recents_thumbnail_height">145dp</dimen> + <dimen name="status_bar_recents_thumbnail_bg_padding">4dp</dimen> <!-- Size of application label text --> <dimen name="status_bar_recents_app_label_text_size">14dip</dimen> |
