Searched defs:hSpan (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
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.java354 // estimate the size of a widget with spans hSpan, vSpan. return MAX_VALUE for each
356 public int[] estimateItemSize(int hSpan, int vSpan, argument
361 Rect r = estimateItemPosition(cl, itemInfo, 0, 0, hSpan, vSpan);
376 int hCell, int vCell, int hSpan, int vSpan) {
378 cl.cellToRect(hCell, vCell, hSpan, vSpan, r);
375 estimateItemPosition(CellLayout cl, ItemInfo pendingInfo, int hCell, int vCell, int hSpan, int vSpan) argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspace.java372 * Estimates the size of an item using spans: hSpan, vSpan.
413 public Rect estimateItemPosition(CellLayout cl, int hCell, int vCell, int hSpan, int vSpan) { argument
415 cl.cellToRect(hCell, vCell, hSpan, vSpan, r);

Completed in 872 milliseconds