Home
last modified time | relevance | path

Searched refs:hSpan (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetCell.java149 int hSpan = Math.min(info.spanX, profile.numColumns); in applyFromAppWidgetProviderInfo() local
151 mWidgetDims.setText(String.format(mDimensionsFormatString, hSpan, vSpan)); in applyFromAppWidgetProviderInfo()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewWidget.java119 int hSpan = Math.min(cellSpan[0], LauncherModel.getCellCountX()); in applyFromAppWidgetProviderInfo() local
121 dims.setText(String.format(mDimensionsFormatString, hSpan, vSpan)); in applyFromAppWidgetProviderInfo()
DPagedViewCellLayout.java360 public int estimateCellWidth(int hSpan) { in estimateCellWidth() argument
362 return hSpan * mCellWidth; in estimateCellWidth()
DWorkspace.java356 public int[] estimateItemSize(int hSpan, int vSpan, in estimateItemSize() argument
361 Rect r = estimateItemPosition(cl, itemInfo, 0, 0, hSpan, vSpan); in estimateItemSize()
376 int hCell, int vCell, int hSpan, int vSpan) { in estimateItemPosition() argument
378 cl.cellToRect(hCell, vCell, hSpan, vSpan, r); in estimateItemPosition()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java381 public Rect estimateItemPosition(CellLayout cl, int hCell, int vCell, int hSpan, int vSpan) { in estimateItemPosition() argument
383 cl.cellToRect(hCell, vCell, hSpan, vSpan, r); in estimateItemPosition()