Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DBindWidgetTest.java295 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/
DWorkspace.java1577 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 …]
DLauncherAppWidgetProviderInfo.java28 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()
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()
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 …]
DItemInfo.java89 public int minSpanX = 1; field in ItemInfo
196 + " minSpan(" + minSpanX + "," + minSpanY + ")" in dumpProperties()
DLauncher.java1269 launcherInfo.minSpanX = itemInfo.minSpanX; in completeAddAppWidget()
2202 pendingInfo.minSpanX = item.minSpanX; in inflateAppWidget()
2254 item.minSpanX = appWidgetInfo.minSpanX; in inflateAppWidget()
DInstallShortcutReceiver.java504 widgetInfo.minSpanX = info.minSpanX; in getItemInfo()
DAppWidgetResizeFrame.java166 mMinHSpan = info.minSpanX; in setupForWidget()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DWidgetsModel.java177 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/
DPendingAddWidgetInfo.java51 minSpanX = i.minSpanX; in PendingAddWidgetInfo()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java504 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/
DCustomAppWidgetProviderInfo.java52 minSpanX = parcel.readInt(); in CustomAppWidgetProviderInfo()
86 out.writeInt(minSpanX); in writeToParcel()
DCustomWidgetManager.java164 info.minSpanX = plugin.getMinSpanX(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.java278 if (info.spanX > info.minSpanX && info.spanX > 1) { in getSupportedResizeActions()