/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | BindWidgetTest.java | 295 item.spanX = info.minSpanX; in createWidgetInfo() 297 item.minSpanX = info.minSpanX; in createWidgetInfo() 308 pendingInfo.minSpanX = item.minSpanX; in createWidgetInfo() 353 item.minSpanX = 2; in getInvalidWidgetInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 1577 int minSpanX = spanX; in acceptDrop() local 1580 minSpanX = ((PendingAddWidgetInfo) d.dragInfo).minSpanX; in acceptDrop() 1585 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, dropTargetLayout, in acceptDrop() 1601 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, in acceptDrop() 1817 int minSpanX = item.spanX; in onDrop() local 1819 if (item.minSpanX > 0 && item.minSpanY > 0) { in onDrop() 1820 minSpanX = item.minSpanX; in onDrop() 1838 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, cell, in onDrop() 2185 int minSpanX = item.spanX; 2187 if (item.minSpanX > 0 && item.minSpanY > 0) { [all …]
|
D | LauncherAppWidgetProviderInfo.java | 28 public int minSpanX; field in LauncherAppWidgetProviderInfo 78 minSpanX = Math.max(1, (int) Math.ceil( in initSpans() 89 return new Point((resizeMode & RESIZE_HORIZONTAL) != 0 ? minSpanX : -1, in getMinSpans()
|
D | CellLayout.java | 1058 int[] findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestVacantArea() argument 1060 return findNearestArea(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, true, in findNearestVacantArea() 1095 private int[] findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestArea() argument 1114 if (minSpanX <= 0 || minSpanY <= 0 || spanX <= 0 || spanY <= 0 || in findNearestArea() 1115 spanX < minSpanX || spanY < minSpanY) { in findNearestArea() 1121 for (int x = 0; x < countX - (minSpanX - 1); x++) { in findNearestArea() 1126 for (int i = 0; i < minSpanX; i++) { in findNearestArea() 1133 xSize = minSpanX; in findNearestArea() 1800 … private ItemConfiguration findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, in findReorderSolution() argument 1823 if (spanX > minSpanX && (minSpanY == spanY || decX)) { in findReorderSolution() [all …]
|
D | ItemInfo.java | 89 public int minSpanX = 1; field in ItemInfo 196 + " minSpan(" + minSpanX + "," + minSpanY + ")" in dumpProperties()
|
D | Launcher.java | 1269 launcherInfo.minSpanX = itemInfo.minSpanX; in completeAddAppWidget() 2202 pendingInfo.minSpanX = item.minSpanX; in inflateAppWidget() 2254 item.minSpanX = appWidgetInfo.minSpanX; in inflateAppWidget()
|
D | InstallShortcutReceiver.java | 504 widgetInfo.minSpanX = info.minSpanX; in getItemInfo()
|
D | AppWidgetResizeFrame.java | 166 mMinHSpan = info.minSpanX; in setupForWidget()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | WidgetsModel.java | 177 int minSpanX = Math.min(item.widgetInfo.spanX, item.widgetInfo.minSpanX); in setWidgetsAndShortcuts() local 179 if (minSpanX > idp.numColumns || minSpanY > idp.numRows) { in setWidgetsAndShortcuts() 183 item.componentName, minSpanX, minSpanY)); in setWidgetsAndShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingAddWidgetInfo.java | 51 minSpanX = i.minSpanX; in PendingAddWidgetInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationTask.java | 504 if (myW > me.minSpanX && occupied.isRegionVacant(x, y, myW - 1, myH)) { 524 if (myH > me.minSpanY && myW > me.minSpanX && 733 entry.minSpanX = spans.x > 0 ? spans.x : entry.spanX; 737 entry.minSpanX = entry.minSpanY = 2; 740 if (entry.minSpanX > mTrgX || entry.minSpanY > mTrgY) { 827 entry.minSpanX = minSpanX;
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/ |
D | CustomAppWidgetProviderInfo.java | 52 minSpanX = parcel.readInt(); in CustomAppWidgetProviderInfo() 86 out.writeInt(minSpanX); in writeToParcel()
|
D | CustomWidgetManager.java | 164 info.minSpanX = plugin.getMinSpanX(context); in newInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 205 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 278 if (info.spanX > info.minSpanX && info.spanX > 1) { in getSupportedResizeActions()
|