Loading packages/SystemUI/res/layout/recents_task_view.xml +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true"> android:focusable="true" android:background="#FFffffff"> <com.android.systemui.recents.views.TaskViewThumbnail android:id="@+id/task_view_thumbnail" android:layout_width="match_parent" Loading packages/SystemUI/res/values/dimens.xml +3 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,9 @@ <!-- The amount to offset when animating into an affiliate group. --> <dimen name="recents_task_view_affiliate_group_enter_offset">64dp</dimen> <!-- The alpha to apply to a task thumbnail. --> <item name="recents_task_view_thumbnail_alpha" format="float" type="dimen">0.9</item> <!-- The height of a task view bar. --> <dimen name="recents_task_bar_height">56dp</dimen> Loading packages/SystemUI/src/com/android/systemui/recents/Constants.java +2 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ public class Constants { public static final boolean EnableSearchLayout = true; // Enables the dynamic shadows behind each task public static final boolean EnableShadows = true; // Enables the thumbnail alpha on the front-most task public static final boolean EnableThumbnailAlphaOnFrontmost = false; // This disables the bitmap and icon caches public static final boolean DisableBackgroundCache = false; // Enables the simulated task affiliations Loading packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -385,7 +385,7 @@ public class RecentsActivity extends Activity implements RecentsView.RecentsView // Private API calls to make the shadows look better try { Utilities.setShadowProperty("ambientShadowStrength", String.valueOf(35f)); Utilities.setShadowProperty("ambientRatio", String.valueOf(0.5f)); Utilities.setShadowProperty("ambientRatio", String.valueOf(1.5f)); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (InvocationTargetException e) { Loading packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java +4 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,7 @@ public class RecentsConfiguration { public int taskViewRoundedCornerRadiusPx; public int taskViewHighlightPx; public int taskViewAffiliateGroupEnterOffsetPx; public float taskViewThumbnailAlpha; /** Task bar colors */ public int taskBarViewDefaultBackgroundColor; Loading Loading @@ -217,6 +218,9 @@ public class RecentsConfiguration { taskViewTranslationZMaxPx = res.getDimensionPixelSize(R.dimen.recents_task_view_z_max); taskViewAffiliateGroupEnterOffsetPx = res.getDimensionPixelSize(R.dimen.recents_task_view_affiliate_group_enter_offset); TypedValue thumbnailAlphaValue = new TypedValue(); res.getValue(R.dimen.recents_task_view_thumbnail_alpha, thumbnailAlphaValue, true); taskViewThumbnailAlpha = thumbnailAlphaValue.getFloat(); // Task bar colors taskBarViewDefaultBackgroundColor = Loading Loading
packages/SystemUI/res/layout/recents_task_view.xml +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true"> android:focusable="true" android:background="#FFffffff"> <com.android.systemui.recents.views.TaskViewThumbnail android:id="@+id/task_view_thumbnail" android:layout_width="match_parent" Loading
packages/SystemUI/res/values/dimens.xml +3 −0 Original line number Diff line number Diff line Loading @@ -222,6 +222,9 @@ <!-- The amount to offset when animating into an affiliate group. --> <dimen name="recents_task_view_affiliate_group_enter_offset">64dp</dimen> <!-- The alpha to apply to a task thumbnail. --> <item name="recents_task_view_thumbnail_alpha" format="float" type="dimen">0.9</item> <!-- The height of a task view bar. --> <dimen name="recents_task_bar_height">56dp</dimen> Loading
packages/SystemUI/src/com/android/systemui/recents/Constants.java +2 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ public class Constants { public static final boolean EnableSearchLayout = true; // Enables the dynamic shadows behind each task public static final boolean EnableShadows = true; // Enables the thumbnail alpha on the front-most task public static final boolean EnableThumbnailAlphaOnFrontmost = false; // This disables the bitmap and icon caches public static final boolean DisableBackgroundCache = false; // Enables the simulated task affiliations Loading
packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -385,7 +385,7 @@ public class RecentsActivity extends Activity implements RecentsView.RecentsView // Private API calls to make the shadows look better try { Utilities.setShadowProperty("ambientShadowStrength", String.valueOf(35f)); Utilities.setShadowProperty("ambientRatio", String.valueOf(0.5f)); Utilities.setShadowProperty("ambientRatio", String.valueOf(1.5f)); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (InvocationTargetException e) { Loading
packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java +4 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,7 @@ public class RecentsConfiguration { public int taskViewRoundedCornerRadiusPx; public int taskViewHighlightPx; public int taskViewAffiliateGroupEnterOffsetPx; public float taskViewThumbnailAlpha; /** Task bar colors */ public int taskBarViewDefaultBackgroundColor; Loading Loading @@ -217,6 +218,9 @@ public class RecentsConfiguration { taskViewTranslationZMaxPx = res.getDimensionPixelSize(R.dimen.recents_task_view_z_max); taskViewAffiliateGroupEnterOffsetPx = res.getDimensionPixelSize(R.dimen.recents_task_view_affiliate_group_enter_offset); TypedValue thumbnailAlphaValue = new TypedValue(); res.getValue(R.dimen.recents_task_view_thumbnail_alpha, thumbnailAlphaValue, true); taskViewThumbnailAlpha = thumbnailAlphaValue.getFloat(); // Task bar colors taskBarViewDefaultBackgroundColor = Loading