Searched defs:spanX (Results 1 - 6 of 6) 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 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 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 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 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...]
/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 85 milliseconds