OSDN Git Service

Calculating widget minSpans and spans statically/independent of orientation
authorSunny Goyal <sunnygoyal@google.com>
Mon, 3 Aug 2015 20:05:01 +0000 (13:05 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Mon, 3 Aug 2015 23:39:49 +0000 (16:39 -0700)
commit233ee964a9ecf419a3e8330a67456d422879132d
tree5ce6c56ee6fa4060fffbbb294b505080008da0f7
parent6eeab68fd4a5ba51e32717b18c40e9bea8b38e97
Calculating widget minSpans and spans statically/independent of orientation
 > Filtering the widget list and excluding widgets which dont fit the grid
 > setting minSpans for the widget item when binding.

Bug: 22541314
Bug: 22559137
Change-Id: Ieda48b56c95bee0c7ec71dd691af7e23e2d43db6
src/com/android/launcher3/AppWidgetResizeFrame.java
src/com/android/launcher3/CellLayout.java
src/com/android/launcher3/Launcher.java
src/com/android/launcher3/LauncherAppWidgetInfo.java
src/com/android/launcher3/LauncherAppWidgetProviderInfo.java
src/com/android/launcher3/WidgetPreviewLoader.java
src/com/android/launcher3/allapps/AllAppsContainerView.java
src/com/android/launcher3/model/WidgetsModel.java
src/com/android/launcher3/widget/PendingAddWidgetInfo.java
src/com/android/launcher3/widget/WidgetCell.java
src/com/android/launcher3/widget/WidgetsContainerView.java