Searched refs:spanX (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DItemInfo.java72 int spanX = 1; field in class:ItemInfo
96 spanX = info.spanX;
115 values.put(LauncherSettings.Favorites.SPANX, spanX);
160 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
H A DCellLayout.java671 cellInfo.spanX = lp.cellHSpan;
688 cellInfo.spanX = 1;
720 cellInfo.spanX = 0;
1028 * @param spanX The number of horizontal cells that the item spans
1032 void estimateDropCell(int originX, int originY, int spanX, int spanY, int[] result) { argument
1041 int rightOverhang = result[0] + spanX - countX;
1054 int spanX, int spanY, Point dragOffset, Rect dragRegion) {
1058 final int[] nearest = findNearestVacantArea(originX, originY, spanX, spanY, v, mDragCell);
1092 left += ((mCellWidth * spanX) + ((spanX
1053 visualizeDropLocation(View v, Bitmap dragOutline, int originX, int originY, int spanX, int spanY, Point dragOffset, Rect dragRegion) argument
1145 findNearestVacantArea( int pixelX, int pixelY, int spanX, int spanY, int[] result) argument
1164 findNearestArea(int pixelX, int pixelY, int spanX, int spanY, View ignoreView, boolean ignoreOccupied, int[] result) argument
1234 findNearestVacantArea( int pixelX, int pixelY, int spanX, int spanY, View ignoreView, int[] result) argument
1252 findNearestArea( int pixelX, int pixelY, int spanX, int spanY, int[] result) argument
1274 findCellForSpan(int[] cellXY, int spanX, int spanY) argument
1288 findCellForSpanIgnoring(int[] cellXY, int spanX, int spanY, View ignoreView) argument
1304 findCellForSpanThatIntersects(int[] cellXY, int spanX, int spanY, int intersectX, int intersectY) argument
1313 findCellForSpanThatIntersectsIgnoring(int[] cellXY, int spanX, int spanY, int intersectX, int intersectY, View ignoreView) argument
1526 getVacantCell(int[] vacant, int spanX, int spanY) argument
1531 findVacantCell(int[] vacant, int spanX, int spanY, int xCount, int yCount, boolean[][] occupied) argument
1631 markCellsForView(int cellX, int cellY, int spanX, int spanY, boolean value) argument
1814 int spanX; field in class:CellLayout.CellInfo
[all...]
H A DInstallShortcutReceiver.java99 int cellX, cellY, spanX, spanY;
106 spanX = item.spanX;
108 for (int x = cellX; x < cellX + spanX && x < xCount; x++) {
H A DLauncherAppWidgetInfo.java60 spanX = -1;
H A DWorkspace.java461 * the child are defined by x, y, spanX and spanY.
467 * @param spanX The number of cells spanned horizontally by the child.
470 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) { argument
471 addInScreen(child, container, screen, x, y, spanX, spanY, false);
476 * the child are defined by x, y, spanX and spanY.
482 * @param spanX The number of cells spanned horizontally by the child.
486 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY, argument
526 lp = new CellLayout.LayoutParams(x, y, spanX, spanY);
530 lp.cellHSpan = spanX;
534 if (spanX <
3111 findNearestVacantArea(int pixelX, int pixelY, int spanX, int spanY, View ignoreView, CellLayout layout, int[] recycle) argument
3122 findNearestArea(int pixelX, int pixelY, int spanX, int spanY, CellLayout layout, int[] recycle) argument
[all...]
H A DPagedViewCellLayout.java313 int spanX = (width + smallerSize) / smallerSize;
316 return new int[] { spanX, spanY };
H A DFolder.java522 if (mContent.findCellForSpan(emptyCell, item.spanX, item.spanY)) {
554 new CellLayout.LayoutParams(item.cellX, item.cellY, item.spanX, item.spanY);
944 mInfo.cellY, mInfo.spanX, mInfo.spanY);
966 item.spanX = 1;
H A DLauncherModel.java278 * Resize an item in the DB to a new <spanX, spanY, cellX, cellY>
281 final int cellY, final int spanX, final int spanY) {
282 item.spanX = spanX;
289 values.put(LauncherSettings.Favorites.SPANX, spanX);
350 item.spanX = c.getInt(spanXIndex);
476 long container, int screen, int localCellX, int localCellY, int spanX, int spanY) {
944 for (int x = item.cellX; x < (item.cellX+item.spanX); x++) {
956 for (int x = item.cellX; x < (item.cellX+item.spanX); x++) {
1145 appWidgetInfo.spanX
280 resizeItemInDatabase(Context context, final ItemInfo item, final int cellX, final int cellY, final int spanX, final int spanY) argument
475 getCellLayoutChildId( long container, int screen, int localCellX, int localCellY, int spanX, int spanY) argument
[all...]
H A DLauncherProvider.java250 "spanX INTEGER," +
948 int spanX = a.getInt(R.styleable.Favorite_spanX, 0);
950 return addAppWidget(db, values, cn, spanX, spanY);
957 int spanX, int spanY) {
965 values.put(Favorites.SPANX, spanX);
956 addAppWidget(SQLiteDatabase db, ContentValues values, ComponentName cn, int spanX, int spanY) argument
H A DAppsCustomizePagedView.java551 createItemInfo.spanX = spanXY[0];
568 createItemInfo.spanX = createItemInfo.spanY = 1;
642 !layout.findCellForSpan(null, itemInfo.spanX, itemInfo.spanY);
H A DLauncher.java994 launcherInfo.spanX = spanXY[0];
1008 launcherInfo.spanX, launcherInfo.spanY, isWorkspaceLocked());
1405 mPendingAddInfo.spanX = mPendingAddInfo.spanY = -1;
2997 item.cellY, item.spanX, item.spanY, false);
/packages/apps/Launcher2/
H A Dprint_db.py83 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):

Completed in 106 milliseconds