/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | ItemInfo.java | 80 public int spanX = 1; field in class:ItemInfo 138 spanX = info.spanX; 165 values.put(LauncherSettings.Favorites.SPANX, spanX); 196 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
H A D | CellLayout.java | 754 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) { argument 758 (spanX * mCellWidth + (spanX - 1) * mWidthGap) / 2; 770 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) { argument 775 result.set(left, top, left + (spanX * mCellWidth + (spanX - 1) * mWidthGap), 1018 int cellY, int spanX, int spanY, boolean resize, Point dragOffset, Rect dragRegion) { 1048 left += ((mCellWidth * spanX) + ((spanX - 1) * mWidthGap) 1054 left += dragOffset.x + ((mCellWidth * spanX) 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 2968 int spanX; 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 D | LauncherAppWidgetInfo.java | 105 spanX = -1; 138 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
|
H A D | AppWidgetResizeFrame.java | 253 int spanX = lp.cellHSpan; 272 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); 294 spanX += hSpanInc; 321 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 325 lp.cellHSpan = spanX; 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 356 int landWidth = (int) ((spanX * cellWidt 336 updateWidgetSizeRanges(AppWidgetHostView widgetView, Launcher launcher, int spanX, int spanY) argument [all...] |
H A D | Workspace.java | 343 Rect r = estimateItemPosition(cl, itemInfo, 0, 0, itemInfo.spanX, itemInfo.spanY); 619 int spanX = customScreen.getCountX(); 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 an 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 D | FolderInfo.java | 142 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
H A D | AppInfo.java | 121 + " spanX=" + spanX + " spanY=" + spanY + " dropPos=" + Arrays.toString(dropPos)
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | PackageItemInfo.java | 62 + " spanX=" + spanX + " spanY=" + spanY + " dropPos=" + Arrays.toString(dropPos)
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | CellLayout.java | 741 cellInfo.spanX = lp.cellHSpan; 758 cellInfo.spanX = 1; 791 cellInfo.spanX = 0; 868 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) { argument 872 (spanX * mCellWidth + (spanX - 1) * mWidthGap) / 2; 884 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) { argument 889 result.set(left, top, left + (spanX * mCellWidth + (spanX - 1) * mWidthGap), 1184 * @param spanX 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 3323 int spanX; field in class:CellLayout.CellInfo [all...] |
H A D | LauncherAppWidgetInfo.java | 61 spanX = -1; 85 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
|
H A D | PendingAddItemInfo.java | 78 spanX = copy.spanX;
|
H A D | ItemInfo.java | 81 int spanX = 1; field in class:ItemInfo 128 spanX = info.spanX; 173 values.put(LauncherSettings.Favorites.SPANX, spanX); 220 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
|
H A D | AppWidgetResizeFrame.java | 256 int spanX = lp.cellHSpan; 275 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc); 297 spanX += hSpanInc; 324 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView, 328 lp.cellHSpan = spanX; 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 360 int landWidth = (int) ((spanX * cellWidt 339 updateWidgetSizeRanges(AppWidgetHostView widgetView, Launcher launcher, int spanX, int spanY) argument [all...] |
H A D | Workspace.java | 484 * the child are defined by x, y, spanX and spanY. 490 * @param spanX The number of cells spanned horizontally 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. 505 * @param spanX The number of cells spanned horizontally 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); 555 lp.cellHSpan = spanX; 559 if (spanX < 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 D | InstallShortcutReceiver.java | 343 int cellX, cellY, spanX, spanY; 350 spanX = item.spanX; 352 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) {
|
H A D | ShortcutInfo.java | 154 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX + " spanY=" + spanY
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
H A D | WorkspaceAccessibilityHelper.java | 63 int spanX = dragInfo.info.spanX; 66 for (int m = 0; m < spanX; m++) { 75 for (int i = x0; i < x0 + spanX; i++) {
|
H A D | LauncherAccessibilityDelegate.java | 170 screenId, coordinates, info.spanX, info.spanY); 233 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) || 238 if (info.spanX > info.minSpanX && info.spanX > 1) { 244 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) || 245 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) { 264 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) { 269 info.spanX ++; 272 info.spanX --; 274 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, [all...] |
H A D | DragAndDropAccessibilityDelegate.java | 133 mView.cellToRect(cellX, cellY, dragInfo.info.spanX, dragInfo.info.spanY, mTempRect);
|
/packages/apps/Launcher2/ |
H A D | print_db.py | 83 spanX = cell["spanX"] 92 spanX, spanY, 93 (CELL_SIZE*spanX), (CELL_SIZE*spanY), 202 spanX = row["spanX"] variable 205 for k in range(cellX, cellX+spanX):
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | PendingAddWidgetInfo.java | 60 spanX = i.getSpanX(launcher);
|
H A D | WidgetHostViewLoader.java | 135 AppWidgetResizeFrame.getWidgetSizeRanges(launcher, info.spanX, info.spanY, rect);
|
H A D | WidgetsContainerView.java | 246 createItemInfo.spanX = createItemInfo.spanY = 1; 324 !layout.findCellForSpan(null, itemInfo.spanX, itemInfo.spanY);
|
/packages/apps/Launcher3/ |
H A D | print_db.py | 114 spanX = cell["spanX"] 123 spanX, spanY, 124 (CELL_SIZE*spanX), (CELL_SIZE*spanY), 164 if d["spanX"] is None: 165 d["spanX"] = 1 171 COLUMNS = max(COLUMNS, d["cellX"] + d["spanX"]) 172 ROWS = max(ROWS, d["cellX"] + d["spanX"]) 263 spanX = row["spanX"] variable [all...] |
/packages/apps/Launcher3/protos/ |
H A D | backup.proto | 93 optional int32 spanX = 8;
|