Loading libs/WindowManager/Shell/res/layout/bubble_overflow_container.xml +2 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center_horizontal" android:gravity="center"/> android:gravity="center" android:clipChildren="false"/> <LinearLayout android:id="@+id/bubble_overflow_empty_state" Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +3 −1 Original line number Diff line number Diff line Loading @@ -887,7 +887,9 @@ public class BubbleExpandedView extends LinearLayout { mTaskView.onLocationChanged(); } if (mIsOverflow) { post(() -> { mOverflowView.show(); }); } } Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleOverflowContainerView.java +4 −1 Original line number Diff line number Diff line Loading @@ -167,7 +167,10 @@ public class BubbleOverflowContainerView extends LinearLayout { void updateOverflow() { Resources res = getResources(); final int columns = res.getInteger(R.integer.bubbles_overflow_columns); int columns = (int) Math.round(getWidth() / (res.getDimension(R.dimen.bubble_name_width))); columns = columns > 0 ? columns : res.getInteger(R.integer.bubbles_overflow_columns); mRecyclerView.setLayoutManager( new OverflowGridLayoutManager(getContext(), columns)); if (mRecyclerView.getItemDecorationCount() == 0) { Loading Loading
libs/WindowManager/Shell/res/layout/bubble_overflow_container.xml +2 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center_horizontal" android:gravity="center"/> android:gravity="center" android:clipChildren="false"/> <LinearLayout android:id="@+id/bubble_overflow_empty_state" Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +3 −1 Original line number Diff line number Diff line Loading @@ -887,7 +887,9 @@ public class BubbleExpandedView extends LinearLayout { mTaskView.onLocationChanged(); } if (mIsOverflow) { post(() -> { mOverflowView.show(); }); } } Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleOverflowContainerView.java +4 −1 Original line number Diff line number Diff line Loading @@ -167,7 +167,10 @@ public class BubbleOverflowContainerView extends LinearLayout { void updateOverflow() { Resources res = getResources(); final int columns = res.getInteger(R.integer.bubbles_overflow_columns); int columns = (int) Math.round(getWidth() / (res.getDimension(R.dimen.bubble_name_width))); columns = columns > 0 ? columns : res.getInteger(R.integer.bubbles_overflow_columns); mRecyclerView.setLayoutManager( new OverflowGridLayoutManager(getContext(), columns)); if (mRecyclerView.getItemDecorationCount() == 0) { Loading