Home
last modified time | relevance | path

Searched refs:cellWidth (Results 1 – 16 of 16) sorted by relevance

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
DFixedTableModel.java24 private float cellWidth; field in FixedTableModel
26 protected FixedTableModel(float cellWidth, float cellHeight, TableOrder order) { in FixedTableModel() argument
28 setCellWidth(cellWidth); in FixedTableModel()
38 return cellWidth; in getCellWidth()
41 public void setCellWidth(float cellWidth) { in setCellWidth() argument
42 this.cellWidth = cellWidth; in setCellWidth()
DDynamicTableModel.java47 private Float cellWidth; field in DynamicTableModel
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarPanel.java230 double cellWidth = (double)(d.width - 1) / daysInWeek; in paint() local
238 int width = (int)(cellPos.x*cellWidth); // Width of unshaded area in paint()
254 width = (int)((cellPos.x+1)*cellWidth); // Width of shaded area in paint()
272 int x = (int)(i * cellWidth); in paint()
300 cellx = (int)((col) * cellWidth); in paint()
302 cellx = (int)((daysInWeek - col - 1) * cellWidth); in paint()
318 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(dayNum); in paint()
337 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(month); in paint()
/external/deqp/framework/randomshaders/
DrsgProgramExecutor.cpp188 inline tcu::IVec4 computeVertexIndices (float cellWidth, float cellHeight, int gridVtxWidth, int gr… in computeVertexIndices() argument
191 int x0 = (int)deFloatFloor((float)x / cellWidth); in computeVertexIndices()
196 inline tcu::Vec2 computeGridCellWeights (float cellWidth, float cellHeight, int x, int y) in computeGridCellWeights() argument
198 float gx = ((float)x + 0.5f) / cellWidth; in computeGridCellWeights()
305 float cellWidth = (float)width / (float)m_gridWidth; in execute() local
326 …tcu::IVec4 vtxIndices = computeVertexIndices(cellWidth, cellHeight, gridVtxWidth, gridVtxHeight, x… in execute()
327 tcu::Vec2 weights = computeGridCellWeights(cellWidth, cellHeight, x, y); in execute()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java618 double cellWidth = (double)(d.width - 1) / daysInWeek; in paint() local
626 int width = (int)(cellPos.x*cellWidth); // Width of unshaded area in paint()
637 width = (int)((cellPos.x+1)*cellWidth); // Width of shaded area in paint()
650 int x = (int)(i * cellWidth); in paint()
668 int x = (int)((cellPos.x + 1) * cellWidth); in paint()
684 x = (int)((cellPos.x) * cellWidth); in paint()
695 DemoTextBox box = new DemoTextBox(g, info.name, (int)(cellWidth - INSET)); in paint()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp277 const int cellWidth = viewportWidth / gridWidth; in iterate() local
303 const int curX = cellWidth*gridX; in iterate()
305 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
352 const int curX = cellWidth*gridX; in iterate()
354 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
782 const int cellWidth = viewportWidth / gridWidth; in iterate() local
815 const int curX = cellWidth*gridX; in iterate()
817 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
866 const int curX = cellWidth*gridX; in iterate()
868 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureMipmapTests.cpp317 int cellWidth = viewport.width / gridWidth; in iterate() local
359 const int curX = cellWidth*gridX; in iterate()
361 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
411 const int curX = cellWidth*gridX; in iterate()
413 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
1262 const int cellWidth = viewport.width / gridWidth; in iterate() local
1304 const int curX = cellWidth*gridX; in iterate()
1306 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
1358 const int curX = cellWidth*gridX; in iterate()
1360 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
[all …]
Des3fStencilTests.cpp317 int cellWidth = width/gridSize; in iterate() local
321 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight)); in iterate()
/external/skia/tools/viewer/
DSlideDir.cpp304 const auto cellWidth = winWidth / fColumns; in load() local
305 fCellSize = SkSize::Make(cellWidth, cellWidth / kAspectRatio); in load()
/external/skqp/tools/viewer/
DSlideDir.cpp292 const auto cellWidth = winWidth / fColumns; in load() local
293 fCellSize = SkSize::Make(cellWidth, cellWidth / kAspectRatio); in load()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawDiscardRectanglesTests.cpp354 deUint32 cellWidth = (renderSize.x() - 10) / (2 * numRect - 1); in generateDiscardRectangles() local
362 rect.extent.width = cellWidth; in generateDiscardRectangles()
363 rect.offset.x = 5u + i * 2 * cellWidth; in generateDiscardRectangles()
/external/deqp/modules/gles2/functional/
Des2fStencilTests.cpp314 int cellWidth = width/gridSize; in iterate() local
318 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight)); in iterate()
Des2fTextureMipmapTests.cpp273 int cellWidth = viewport.width / gridWidth; in iterate() local
315 const int curX = cellWidth*gridX; in iterate()
317 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
367 const int curX = cellWidth*gridX; in iterate()
369 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
/external/deqp/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp277 int cellWidth = viewport.width / gridWidth; in iterate() local
323 int curX = cellWidth*gridX; in iterate()
325 int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
/external/deqp/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp269 int cellWidth = viewport.width / gridWidth; in iterate() local
315 int curX = cellWidth*gridX; in iterate()
317 int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
/external/skia/gm/
Dwacky_yuv_formats.cpp905 float cellWidth = kTileWidthHeight, cellHeight = kTileWidthHeight; in onDraw() local
907 cellWidth *= 1.5f; in onDraw()
935 draw_col_label(canvas, dstRect.fLeft + cellWidth / 2, cs, opaque); in onDraw()
958 dstRect.offset(cellWidth + kPad, 0.f); in onDraw()