Lines Matching refs:spanY
484 * 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) {
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,
550 lp = new CellLayout.LayoutParams(x, y, spanX, spanY);
556 lp.cellVSpan = spanY;
559 if (spanX < 0 && spanY < 0) {
564 int childId = LauncherModel.getCellLayoutChildId(container, screen, x, y, spanX, spanY);
1533 int[] size = estimateItemSize(info.spanX, info.spanY, info, false);
1986 int spanY = 1;
1990 spanY = dragCellInfo.spanY;
1994 spanY = dragInfo.spanY;
1998 int minSpanY = spanY;
2020 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY,
2205 int spanY = mDragInfo != null ? mDragInfo.spanY : 1;
2210 mDragViewVisualCenter[1], spanX, spanY, dropTargetLayout, mTargetCell);
2230 int minSpanY = item.spanY;
2238 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY, cell,
2245 (resultSpan[0] != item.spanX || resultSpan[1] != item.spanY)) {
2248 item.spanY = resultSpan[1];
2265 info.spanX, info.spanY);
2273 lp.cellVSpan = item.spanY;
2276 mTargetCell[0], mTargetCell[1], mDragInfo.spanX, mDragInfo.spanY));
2766 if (item.spanX < 0 || item.spanY < 0) throw new RuntimeException("Improper spans found");
2825 (int) mDragViewVisualCenter[1], item.spanX, item.spanY,
2840 int minSpanY = item.spanY;
2848 item.spanY, child, mTargetCell);
2853 mTargetCell[0], mTargetCell[1], item.spanX, item.spanY, false,
2862 minSpanX, minSpanY, item.spanX, item.spanY, d.dragView, child);
2938 int minSpanX, minSpanY, spanX, spanY;
2943 int spanY, DragView dragView, View child) {
2948 this.spanY = spanY;
2956 (int) mDragViewVisualCenter[1], spanX, spanY, mDragTargetLayout, mTargetCell);
2961 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, spanX, spanY,
2970 boolean resize = resultSpan[0] != spanX || resultSpan[1] != spanY;
2990 if (layout.findCellForSpan(mTempEstimate, dragInfo.spanX, dragInfo.spanY)) {
3022 int spanY = info.spanY;
3025 spanY = mDragInfo.spanY;
3042 mTargetCell = findNearestArea((int) touchXY[0], (int) touchXY[1], spanX, spanY,
3057 int minSpanY = item.spanY;
3064 (int) mDragViewVisualCenter[1], minSpanX, minSpanY, info.spanX, info.spanY,
3067 if (resultSpan[0] != item.spanX || resultSpan[1] != item.spanY) {
3071 item.spanY = resultSpan[1];
3083 span[1] = item.spanY;
3103 item.spanY);
3138 mTargetCell = findNearestArea((int) touchXY[0], (int) touchXY[1], spanX, spanY,
3162 info.spanY, insertAtFirst);
3185 widgetInfo.spanY, widgetInfo, false);
3209 int spanY = info.spanY;
3211 Rect r = estimateItemPosition(layout, info, targetCell[0], targetCell[1], spanX, spanY);
3350 int spanX, int spanY, CellLayout layout, int[] recycle) {
3352 pixelX, pixelY, spanX, spanY, recycle);
3416 info.cellY, info.spanX, info.spanY);