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

/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayoutChildren.java49 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap ) { argument
50 mCellWidth = cellWidth;
87 final int cellWidth = mCellWidth;
91 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap);
H A DPagedViewCellLayout.java478 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap, argument
486 width = myCellHSpan * cellWidth + ((myCellHSpan - 1) * widthGap) -
492 x = hStartPadding + myCellX * (cellWidth + widthGap) + leftMargin;
495 x = myCellX * (cellWidth + widthGap) + leftMargin;
H A DCellLayout.java267 int cellWidth = r.getDimensionPixelSize(R.dimen.workspace_cell_width);
271 return minGap * (numCells - 1) + cellWidth * numCells;
1037 // cellWidth/2 and cellHeight/2 when finding the matching cell
1439 final int cellWidth = mCellWidth;
1447 int width = cellHSpan * cellWidth + ((cellHSpan - 1) * widthGap);
1450 int x = hStartPadding + cellX * (cellWidth + widthGap);
1751 public void setup(int cellWidth, int cellHeight, int widthGap, int heightGap) { argument
1758 width = myCellHSpan * cellWidth + ((myCellHSpan - 1) * widthGap) -
1762 x = myCellX * (cellWidth + widthGap) + leftMargin;
H A DAppsCustomizePagedView.java832 int cellWidth, int cellHeight, int cellCountX) {
850 AsyncTaskPageData pageData = new AsyncTaskPageData(page, widgets, cellWidth, cellHeight,
1098 final int cellWidth = ((contentWidth - mPageLayoutPaddingLeft - mPageLayoutPaddingRight
1147 lp.width = cellWidth;
1161 int maxPreviewWidth = cellWidth;
831 prepareLoadWidgetPreviewsTask(int page, ArrayList<Object> widgets, int cellWidth, int cellHeight, int cellCountX) argument
/packages/apps/Calendar/src/com/android/calendar/
H A DEventGeometry.java48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) { argument
100 float colWidth = (float) (cellWidth - (maxCols + 1) * mCellMargin) / (float) maxCols;
H A DDayView.java2991 int cellWidth = computeDayLeftPosition(dayIndex + 1) - left + 1;
2999 selectionArea.right = selectionArea.left + cellWidth;
3008 if (!geometry.computeEventRect(date, left, top, cellWidth, event)) {
4408 int cellWidth = mCellWidth;
4485 if (!geometry.computeEventRect(date, left, top, cellWidth, event)) {

Completed in 86 milliseconds