Home
last modified time | relevance | path

Searched refs:minSpanY (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DBindWidgetTest.java296 item.spanY = info.minSpanY; in createWidgetInfo()
298 item.minSpanY = info.minSpanY; in createWidgetInfo()
309 pendingInfo.minSpanY = item.minSpanY; in createWidgetInfo()
354 item.minSpanY = 2; in getInvalidWidgetInfo()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java1578 int minSpanY = spanY; in acceptDrop() local
1581 minSpanY = ((PendingAddWidgetInfo) d.dragInfo).minSpanY; in acceptDrop()
1585 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, dropTargetLayout, in acceptDrop()
1601 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, in acceptDrop()
1818 int minSpanY = item.spanY; in onDrop() local
1819 if (item.minSpanX > 0 && item.minSpanY > 0) { in onDrop()
1821 minSpanY = item.minSpanY; in onDrop()
1838 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, cell, in onDrop()
2186 int minSpanY = item.spanY;
2187 if (item.minSpanX > 0 && item.minSpanY > 0) {
[all …]
DCellLayout.java1058 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()
1119 for (int y = 0; y < countY - (minSpanY - 1); y++) { in findNearestArea()
1127 for (int j = 0; j < minSpanY; j++) { in findNearestArea()
1134 ySize = minSpanY; 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 …]
DLauncherAppWidgetProviderInfo.java29 public int minSpanY; field in LauncherAppWidgetProviderInfo
80 minSpanY = Math.max(1, (int) Math.ceil( in initSpans()
90 (resizeMode & RESIZE_VERTICAL) != 0 ? minSpanY : -1); in getMinSpans()
DItemInfo.java94 public int minSpanY = 1; field in ItemInfo
196 + " minSpan(" + minSpanX + "," + minSpanY + ")" in dumpProperties()
DLauncher.java1270 launcherInfo.minSpanY = itemInfo.minSpanY; in completeAddAppWidget()
2203 pendingInfo.minSpanY = item.minSpanY; in inflateAppWidget()
2255 item.minSpanY = appWidgetInfo.minSpanY; in inflateAppWidget()
DInstallShortcutReceiver.java505 widgetInfo.minSpanY = info.minSpanY; in getItemInfo()
DAppWidgetResizeFrame.java167 mMinVSpan = info.minSpanY; in setupForWidget()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DWidgetsModel.java178 int minSpanY = Math.min(item.widgetInfo.spanY, item.widgetInfo.minSpanY); 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/
DPendingAddWidgetInfo.java52 minSpanY = i.minSpanY; in PendingAddWidgetInfo()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java514 if (myH > me.minSpanY && occupied.isRegionVacant(x, y, myW, myH - 1)) {
524 if (myH > me.minSpanY && myW > me.minSpanX &&
734 entry.minSpanY = spans.y > 0 ? spans.y : entry.spanY;
737 entry.minSpanX = entry.minSpanY = 2;
740 if (entry.minSpanX > mTrgX || entry.minSpanY > mTrgY) {
828 entry.minSpanY = minSpanY;
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomAppWidgetProviderInfo.java53 minSpanY = parcel.readInt(); in CustomAppWidgetProviderInfo()
87 out.writeInt(minSpanY); in writeToParcel()
DCustomWidgetManager.java165 info.minSpanY = plugin.getMinSpanY(context); in newInfo()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java205 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java289 if (info.spanY > info.minSpanY && info.spanY > 1) { in getSupportedResizeActions()