Loading src/com/android/launcher3/BaseContainerView.java +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ public abstract class BaseContainerView extends FrameLayout { super(context, attrs, defStyleAttr); int width = ((Launcher) context).getDeviceProfile().availableWidthPx; mHorizontalPadding = DeviceProfile.getMaxContainerWidth(context, width); mHorizontalPadding = DeviceProfile.getContainerPadding(context, width); TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.BaseContainerView, defStyleAttr, 0); Loading src/com/android/launcher3/DeviceProfile.java +1 −1 Original line number Diff line number Diff line Loading @@ -596,7 +596,7 @@ public class DeviceProfile { } public static final int getMaxContainerWidth(Context context, int availableWidth) { public static final int getContainerPadding(Context context, int availableWidth) { Resources res = context.getResources(); int maxSize = res.getDimensionPixelSize(R.dimen.container_max_width); Loading Loading
src/com/android/launcher3/BaseContainerView.java +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ public abstract class BaseContainerView extends FrameLayout { super(context, attrs, defStyleAttr); int width = ((Launcher) context).getDeviceProfile().availableWidthPx; mHorizontalPadding = DeviceProfile.getMaxContainerWidth(context, width); mHorizontalPadding = DeviceProfile.getContainerPadding(context, width); TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.BaseContainerView, defStyleAttr, 0); Loading
src/com/android/launcher3/DeviceProfile.java +1 −1 Original line number Diff line number Diff line Loading @@ -596,7 +596,7 @@ public class DeviceProfile { } public static final int getMaxContainerWidth(Context context, int availableWidth) { public static final int getContainerPadding(Context context, int availableWidth) { Resources res = context.getResources(); int maxSize = res.getDimensionPixelSize(R.dimen.container_max_width); Loading