/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 2238 int minSpanY = spanY; in acceptDrop() local 2241 minSpanY = ((PendingAddWidgetInfo) d.dragInfo).minSpanY; in acceptDrop() 2245 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, dropTargetLayout, in acceptDrop() 2261 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, in acceptDrop() 2481 int minSpanY = item.spanY; in onDrop() local 2482 if (item.minSpanX > 0 && item.minSpanY > 0) { in onDrop() 2484 minSpanY = item.minSpanY; in onDrop() 2501 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, cell, in onDrop() 2892 int minSpanY = item.spanY; 2893 if (item.minSpanX > 0 && item.minSpanY > 0) { [all …]
|
D | CellLayout.java | 1094 int[] findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestVacantArea() argument 1096 return findNearestArea(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, true, in findNearestVacantArea() 1131 private int[] findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestArea() argument 1150 if (minSpanX <= 0 || minSpanY <= 0 || spanX <= 0 || spanY <= 0 || in findNearestArea() 1151 spanX < minSpanX || spanY < minSpanY) { in findNearestArea() 1155 for (int y = 0; y < countY - (minSpanY - 1); y++) { in findNearestArea() 1163 for (int j = 0; j < minSpanY; j++) { in findNearestArea() 1170 ySize = minSpanY; in findNearestArea() 1836 … private ItemConfiguration findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, in findReorderSolution() argument 1859 if (spanX > minSpanX && (minSpanY == spanY || decX)) { in findReorderSolution() [all …]
|
D | LauncherAppWidgetProviderInfo.java | 28 public int minSpanY; field in LauncherAppWidgetProviderInfo 95 minSpanY = Math.max(1, (int) Math.ceil( in initSpans() 124 (resizeMode & RESIZE_VERTICAL) != 0 ? minSpanY : -1); in getMinSpans()
|
D | ItemInfo.java | 92 public int minSpanY = 1; field in ItemInfo 195 + " minSpan(" + minSpanX + "," + minSpanY + ")" in dumpProperties()
|
D | Launcher.java | 1514 launcherInfo.minSpanY = itemInfo.minSpanY; 3446 pendingInfo.minSpanY = item.minSpanY; 3502 item.minSpanY = appWidgetInfo.minSpanY;
|
D | InstallShortcutReceiver.java | 487 widgetInfo.minSpanY = info.minSpanY; in getItemInfo()
|
D | AppWidgetResizeFrame.java | 127 mMinVSpan = info.minSpanY; in setupForWidget()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | BindWidgetTest.java | 297 item.spanY = info.minSpanY; in createWidgetInfo() 299 item.minSpanY = info.minSpanY; in createWidgetInfo() 310 pendingInfo.minSpanY = item.minSpanY; in createWidgetInfo() 356 item.minSpanY = 2; in getInvalidWidgetInfo()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Workspace.java | 1998 int minSpanY = spanY; 2001 minSpanY = ((PendingAddWidgetInfo) d.dragInfo).minSpanY; 2005 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, dropTargetLayout, 2020 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, 2230 int minSpanY = item.spanY; 2231 if (item.minSpanX > 0 && item.minSpanY > 0) { 2233 minSpanY = item.minSpanY; 2238 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, cell, 2840 int minSpanY = item.spanY; 2841 if (item.minSpanX > 0 && item.minSpanY > 0) { [all …]
|
D | CellLayout.java | 1316 int[] findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestVacantArea() argument 1318 return findNearestVacantArea(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, null, in findNearestVacantArea() 1373 int[] findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, in findNearestArea() argument 1395 if (minSpanX <= 0 || minSpanY <= 0 || spanX <= 0 || spanY <= 0 || in findNearestArea() 1396 spanX < minSpanX || spanY < minSpanY) { in findNearestArea() 1400 for (int y = 0; y < countY - (minSpanY - 1); y++) { in findNearestArea() 1408 for (int j = 0; j < minSpanY; j++) { in findNearestArea() 1415 ySize = minSpanY; in findNearestArea() 2155 ItemConfiguration simpleSwap(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in simpleSwap() argument 2177 if (spanX > minSpanX && (minSpanY == spanY || decX)) { in simpleSwap() [all …]
|
D | PendingAddItemInfo.java | 81 minSpanY = copy.minSpanY; in PendingAddWidgetInfo()
|
D | ItemInfo.java | 96 int minSpanY = 1; field in ItemInfo
|
D | AppsCustomizePagedView.java | 460 int minSpanY = Math.min(spanXY[1], minSpanXY[1]); in onPackagesUpdated() local 462 minSpanY <= LauncherModel.getCellCountY()) { in onPackagesUpdated() 1203 createItemInfo.minSpanY = minSpanXY[1]; in syncWidgetPageItems()
|
D | Launcher.java | 1275 launcherInfo.minSpanY = mPendingAddInfo.minSpanY; in completeAddAppWidget() 1806 mPendingAddInfo.minSpanX = mPendingAddInfo.minSpanY = -1; in resetAddInfo() 1867 mPendingAddInfo.minSpanY = info.minSpanY; in addAppWidgetFromDrop()
|
D | LauncherModel.java | 1479 appWidgetInfo.minSpanY = minSpan[1]; in loadWorkspace()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetsModel.java | 135 int minSpanY = Math.min(item.widgetInfo.spanY, item.widgetInfo.minSpanY); in setWidgetsAndShortcuts() local 136 if (minSpanX > idp.numColumns || minSpanY > idp.numRows) { in setWidgetsAndShortcuts() 140 item.componentName, minSpanX, minSpanY)); in setWidgetsAndShortcuts()
|
D | GridSizeMigrationTask.java | 514 if (myH > me.minSpanY && occupied.isRegionVacant(x, y, myW, myH - 1)) { 524 if (myH > me.minSpanY && myW > me.minSpanX && 733 entry.minSpanY = spans.y > 0 ? spans.y : entry.spanY; 736 entry.minSpanX = entry.minSpanY = 2; 739 if (entry.minSpanX > mTrgX || entry.minSpanY > mTrgY) { 827 entry.minSpanY = minSpanY;
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingAddWidgetInfo.java | 52 minSpanY = i.minSpanY; in PendingAddWidgetInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | AddItemActivity.java | 207 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 264 if (info.spanY > info.minSpanY && info.spanY > 1) { in getSupportedResizeActions()
|