Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src_common/com/android/launcher3/common/
DWidgetUtils.java50 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/
DWorkspace.java1548 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 …]
DLauncherAppWidgetProviderInfo.java31 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()
DCellLayout.java1041 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 …]
DLauncher.java1285 launcherInfo.minSpanX = itemInfo.minSpanX; in completeAddAppWidget()
2244 pendingInfo.minSpanX = item.minSpanX; in inflateAppWidget()
2302 item.minSpanX = appWidgetInfo.minSpanX; in inflateAppWidget()
DInstallShortcutReceiver.java505 widgetInfo.minSpanX = info.minSpanX; in getItemInfo()
DAppWidgetResizeFrame.java172 mMinHSpan = info.minSpanX; in setupForWidget()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DWidgetsModel.java184 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/
DPendingAddWidgetInfo.java53 minSpanX = i.minSpanX; in PendingAddWidgetInfo()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java509 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;
DGridSizeMigrationTaskV2.java391 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/
DCustomAppWidgetProviderInfo.java52 minSpanX = parcel.readInt(); in CustomAppWidgetProviderInfo()
86 out.writeInt(minSpanX); in writeToParcel()
DCustomWidgetManager.java165 info.minSpanX = plugin.getMinSpanX(); in newInfo()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DItemInfo.java121 public int minSpanX = 1; field in ItemInfo
231 + " minSpan(" + minSpanX + "," + minSpanY + ")" in dumpProperties()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DBindWidgetTest.java308 item.minSpanX = 2; in getInvalidWidgetInfo()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DAddItemActivity.java204 if (widgetInfo.minSpanX > mIdp.numColumns || widgetInfo.minSpanY > mIdp.numRows) { in setupWidget()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java309 if (info.spanX > info.minSpanX && info.spanX > 1) { in getSupportedResizeActions()