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

/packages/apps/Launcher2/src/com/android/launcher2/
H A DItemInfo.java72 int spanX = 1; field in class:ItemInfo
91 spanX = info.spanX;
110 values.put(LauncherSettings.Favorites.SPANX, spanX);
H A DCellLayout.java183 cellInfo.spanX = lp.cellHSpan;
209 cellInfo.spanX = 1;
226 cellInfo.spanX = 0;
314 cell.spanX = current.right - current.left + 1;
316 if (cell.spanX > cellInfo.maxVacantSpanX) {
317 cellInfo.maxVacantSpanX = cell.spanX;
322 cellInfo.maxVacantSpanYSpanX = cell.spanX;
367 cellInfo.spanX = 0;
602 * @param spanX Horizontal span of the object.
609 int[] findNearestVacantArea(int pixelX, int pixelY, int spanX, in argument
764 getVacantCell(int[] vacant, int spanX, int spanY) argument
775 findVacantCell(int[] vacant, int spanX, int spanY, int xCount, int yCount, boolean[][] occupied) argument
944 int spanX; field in class:CellLayout.CellInfo.VacantCell
993 int spanX; field in class:CellLayout.CellInfo
1045 findCellForSpan(int[] cellXY, int spanX, int spanY) argument
1049 findCellForSpan(int[] cellXY, int spanX, int spanY, boolean clear) argument
[all...]
H A DWorkspace.java311 * the child are defined by x, y, spanX and spanY.
316 * @param spanX The number of cells spanned horizontally by the child.
319 void addInCurrentScreen(View child, int x, int y, int spanX, int spanY) { argument
320 addInScreen(child, mCurrentScreen, x, y, spanX, spanY, false);
325 * the child are defined by x, y, spanX and spanY.
330 * @param spanX The number of cells spanned horizontally by the child.
334 void addInCurrentScreen(View child, int x, int y, int spanX, int spanY, boolean insert) { argument
335 addInScreen(child, mCurrentScreen, x, y, spanX, spanY, insert);
340 * the child are defined by x, y, spanX and spanY.
346 * @param spanX Th
349 addInScreen(View child, int screen, int x, int y, int spanX, int spanY) argument
365 addInScreen(View child, int screen, int x, int y, int spanX, int spanY, boolean insert) argument
1197 estimateDropCell(int pixelX, int pixelY, int spanX, int spanY, View ignoreView, CellLayout layout, int[] recycle) argument
[all...]
H A DInstallShortcutReceiver.java108 int spanX = c.getInt(spanXIndex);
111 for (int x = cellX; x < cellX + spanX && x < xCount; x++) {
H A DLauncherProvider.java219 "spanX INTEGER," +
787 int spanX = a.getInt(R.styleable.Favorite_spanX, 0);
789 return addAppWidget(db, values, cn, spanX, spanY);
796 int spanX, int spanY) {
804 values.put(Favorites.SPANX, spanX);
795 addAppWidget(SQLiteDatabase db, ContentValues values, ComponentName cn, int spanX, int spanY) argument
H A DLauncher.java703 addItemCellInfo.spanX = savedState.getInt(RUNTIME_STATE_PENDING_ADD_SPAN_X);
925 launcherInfo.spanX = spans[0];
942 launcherInfo.spanX, launcherInfo.spanY, isWorkspaceLocked());
1037 outState.putInt(RUNTIME_STATE_PENDING_ADD_SPAN_X, addItemCellInfo.spanX);
1349 private boolean findSlot(CellLayout.CellInfo cellInfo, int[] xy, int spanX, int spanY) { argument
1350 if (!cellInfo.findCellForSpan(xy, spanX, spanY)) {
1354 if (!cellInfo.findCellForSpan(xy, spanX, spanY)) {
2266 item.cellY, item.spanX, item.spanY, false);
H A DLauncherModel.java600 for (int x = item.cellX; x < (item.cellX+item.spanX); x++) {
612 for (int x = item.cellX; x < (item.cellX+item.spanX); x++) {
840 appWidgetInfo.spanX = c.getInt(spanXIndex);
/packages/apps/Launcher2/
H A Dprint_db.py140 spanX = row["spanX"] variable
143 for k in range(cellX, cellX+spanX):
161 spanX = cell["spanX"] variable
170 spanX, spanY,
171 (CELL_SIZE*spanX), (CELL_SIZE*spanY),

Completed in 72 milliseconds