/packages/apps/Launcher3/tests/src_common/com/android/launcher3/common/ |
D | WidgetUtils.java | 50 item.spanX = info.minSpanX; in createWidgetInfo() 52 item.minSpanX = info.minSpanX; in createWidgetInfo() 63 pendingInfo.minSpanX = item.minSpanX; in createWidgetInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 1548 int minSpanX = spanX; in acceptDrop() local 1551 minSpanX = ((PendingAddWidgetInfo) d.dragInfo).minSpanX; in acceptDrop() 1556 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, dropTargetLayout, in acceptDrop() 1572 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, in acceptDrop() 1791 int minSpanX = item.spanX; in onDrop() local 1793 if (item.minSpanX > 0 && item.minSpanY > 0) { in onDrop() 1794 minSpanX = item.minSpanX; in onDrop() 1812 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, cell, in onDrop() 2158 int minSpanX = item.spanX; 2160 if (item.minSpanX > 0 && item.minSpanY > 0) { [all …]
|
D | LauncherAppWidgetProviderInfo.java | 31 public int minSpanX; field in LauncherAppWidgetProviderInfo 81 minSpanX = Math.max(1, (int) Math.ceil( in initSpans() 92 return new Point((resizeMode & RESIZE_HORIZONTAL) != 0 ? minSpanX : -1, in getMinSpans()
|
D | CellLayout.java | 1041 int[] findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestVacantArea() argument 1043 return findNearestArea(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, true, in findNearestVacantArea() 1078 private int[] findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestArea() argument 1097 if (minSpanX <= 0 || minSpanY <= 0 || spanX <= 0 || spanY <= 0 || in findNearestArea() 1098 spanX < minSpanX || spanY < minSpanY) { in findNearestArea() 1104 for (int x = 0; x < countX - (minSpanX - 1); x++) { in findNearestArea() 1109 for (int i = 0; i < minSpanX; i++) { in findNearestArea() 1116 xSize = minSpanX; in findNearestArea() 1783 … private ItemConfiguration findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, in findReorderSolution() argument 1806 if (spanX > minSpanX && (minSpanY == spanY || decX)) { in findReorderSolution() [all …]
|
D | Launcher.java | 1285 launcherInfo.minSpanX = itemInfo.minSpanX; in completeAddAppWidget() 2244 pendingInfo.minSpanX = item.minSpanX; in inflateAppWidget() 2302 item.minSpanX = appWidgetInfo.minSpanX; in inflateAppWidget()
|
D | InstallShortcutReceiver.java | 505 widgetInfo.minSpanX = info.minSpanX; in getItemInfo()
|
D | AppWidgetResizeFrame.java | 172 mMinHSpan = info.minSpanX; in setupForWidget()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | WidgetsModel.java | 184 int minSpanX = Math.min(item.widgetInfo.spanX, item.widgetInfo.minSpanX); in setWidgetsAndShortcuts() local 186 if (minSpanX > idp.numColumns || minSpanY > idp.numRows) { in setWidgetsAndShortcuts() 190 item.componentName, minSpanX, minSpanY)); in setWidgetsAndShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingAddWidgetInfo.java | 53 minSpanX = i.minSpanX; in PendingAddWidgetInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationTask.java | 509 if (myW > me.minSpanX && occupied.isRegionVacant(x, y, myW - 1, myH)) { 529 if (myH > me.minSpanY && myW > me.minSpanX && 739 entry.minSpanX = spans.x > 0 ? spans.x : entry.spanX; 743 entry.minSpanX = entry.minSpanY = 2; 746 if (entry.minSpanX > mTrgX || entry.minSpanY > mTrgY) { 833 entry.minSpanX = minSpanX;
|
D | GridSizeMigrationTaskV2.java | 391 if (entry.minSpanX > mTrgX || entry.minSpanY > mTrgY) { in find() 412 boolean minFits = mOccupied.isRegionVacant(x, y, entry.minSpanX, in findPlacement() 415 entry.spanX = entry.minSpanX; in findPlacement() 639 entry.minSpanX = spans.x > 0 ? spans.x : entry.spanX; in loadWorkspaceEntries() 643 entry.minSpanX = entry.minSpanY = 2; in loadWorkspaceEntries()
|
/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 | 165 info.minSpanX = plugin.getMinSpanX(); in newInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | ItemInfo.java | 121 public int minSpanX = 1; field in ItemInfo 231 + " minSpan(" + minSpanX + "," + minSpanY + ")" in dumpProperties()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | BindWidgetTest.java | 308 item.minSpanX = 2; in getInvalidWidgetInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 204 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 309 if (info.spanX > info.minSpanX && info.spanX > 1) { in getSupportedResizeActions()
|