Searched refs:spanY (Results 1 - 13 of 13) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DItemInfo.java77 int spanY = 1; field in class:ItemInfo
97 spanY = info.spanY;
116 values.put(LauncherSettings.Favorites.SPANY, spanY);
161 + " spanY=" + spanY + " isGesture=" + isGesture + " dropPos=" + dropPos + ")";
H A DInstallShortcutReceiver.java99 int cellX, cellY, spanX, spanY;
107 spanY = item.spanY;
109 for (int y = cellY; y < cellY + spanY && y < yCount; y++) {
H A DLauncherAppWidgetInfo.java61 spanY = -1;
H A DCellLayout.java672 cellInfo.spanY = lp.cellVSpan;
689 cellInfo.spanY = 1;
721 cellInfo.spanY = 0;
1029 * @param spanY The number of vertical cells that the item spans
1032 void estimateDropCell(int originX, int originY, int spanX, int spanY, int[] result) { argument
1046 int bottomOverhang = result[1] + spanY - countY;
1054 int spanX, int spanY, Point dragOffset, Rect dragRegion) {
1058 final int[] nearest = findNearestVacantArea(originX, originY, spanX, spanY, v, mDragCell);
1105 top += ((mCellHeight * spanY) + ((spanY
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
1815 int spanY; field in class:CellLayout.CellInfo
[all...]
H A DWorkspace.java461 * the child are defined by x, y, spanX and spanY.
468 * @param spanY The number of cells spanned vertically 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.
483 * @param spanY The number of cells spanned vertically 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);
531 lp.cellVSpan = spanY;
534 if (spanX < 0 && spanY <
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.java314 int spanY = (height + 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);
967 item.spanY = 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) {
283 item.spanY = spanY;
290 values.put(LauncherSettings.Favorites.SPANY, spanY);
351 item.spanY = c.getInt(spanYIndex);
476 long container, int screen, int localCellX, int localCellY, int spanX, int spanY) {
945 for (int y = item.cellY; y < (item.cellY+item.spanY); y++) {
957 for (int y = item.cellY; y < (item.cellY+item.spanY); y++) {
1146 appWidgetInfo.spanY
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.java251 "spanY INTEGER," +
949 int spanY = a.getInt(R.styleable.Favorite_spanY, 0);
950 return addAppWidget(db, values, cn, spanX, spanY);
957 int spanX, int spanY) {
966 values.put(Favorites.SPANY, spanY);
956 addAppWidget(SQLiteDatabase db, ContentValues values, ComponentName cn, int spanX, int spanY) argument
H A DAppsCustomizePagedView.java552 createItemInfo.spanY = spanXY[1];
568 createItemInfo.spanX = createItemInfo.spanY = 1;
642 !layout.findCellForSpan(null, itemInfo.spanX, itemInfo.spanY);
H A DLauncher.java995 launcherInfo.spanY = spanXY[1];
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.py84 spanY = cell["spanY"]
92 spanX, spanY,
93 (CELL_SIZE*spanX), (CELL_SIZE*spanY),
203 spanY = row["spanY"] variable
204 for j in range(cellY, cellY+spanY):
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java3995 float spanY = Math.max(MIN_Y_SPAN, Math.abs(detector.getCurrentSpanY()));
3997 mCellHeight = (int) (mCellHeightBeforeScaleGesture * spanY / mStartingSpanY);
4002 mStartingSpanY = spanY;
4006 mStartingSpanY = spanY;

Completed in 197 milliseconds