Loading packages/SystemUI/res/anim/recent_appear.xml +1 −1 Original line number Diff line number Diff line Loading @@ -16,5 +16,5 @@ <alpha xmlns:android="http://schemas.android.com/apk/res/android" android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="@android:integer/config_mediumAnimTime" android:duration="@android:integer/config_shortAnimTime" /> packages/SystemUI/res/layout-land/status_bar_recent_item.xml +2 −4 Original line number Diff line number Diff line Loading @@ -39,11 +39,11 @@ android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:background="@drawable/recents_thumbnail_bg" android:foreground="@drawable/recents_thumbnail_fg"> android:foreground="@drawable/recents_thumbnail_fg" android:visibility="invisible"> <ImageView android:id="@+id/app_thumbnail_image" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="@dimen/status_bar_recents_thumbnail_height" android:visibility="invisible" /> </FrameLayout> Loading @@ -58,7 +58,6 @@ android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:scaleType="centerInside" android:adjustViewBounds="true" android:visibility="invisible" /> <TextView android:id="@+id/app_label" Loading @@ -74,7 +73,6 @@ android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:singleLine="true" android:ellipsize="marquee" android:visibility="invisible" android:textColor="@color/status_bar_recents_app_label_color" /> Loading packages/SystemUI/res/layout-port/status_bar_recent_item.xml +2 −2 Original line number Diff line number Diff line Loading @@ -52,11 +52,11 @@ android:layout_toRightOf="@id/app_label" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:background="@drawable/recents_thumbnail_bg" android:foreground="@drawable/recents_thumbnail_fg"> android:foreground="@drawable/recents_thumbnail_fg" android:visibility="invisible"> <ImageView android:id="@+id/app_thumbnail_image" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="@dimen/status_bar_recents_thumbnail_height" android:visibility="invisible" /> </FrameLayout> <View android:id="@+id/recents_callout_line" Loading packages/SystemUI/res/layout-sw600dp/status_bar_recent_item.xml +2 −2 Original line number Diff line number Diff line Loading @@ -31,11 +31,11 @@ android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:scaleType="center" android:background="@drawable/recents_thumbnail_bg" android:foreground="@drawable/recents_thumbnail_fg"> android:foreground="@drawable/recents_thumbnail_fg" android:visibility="invisible"> <ImageView android:id="@+id/app_thumbnail_image" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="@dimen/status_bar_recents_thumbnail_height" android:visibility="invisible" /> <ImageView android:id="@+id/app_icon" android:layout_width="wrap_content" Loading packages/SystemUI/src/com/android/systemui/recent/RecentTasksLoader.java +7 −3 Original line number Diff line number Diff line Loading @@ -86,8 +86,8 @@ public class RecentTasksLoader { mIconDpi = isTablet ? DisplayMetrics.DENSITY_HIGH : res.getDisplayMetrics().densityDpi; // Render the default thumbnail background int width = (int) res.getDimension(R.dimen.status_bar_recents_thumbnail_width); int height = (int) res.getDimension(R.dimen.status_bar_recents_thumbnail_height); int width = (int) res.getDimensionPixelSize(com.android.internal.R.dimen.thumbnail_width); int height = (int) res.getDimensionPixelSize(com.android.internal.R.dimen.thumbnail_height); int color = res.getColor(R.drawable.status_bar_recents_app_thumbnail_background); mDefaultThumbnailBackground = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); Loading @@ -106,6 +106,10 @@ public class RecentTasksLoader { mRecentsPanel = recentsPanel; } public Bitmap getDefaultThumbnail() { return mDefaultThumbnailBackground; } // Create an TaskDescription, returning null if the title or icon is null, or if it's the // home activity TaskDescription createTaskDescription(int taskId, int persistentTaskId, Intent baseIntent, Loading Loading @@ -278,7 +282,7 @@ public class RecentTasksLoader { TaskDescription td = descriptions.get(i); loadThumbnail(td); long now = SystemClock.uptimeMillis(); nextTime += 150; nextTime += 0; if (nextTime > now) { try { Thread.sleep(nextTime-now); Loading Loading
packages/SystemUI/res/anim/recent_appear.xml +1 −1 Original line number Diff line number Diff line Loading @@ -16,5 +16,5 @@ <alpha xmlns:android="http://schemas.android.com/apk/res/android" android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="@android:integer/config_mediumAnimTime" android:duration="@android:integer/config_shortAnimTime" />
packages/SystemUI/res/layout-land/status_bar_recent_item.xml +2 −4 Original line number Diff line number Diff line Loading @@ -39,11 +39,11 @@ android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:background="@drawable/recents_thumbnail_bg" android:foreground="@drawable/recents_thumbnail_fg"> android:foreground="@drawable/recents_thumbnail_fg" android:visibility="invisible"> <ImageView android:id="@+id/app_thumbnail_image" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="@dimen/status_bar_recents_thumbnail_height" android:visibility="invisible" /> </FrameLayout> Loading @@ -58,7 +58,6 @@ android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:scaleType="centerInside" android:adjustViewBounds="true" android:visibility="invisible" /> <TextView android:id="@+id/app_label" Loading @@ -74,7 +73,6 @@ android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:singleLine="true" android:ellipsize="marquee" android:visibility="invisible" android:textColor="@color/status_bar_recents_app_label_color" /> Loading
packages/SystemUI/res/layout-port/status_bar_recent_item.xml +2 −2 Original line number Diff line number Diff line Loading @@ -52,11 +52,11 @@ android:layout_toRightOf="@id/app_label" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:background="@drawable/recents_thumbnail_bg" android:foreground="@drawable/recents_thumbnail_fg"> android:foreground="@drawable/recents_thumbnail_fg" android:visibility="invisible"> <ImageView android:id="@+id/app_thumbnail_image" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="@dimen/status_bar_recents_thumbnail_height" android:visibility="invisible" /> </FrameLayout> <View android:id="@+id/recents_callout_line" Loading
packages/SystemUI/res/layout-sw600dp/status_bar_recent_item.xml +2 −2 Original line number Diff line number Diff line Loading @@ -31,11 +31,11 @@ android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:scaleType="center" android:background="@drawable/recents_thumbnail_bg" android:foreground="@drawable/recents_thumbnail_fg"> android:foreground="@drawable/recents_thumbnail_fg" android:visibility="invisible"> <ImageView android:id="@+id/app_thumbnail_image" android:layout_width="@dimen/status_bar_recents_thumbnail_width" android:layout_height="@dimen/status_bar_recents_thumbnail_height" android:visibility="invisible" /> <ImageView android:id="@+id/app_icon" android:layout_width="wrap_content" Loading
packages/SystemUI/src/com/android/systemui/recent/RecentTasksLoader.java +7 −3 Original line number Diff line number Diff line Loading @@ -86,8 +86,8 @@ public class RecentTasksLoader { mIconDpi = isTablet ? DisplayMetrics.DENSITY_HIGH : res.getDisplayMetrics().densityDpi; // Render the default thumbnail background int width = (int) res.getDimension(R.dimen.status_bar_recents_thumbnail_width); int height = (int) res.getDimension(R.dimen.status_bar_recents_thumbnail_height); int width = (int) res.getDimensionPixelSize(com.android.internal.R.dimen.thumbnail_width); int height = (int) res.getDimensionPixelSize(com.android.internal.R.dimen.thumbnail_height); int color = res.getColor(R.drawable.status_bar_recents_app_thumbnail_background); mDefaultThumbnailBackground = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); Loading @@ -106,6 +106,10 @@ public class RecentTasksLoader { mRecentsPanel = recentsPanel; } public Bitmap getDefaultThumbnail() { return mDefaultThumbnailBackground; } // Create an TaskDescription, returning null if the title or icon is null, or if it's the // home activity TaskDescription createTaskDescription(int taskId, int persistentTaskId, Intent baseIntent, Loading Loading @@ -278,7 +282,7 @@ public class RecentTasksLoader { TaskDescription td = descriptions.get(i); loadThumbnail(td); long now = SystemClock.uptimeMillis(); nextTime += 150; nextTime += 0; if (nextTime > now) { try { Thread.sleep(nextTime-now); Loading