Loading quickstep/res/layout/task_desktop.xml +4 −1 Original line number Diff line number Diff line Loading @@ -17,12 +17,15 @@ <com.android.quickstep.views.DesktopTaskView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" xmlns:launcher="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:clipChildren="true" android:clipToOutline="true" android:defaultFocusHighlightEnabled="false" android:focusable="true"> android:focusable="true" launcher:borderColor="?androidprv:attr/colorAccentSecondaryVariant"> <View android:id="@+id/background" Loading quickstep/src/com/android/quickstep/views/DesktopTaskView.java +6 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,12 @@ public class DesktopTaskView extends TaskView { mIconView.setDrawable(new LayerDrawable(new Drawable[]{iconBackground, icon})); } @Override protected void updateBorderBounds(Rect bounds) { bounds.set(mBackgroundView.getLeft(), mBackgroundView.getTop(), mBackgroundView.getRight(), mBackgroundView.getBottom()); } @Override public void bind(Task task, RecentsOrientedState orientedState) { bind(Collections.singletonList(task), orientedState); Loading Loading
quickstep/res/layout/task_desktop.xml +4 −1 Original line number Diff line number Diff line Loading @@ -17,12 +17,15 @@ <com.android.quickstep.views.DesktopTaskView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" xmlns:launcher="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:clipChildren="true" android:clipToOutline="true" android:defaultFocusHighlightEnabled="false" android:focusable="true"> android:focusable="true" launcher:borderColor="?androidprv:attr/colorAccentSecondaryVariant"> <View android:id="@+id/background" Loading
quickstep/src/com/android/quickstep/views/DesktopTaskView.java +6 −0 Original line number Diff line number Diff line Loading @@ -132,6 +132,12 @@ public class DesktopTaskView extends TaskView { mIconView.setDrawable(new LayerDrawable(new Drawable[]{iconBackground, icon})); } @Override protected void updateBorderBounds(Rect bounds) { bounds.set(mBackgroundView.getLeft(), mBackgroundView.getTop(), mBackgroundView.getRight(), mBackgroundView.getBottom()); } @Override public void bind(Task task, RecentsOrientedState orientedState) { bind(Collections.singletonList(task), orientedState); Loading