HomeSort by relevance Sort by last modified time
    Searched defs:cellWidth (Results 1 - 25 of 31) sorted by null

1 2

  /development/samples/ApiDemos/src/com/example/android/apis/animation/
FixedGridLayout.java 76 int cellWidth = mCellWidth;
78 int columns = (r - l) / cellWidth;
92 int left = x + ((cellWidth-w)/2);
103 x += cellWidth;
  /development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayout.java 87 int cellWidth = mCellWidth;
89 int columns = (r - l) / cellWidth;
103 int left = x + ((cellWidth-w)/2);
114 x += cellWidth;
  /packages/apps/Settings/src/com/android/settings/dashboard/
DashboardContainerView.java 48 float cellWidth = (float) Math.ceil(((float) availableWidth) / mNumColumns);
62 lp.width = (int) ((colSpan * cellWidth) + (colSpan - 1) * mCellGapX);
  /external/deqp/framework/randomshaders/
rsgProgramExecutor.cpp 188 inline tcu::IVec4 computeVertexIndices (float cellWidth, float cellHeight, int gridVtxWidth, int gridVtxHeight, int x, int y)
191 int x0 = (int)deFloatFloor((float)x / cellWidth);
196 inline tcu::Vec2 computeGridCellWeights (float cellWidth, float cellHeight, int x, int y)
198 float gx = (x + 0.5f) / cellWidth;
305 float cellWidth = (float)width / (float)m_gridWidth;
326 tcu::IVec4 vtxIndices = computeVertexIndices(cellWidth, cellHeight, gridVtxWidth, gridVtxHeight, x, y);
327 tcu::Vec2 weights = computeGridCellWeights(cellWidth, cellHeight, x, y);
  /external/deqp/modules/gles2/functional/
es2fStencilTests.cpp 314 int cellWidth = width/gridSize;
318 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight));
es2fTextureMipmapTests.cpp 272 int cellWidth = viewport.width / gridWidth;
314 const int curX = cellWidth*gridX;
316 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth;
366 const int curX = cellWidth*gridX;
368 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth;
    [all...]
  /external/deqp/modules/gles3/functional/
es3fStencilTests.cpp 317 int cellWidth = width/gridSize;
321 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight));
es3fTextureMipmapTests.cpp 316 int cellWidth = viewport.width / gridWidth;
358 const int curX = cellWidth*gridX;
360 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth;
410 const int curX = cellWidth*gridX;
412 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth;
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
ShortcutAndWidgetContainer.java 51 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap,
53 mCellWidth = cellWidth;
115 final int cellWidth = mCellWidth;
119 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(), mCountX);
AppWidgetResizeFrame.java 356 int cellWidth = landMetrics.left;
360 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
364 cellWidth = portMetrics.left;
368 int portWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
AppsCustomizePagedView.java     [all...]
CellLayout.java 296 int cellWidth = r.getDimensionPixelSize(R.dimen.workspace_cell_width);
300 return minGap * (numCells - 1) + cellWidth * numCells;
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
ShortcutAndWidgetContainer.java 54 public void setCellDimensions(int cellWidth, int cellHeight, int widthGap, int heightGap,
56 mCellWidth = cellWidth;
143 final int cellWidth = mCellWidth;
147 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap, invertLayoutHorizontally(),
AppWidgetResizeFrame.java 353 int cellWidth = landMetrics.left;
357 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
361 cellWidth = portMetrics.left;
365 int portWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density);
AppsCustomizePagedView.java     [all...]
  /development/apps/WidgetPreview/src/com/android/widgetpreview/
WidgetPreviewActivity.java 201 int cellWidth = resources.getDimensionPixelSize(R.dimen.workspace_cell_width);
209 int smallerSize = Math.min(cellWidth, cellHeight);
  /external/deqp/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 275 int cellWidth = viewport.width / gridWidth;
321 int curX = cellWidth*gridX;
323 int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth;
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 268 int cellWidth = viewport.width / gridWidth;
314 int curX = cellWidth*gridX;
316 int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth;
  /frameworks/base/core/java/android/widget/
SimpleMonthView.java 659 final int cellWidth = ((mWidth - (2 * mPadding)) / mNumDays);
663 final int x = (offsetX + (column * cellWidth));
666 rect.set(x, y, (x + cellWidth), (y + cellHeight));
GridLayout.java     [all...]
  /external/pdfium/core/src/reflow/
layoutprocessor_reflow.cpp 596 FX_FLOAT cellWidth = pElement->GetNumberAttr(LayoutWidth);
597 if(cellWidth == 0 || pCell->m_MaxWidth > pTable->m_TableWidth) {
    [all...]
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
MonthView.java 778 final int cellWidth = ((mWidth - (2 * mEdgePadding)) / mNumDays);
782 final int x = (offsetX + (column * cellWidth));
785 rect.set(x, y, (x + cellWidth), (y + cellHeight));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridModel.java 693 int cellWidth = layoutBounds.w / CELL_COUNT;
697 xs[i] = i * cellWidth;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
RelativeLayoutConversionHelper.java     [all...]
  /frameworks/support/v7/gridlayout/src/android/support/v7/widget/
GridLayout.java     [all...]

Completed in 2203 milliseconds

1 2