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

/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayout.java127 if (lp.cellHSpan < 0) lp.cellHSpan = mCellCountX;
421 public int cellHSpan; field in class:PagedViewCellLayout.LayoutParams
446 cellHSpan = 1;
452 cellHSpan = 1;
458 cellHSpan = 1;
466 this.cellHSpan = source.cellHSpan;
470 public LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { argument
474 this.cellHSpan
[all...]
H A DCellLayout.java566 if (lp.cellHSpan < 0) lp.cellHSpan = mCountX;
671 cellInfo.spanX = lp.cellHSpan;
1434 * @param cellHSpan Width in cells
1438 public void cellToRect(int cellX, int cellY, int cellHSpan, int cellVSpan, RectF resultRect) { argument
1447 int width = cellHSpan * cellWidth + ((cellHSpan - 1) * widthGap);
1585 for (int x = lp.cellX; x < lp.cellX + lp.cellHSpan; x++) {
1593 for (int x = lp.cellX + lp.cellHSpan; x < mCountX; x++) {
1605 for (int x = lp.cellX; x < lp.cellX + lp.cellHSpan;
1700 public int cellHSpan; field in class:CellLayout.LayoutParams
1743 LayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) argument
[all...]
H A DAppWidgetResizeFrame.java245 cellXInc = Math.min(lp.cellHSpan - mMinHSpan, cellXInc);
248 hSpanInc = Math.max(-(lp.cellHSpan - mMinHSpan), hSpanInc);
252 hSpanInc = Math.max(-(lp.cellHSpan - mMinHSpan), hSpanInc);
271 lp.cellHSpan += hSpanInc;
297 lp.cellHSpan, lp.cellVSpan);
H A DCellLayoutChildren.java62 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) &&
H A DAppsCustomizePagedView.java1007 int cellHSpan, int cellVSpan, int maxWidth, int maxHeight) {
1030 maxWidth = Math.min(maxWidth, mWidgetSpacingLayout.estimateCellWidth(cellHSpan));
1036 bitmapWidth = mWidgetSpacingLayout.estimateCellWidth(cellHSpan);
1038 if (cellHSpan == cellVSpan) {
1041 if (cellHSpan <= 1) {
1070 if (cellHSpan != 1 || cellVSpan != 1) {
1006 getWidgetPreview(ComponentName provider, int previewImage, int iconId, int cellHSpan, int cellVSpan, int maxWidth, int maxHeight) argument
H A DWorkspace.java530 lp.cellHSpan = spanX;

Completed in 149 milliseconds