Separate QSB from on device search

Bug: 175125073
[Preview attached to BR]

Change-Id: If967d95e32b58263ede5eb8a3c1b773cef789f28
This commit is contained in:
Samuel Fufa
2020-12-02 13:48:18 -06:00
parent 870d733617
commit 2ea01e4871
5 changed files with 34 additions and 14 deletions

View File

@@ -36,7 +36,8 @@ public class ShortcutAndWidgetContainer extends ViewGroup {
// return an (x, y) value from helper functions. Do NOT use them to maintain other state.
private final int[] mTmpCellXY = new int[2];
@ContainerType private final int mContainerType;
@ContainerType
private final int mContainerType;
private final WallpaperManager mWallpaperManager;
private int mCellWidth;
@@ -44,7 +45,7 @@ public class ShortcutAndWidgetContainer extends ViewGroup {
private int mCountX;
private ActivityContext mActivity;
private final ActivityContext mActivity;
private boolean mInvertIfRtl = false;
public ShortcutAndWidgetContainer(Context context, @ContainerType int containerType) {
@@ -79,7 +80,7 @@ public class ShortcutAndWidgetContainer extends ViewGroup {
int count = getChildCount();
int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec);
int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec);
int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec);
setMeasuredDimension(widthSpecSize, heightSpecSize);
for (int i = 0; i < count; i++) {