Searched refs:spanY (Results 1 - 25 of 43) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/
H A DItemInfo.java85 public int spanY = 1; field in class:ItemInfo
139 spanY = info.spanY;
166 values.put(LauncherSettings.Favorites.SPANY, spanY);
197 + " spanY=" + spanY + " dropPos=" + Arrays.toString(dropPos)
H A DCellLayout.java754 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) { argument
760 (spanY * mCellHeight + (spanY - 1) * mHeightGap) / 2;
770 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) { argument
776 top + (spanY * mCellHeight + (spanY - 1) * mHeightGap));
1018 int cellY, int spanX, int spanY, boolean resize, Point dragOffset, Rect dragRegion) {
1063 top += ((mCellHeight * spanY) + ((spanY - 1) * mHeightGap)
1073 cellToRect(cellX, cellY, spanX, spanY,
1017 visualizeDropLocation(View v, Bitmap dragOutline, int originX, int originY, int cellX, int cellY, int spanX, int spanY, boolean resize, Point dragOffset, Rect dragRegion) argument
1100 findNearestVacantArea(int pixelX, int pixelY, int spanX, int spanY, int[] result) argument
1119 findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] result, int[] resultSpan) argument
1156 findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, boolean ignoreOccupied, int[] result, int[] resultSpan) argument
1295 findNearestArea(int cellX, int cellY, int spanX, int spanY, int[] direction, boolean[][] occupied, boolean blockOccupied[][], int[] result) argument
1852 rearrangementExists(int cellX, int cellY, int spanX, int spanY, int[] direction, View ignoreView, ItemConfiguration solution) argument
1933 findReorderSolution(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument
2082 ReorderPreviewAnimation(View child, int mode, int cellX0, int cellY0, int cellX1, int cellY1, int spanX, int spanY) argument
2230 findConfigurationNoShuffle(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, ItemConfiguration solution) argument
2261 getDirectionVectorForDrop(int dragViewCenterX, int dragViewCenterY, int spanX, int spanY, View dragView, int[] resultDirection) argument
2300 getViewsIntersectingRegion(int cellX, int cellY, int spanX, int spanY, View dragView, Rect boundingRect, ArrayList<View> intersectingViews) argument
2323 isNearestDropLocationOccupied(int pixelX, int pixelY, int spanX, int spanY, View dragView, int[] result) argument
2349 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument
2380 performReorder(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, int[] result, int resultSpan[], int mode) argument
2525 int spanX, spanY; field in class:CellLayout.CellAndSpan
2537 CellAndSpan(int x, int y, int spanX, int spanY) argument
2563 findNearestArea(int pixelX, int pixelY, int spanX, int spanY, int[] result) argument
2584 findCellForSpan(int[] cellXY, int spanX, int spanY) argument
2763 markCellsForView(int cellX, int cellY, int spanX, int spanY, boolean[][] occupied, boolean value) argument
2969 int spanY; field in class:CellLayout.CellInfo
2990 findVacantCell(int spanX, int spanY, int[] outXY) argument
2994 isRegionVacant(int x, int y, int spanX, int spanY) argument
[all...]
H A DLauncherAppWidgetInfo.java106 spanY = -1;
138 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
H A DAppWidgetResizeFrame.java254 int spanY = lp.cellVSpan;
285 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc);
302 spanY += vSpanInc;
321 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView,
326 lp.cellVSpan = spanY;
330 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY);
337 int spanX, int spanY) {
338 getWidgetSizeRanges(launcher, spanX, spanY, sTmpRect);
343 public static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) { argument
357 int landHeight = (int) ((spanY * cellHeigh
336 updateWidgetSizeRanges(AppWidgetHostView widgetView, Launcher launcher, int spanX, int spanY) argument
[all...]
H A DWorkspace.java343 Rect r = estimateItemPosition(cl, itemInfo, 0, 0, itemInfo.spanX, itemInfo.spanY);
620 int spanY = customScreen.getCountY();
621 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(0, 0, spanX, spanY);
907 int x, int y, int spanX, int spanY) {
908 addInScreen(child, container, screenId, x, y, spanX, spanY, false, false);
914 int spanX, int spanY) {
915 addInScreen(child, container, screenId, x, y, spanX, spanY, false, true);
919 void addInScreen(View child, long container, long screenId, int x, int y, int spanX, int spanY, argument
921 addInScreen(child, container, screenId, x, y, spanX, spanY, insert, false);
926 * the child are defined by x, y, spanX and spanY
906 addInScreen(View child, long container, long screenId, int x, int y, int spanX, int spanY) argument
913 addInScreenFromBind(View child, long container, long screenId, int x, int y, int spanX, int spanY) argument
939 addInScreen(View child, long container, long screenId, int x, int y, int spanX, int spanY, boolean insert, boolean computeXYFromRank) argument
3309 int minSpanX, minSpanY, spanX, spanY; field in class:Workspace.ReorderAlarmListener
3313 ReorderAlarmListener(float[] dragViewCenter, int minSpanX, int minSpanY, int spanX, int spanY, DragView dragView, View child) argument
3704 findNearestArea(int pixelX, int pixelY, int spanX, int spanY, CellLayout layout, int[] recycle) argument
[all...]
H A DFolderInfo.java143 + " spanY=" + spanY + " dropPos=" + Arrays.toString(dropPos) + ")";
H A DAppInfo.java121 + " spanX=" + spanX + " spanY=" + spanY + " dropPos=" + Arrays.toString(dropPos)
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DPackageItemInfo.java62 + " spanX=" + spanX + " spanY=" + spanY + " dropPos=" + Arrays.toString(dropPos)
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java742 cellInfo.spanY = lp.cellVSpan;
759 cellInfo.spanY = 1;
792 cellInfo.spanY = 0;
868 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) { argument
874 (spanY * mCellHeight + (spanY - 1) * mHeightGap) / 2;
884 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) { argument
890 top + (spanY * mCellHeight + (spanY - 1) * mHeightGap));
1185 * @param spanY Th
1188 estimateDropCell(int originX, int originY, int spanX, int spanY, int[] result) argument
1209 visualizeDropLocation(View v, Bitmap dragOutline, int originX, int originY, int cellX, int cellY, int spanX, int spanY, boolean resize, Point dragOffset, Rect dragRegion) argument
1296 findNearestVacantArea(int pixelX, int pixelY, int spanX, int spanY, int[] result) argument
1316 findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] result, int[] resultSpan) argument
1336 findNearestArea(int pixelX, int pixelY, int spanX, int spanY, View ignoreView, boolean ignoreOccupied, int[] result) argument
1373 findNearestArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View ignoreView, boolean ignoreOccupied, int[] result, int[] resultSpan, boolean[][] occupied) argument
1518 findNearestArea(int cellX, int cellY, int spanX, int spanY, int[] direction, boolean[][] occupied, boolean blockOccupied[][], int[] result) argument
2076 rearrangementExists(int cellX, int cellY, int spanX, int spanY, int[] direction, View ignoreView, ItemConfiguration solution) argument
2155 simpleSwap(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, int[] direction, View dragView, boolean decX, ItemConfiguration solution) argument
2291 ReorderHintAnimation(View child, int cellX0, int cellY0, int cellX1, int cellY1, int spanX, int spanY) argument
2435 findConfigurationNoShuffle(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, ItemConfiguration solution) argument
2466 getDirectionVectorForDrop(int dragViewCenterX, int dragViewCenterY, int spanX, int spanY, View dragView, int[] resultDirection) argument
2505 getViewsIntersectingRegion(int cellX, int cellY, int spanX, int spanY, View dragView, Rect boundingRect, ArrayList<View> intersectingViews) argument
2528 isNearestDropLocationOccupied(int pixelX, int pixelY, int spanX, int spanY, View dragView, int[] result) argument
2553 createAreaForResize(int cellX, int cellY, int spanX, int spanY, View dragView, int[] direction, boolean commit) argument
2584 createArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View dragView, int[] result, int resultSpan[], int mode) argument
2710 int spanX, spanY; field in class:CellLayout.CellAndSpan
2722 CellAndSpan(int x, int y, int spanX, int spanY) argument
2748 findNearestVacantArea( int pixelX, int pixelY, int spanX, int spanY, View ignoreView, int[] result) argument
2768 findNearestVacantArea(int pixelX, int pixelY, int minSpanX, int minSpanY, int spanX, int spanY, View ignoreView, int[] result, int[] resultSpan) argument
2787 findNearestArea( int pixelX, int pixelY, int spanX, int spanY, int[] result) argument
2809 findCellForSpan(int[] cellXY, int spanX, int spanY) argument
2823 findCellForSpanIgnoring(int[] cellXY, int spanX, int spanY, View ignoreView) argument
2840 findCellForSpanThatIntersects(int[] cellXY, int spanX, int spanY, int intersectX, int intersectY) argument
2849 findCellForSpanThatIntersectsIgnoring(int[] cellXY, int spanX, int spanY, int intersectX, int intersectY, View ignoreView, boolean occupied[][]) argument
3052 getVacantCell(int[] vacant, int spanX, int spanY) argument
3057 findVacantCell(int[] vacant, int spanX, int spanY, int xCount, int yCount, boolean[][] occupied) argument
3112 markCellsForView(int cellX, int cellY, int spanX, int spanY, boolean[][] occupied, boolean value) argument
3324 int spanY; field in class:CellLayout.CellInfo
[all...]
H A DLauncherAppWidgetInfo.java62 spanY = -1;
85 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
H A DPendingAddItemInfo.java79 spanY = copy.spanY;
H A DItemInfo.java86 int spanY = 1; field in class:ItemInfo
129 spanY = info.spanY;
174 values.put(LauncherSettings.Favorites.SPANY, spanY);
221 + " spanY=" + spanY + " dropPos=" + dropPos + " user=" + user
H A DAppWidgetResizeFrame.java257 int spanY = lp.cellVSpan;
288 vSpanInc = Math.min(countY - (cellY + spanY), vSpanInc);
305 spanY += vSpanInc;
324 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView,
329 lp.cellVSpan = spanY;
333 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY);
340 int spanX, int spanY) {
342 getWidgetSizeRanges(launcher, spanX, spanY, mTmpRect);
347 static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) { argument
361 int landHeight = (int) ((spanY * cellHeigh
339 updateWidgetSizeRanges(AppWidgetHostView widgetView, Launcher launcher, int spanX, int spanY) argument
[all...]
H A DWorkspace.java484 * the child are defined by x, y, spanX and spanY.
491 * @param spanY The number of cells spanned vertically by the child.
493 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) { argument
494 addInScreen(child, container, screen, x, y, spanX, spanY, false);
499 * the child are defined by x, y, spanX and spanY.
506 * @param spanY The number of cells spanned vertically by the child.
509 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY, argument
550 lp = new CellLayout.LayoutParams(x, y, spanX, spanY);
556 lp.cellVSpan = spanY;
559 if (spanX < 0 && spanY <
2938 int minSpanX, minSpanY, spanX, spanY; field in class:Workspace.ReorderAlarmListener
2942 ReorderAlarmListener(float[] dragViewCenter, int minSpanX, int minSpanY, int spanX, int spanY, DragView dragView, View child) argument
3349 findNearestArea(int pixelX, int pixelY, int spanX, int spanY, CellLayout layout, int[] recycle) argument
[all...]
H A DInstallShortcutReceiver.java343 int cellX, cellY, spanX, spanY;
351 spanY = item.spanY;
353 for (int y = cellY; 0 <= y && y < cellY + spanY && y < yCount; y++) {
H A DShortcutInfo.java154 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX + " spanY=" + spanY
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
H A DLauncherAccessibilityDelegate.java170 screenId, coordinates, info.spanX, info.spanY);
233 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) ||
234 layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY)) {
244 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) ||
249 if (info.spanY > info.minSpanY && info.spanY > 1) {
263 && layout.isRegionVacant(info.cellX - 1, info.cellY, 1, info.spanY))
264 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) {
274 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1)) {
279 info.spanY
[all...]
H A DWorkspaceAccessibilityHelper.java64 int spanY = dragInfo.info.spanY;
67 for (int n = 0; n < spanY; n++) {
77 for (int j = y0; j < y0 + spanY; j++) {
H A DDragAndDropAccessibilityDelegate.java133 mView.cellToRect(cellX, cellY, dragInfo.info.spanX, dragInfo.info.spanY, mTempRect);
/packages/apps/Launcher2/
H A Dprint_db.py84 spanY = cell["spanY"]
92 spanX, spanY,
93 (CELL_SIZE*spanX), (CELL_SIZE*spanY),
203 spanY = row["spanY"] variable
204 for j in range(cellY, cellY+spanY):
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DPendingAddWidgetInfo.java61 spanY = i.getSpanY(launcher);
H A DWidgetHostViewLoader.java135 AppWidgetResizeFrame.getWidgetSizeRanges(launcher, info.spanX, info.spanY, rect);
H A DWidgetsContainerView.java246 createItemInfo.spanX = createItemInfo.spanY = 1;
324 !layout.findCellForSpan(null, itemInfo.spanX, itemInfo.spanY);
/packages/apps/Launcher3/
H A Dprint_db.py115 spanY = cell["spanY"]
123 spanX, spanY,
124 (CELL_SIZE*spanX), (CELL_SIZE*spanY),
166 if d["spanY"] is None:
167 d["spanY"] = 1
264 spanY = row["spanY"] variable
265 for j in range(cellY, cellY+spanY):
/packages/apps/Launcher3/protos/
H A Dbackup.proto94 optional int32 spanY = 9;

Completed in 251 milliseconds

12