Home
last modified time | relevance | path

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

/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java1997 int minSpanY = spanY;
2000 minSpanY = ((PendingAddWidgetInfo) d.dragInfo).minSpanY;
2004 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, dropTargetLayout,
2019 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY,
2229 int minSpanY = item.spanY;
2230 if (item.minSpanX > 0 && item.minSpanY > 0) {
2232 minSpanY = item.minSpanY;
2237 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, cell,
2839 int minSpanY = item.spanY;
2840 if (item.minSpanX > 0 && item.minSpanY > 0) {
[all …]
DCellLayout.java1316 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 …]
DPendingAddItemInfo.java99 minSpanY = copy.minSpanY; in PendingAddWidgetInfo()
DAppsCustomizePagedView.java458 int minSpanY = Math.min(spanXY[1], minSpanXY[1]); in onPackagesUpdated() local
460 minSpanY <= LauncherModel.getCellCountY()) { in onPackagesUpdated()
1208 createItemInfo.minSpanY = minSpanXY[1]; in syncWidgetPageItems()
DLauncher.java1246 launcherInfo.minSpanY = mPendingAddInfo.minSpanY; in completeAddAppWidget()
1771 mPendingAddInfo.minSpanX = mPendingAddInfo.minSpanY = -1; in resetAddInfo()
1835 mPendingAddInfo.minSpanY = info.minSpanY; in addAppWidgetFromDrop()
DItemInfo.java88 int minSpanY = 1; field in ItemInfo
DLauncherModel.java1469 appWidgetInfo.minSpanY = minSpan[1]; in loadWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2710 int minSpanY = spanY; in acceptDrop() local
2713 minSpanY = ((PendingAddWidgetInfo) d.dragInfo).minSpanY; in acceptDrop()
2717 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, dropTargetLayout, in acceptDrop()
2733 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, in acceptDrop()
2951 int minSpanY = item.spanY; in onDrop() local
2952 if (item.minSpanX > 0 && item.minSpanY > 0) { in onDrop()
2954 minSpanY = item.minSpanY; in onDrop()
2959 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, cell, in onDrop()
3502 int minSpanY = item.spanY;
3503 if (item.minSpanX > 0 && item.minSpanY > 0) {
[all …]
DCellLayout.java1304 int[] findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, in findNearestVacantArea() argument
1306 return findNearestVacantArea(pixelX, pixelY, minSpanX, minSpanY, spanX, spanY, null, in findNearestVacantArea()
1361 int[] findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, in findNearestArea() argument
1383 if (minSpanX <= 0 || minSpanY <= 0 || spanX <= 0 || spanY <= 0 || in findNearestArea()
1384 spanX < minSpanX || spanY < minSpanY) { in findNearestArea()
1388 for (int y = 0; y < countY - (minSpanY - 1); y++) { in findNearestArea()
1396 for (int j = 0; j < minSpanY; j++) { in findNearestArea()
1403 ySize = minSpanY; in findNearestArea()
2145 ItemConfiguration findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, in findReorderSolution() argument
2168 if (spanX > minSpanX && (minSpanY == spanY || decX)) { in findReorderSolution()
[all …]
DPendingAddItemInfo.java99 minSpanY = copy.minSpanY; in PendingAddWidgetInfo()
DAppsCustomizePagedView.java459 int minSpanY = Math.min(spanXY[1], minSpanXY[1]); in onPackagesUpdated() local
461 minSpanY <= (int) grid.numRows) { in onPackagesUpdated()
1212 createItemInfo.minSpanY = minSpanXY[1]; in syncWidgetPageItems()
DItemInfo.java88 int minSpanY = 1; field in ItemInfo
DLauncher.java1545 launcherInfo.minSpanY = mPendingAddInfo.minSpanY; in completeAddAppWidget()
2090 mPendingAddInfo.minSpanX = mPendingAddInfo.minSpanY = -1; in resetAddInfo()
2172 mPendingAddInfo.minSpanY = info.minSpanY; in addAppWidgetFromDrop()
DLauncherModel.java2032 appWidgetInfo.minSpanY = minSpan[1]; in loadWorkspace()