mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Separate QSB from on device search
Bug: 175125073 [Preview attached to BR] Change-Id: If967d95e32b58263ede5eb8a3c1b773cef789f28
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user