Loading go/quickstep/res/layout/icon_recents_root_view.xml +2 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,8 @@ android:layout_width="@dimen/recents_list_width" android:layout_height="match_parent" android:layout_gravity="center_horizontal" android:scrollbars="none"/> android:scrollbars="none" android:clipToPadding="false"/> <TextView android:id="@+id/recent_task_empty_view" android:layout_width="match_parent" Loading go/quickstep/src/com/android/quickstep/views/IconRecentsView.java +7 −1 Original line number Diff line number Diff line Loading @@ -54,6 +54,7 @@ import androidx.recyclerview.widget.RecyclerView.ItemDecoration; import androidx.recyclerview.widget.RecyclerView.OnChildAttachStateChangeListener; import com.android.launcher3.BaseActivity; import com.android.launcher3.Insettable; import com.android.launcher3.R; import com.android.quickstep.ContentFillItemAnimator; import com.android.quickstep.RecentsModel; Loading @@ -74,7 +75,7 @@ import java.util.Optional; * Root view for the icon recents view. Acts as the main interface to the rest of the Launcher code * base. */ public final class IconRecentsView extends FrameLayout { public final class IconRecentsView extends FrameLayout implements Insettable { public static final FloatProperty<IconRecentsView> CONTENT_ALPHA = new FloatProperty<IconRecentsView>("contentAlpha") { Loading Loading @@ -518,4 +519,9 @@ public final class IconRecentsView extends FrameLayout { }); mLayoutAnimation.start(); } @Override public void setInsets(Rect insets) { mTaskRecyclerView.setPadding(insets.left, insets.top, insets.right, insets.bottom); } } Loading
go/quickstep/res/layout/icon_recents_root_view.xml +2 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,8 @@ android:layout_width="@dimen/recents_list_width" android:layout_height="match_parent" android:layout_gravity="center_horizontal" android:scrollbars="none"/> android:scrollbars="none" android:clipToPadding="false"/> <TextView android:id="@+id/recent_task_empty_view" android:layout_width="match_parent" Loading
go/quickstep/src/com/android/quickstep/views/IconRecentsView.java +7 −1 Original line number Diff line number Diff line Loading @@ -54,6 +54,7 @@ import androidx.recyclerview.widget.RecyclerView.ItemDecoration; import androidx.recyclerview.widget.RecyclerView.OnChildAttachStateChangeListener; import com.android.launcher3.BaseActivity; import com.android.launcher3.Insettable; import com.android.launcher3.R; import com.android.quickstep.ContentFillItemAnimator; import com.android.quickstep.RecentsModel; Loading @@ -74,7 +75,7 @@ import java.util.Optional; * Root view for the icon recents view. Acts as the main interface to the rest of the Launcher code * base. */ public final class IconRecentsView extends FrameLayout { public final class IconRecentsView extends FrameLayout implements Insettable { public static final FloatProperty<IconRecentsView> CONTENT_ALPHA = new FloatProperty<IconRecentsView>("contentAlpha") { Loading Loading @@ -518,4 +519,9 @@ public final class IconRecentsView extends FrameLayout { }); mLayoutAnimation.start(); } @Override public void setInsets(Rect insets) { mTaskRecyclerView.setPadding(insets.left, insets.top, insets.right, insets.bottom); } }