Searched refs:hSpan (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewWidget.java119 int hSpan = Math.min(cellSpan[0], LauncherModel.getCellCountX());
121 dims.setText(String.format(mDimensionsFormatString, hSpan, vSpan));
H A DPagedViewCellLayout.java358 * Estimates the width that the number of hSpan cells will take up.
360 public int estimateCellWidth(int hSpan) { argument
362 return hSpan * mCellWidth;
H A DWorkspace.java353 // estimate the size of a widget with spans hSpan, vSpan. return MAX_VALUE for each
355 public int[] estimateItemSize(int hSpan, int vSpan, argument
360 Rect r = estimateItemPosition(cl, itemInfo, 0, 0, hSpan, vSpan);
375 int hCell, int vCell, int hSpan, int vSpan) {
377 cl.cellToRect(hCell, vCell, hSpan, vSpan, r);
374 estimateItemPosition(CellLayout cl, ItemInfo pendingInfo, int hCell, int vCell, int hSpan, int vSpan) argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedViewWidget.java135 int hSpan = Math.min(cellSpan[0], (int) grid.numColumns);
137 dims.setText(String.format(mDimensionsFormatString, hSpan, vSpan));
H A DPagedViewCellLayout.java352 * Estimates the width that the number of hSpan cells will take up.
354 public int estimateCellWidth(int hSpan) { argument
356 return hSpan * mCellWidth;
H A DWorkspace.java337 // estimate the size of a widget with spans hSpan, vSpan. return MAX_VALUE for each
339 public int[] estimateItemSize(int hSpan, int vSpan, argument
345 Rect r = estimateItemPosition(cl, itemInfo, 0, 0, hSpan, vSpan);
361 int hCell, int vCell, int hSpan, int vSpan) {
363 cl.cellToRect(hCell, vCell, hSpan, vSpan, r);
360 estimateItemPosition(CellLayout cl, ItemInfo pendingInfo, int hCell, int vCell, int hSpan, int vSpan) argument

Completed in 487 milliseconds