Home
last modified time | relevance | path

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

/third_party/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()
/third_party/gstreamer/gstplugins_good/tests/examples/qt/qmlsink-multisink/
Dmain.qml9 minimumWidth: videowall.cellWidth * Math.sqrt(videowall.model.length) + videowall.leftMargin
19 cellWidth: 500
23 width: videowall.cellWidth - 10
/third_party/node/deps/npm/node_modules/cli-columns/
Dindex.js68 const cellWidth = Math.max.apply(null, cells.map(stringWidth)) + options.padding;
69 const columnCount = Math.floor(termWidth / cellWidth) || 1;
77 .map(padCell.bind(null, cellWidth, options.character))
/third_party/vk-gl-cts/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()
/third_party/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()
/third_party/vk-gl-cts/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()
/third_party/skia/tools/viewer/
DSlideDir.cpp304 const auto cellWidth = winWidth / fColumns; in load() local
305 fCellSize = SkSize::Make(cellWidth, cellWidth / kAspectRatio); in load()
/third_party/flutter/skia/tools/viewer/
DSlideDir.cpp293 const auto cellWidth = winWidth / fColumns; in load() local
294 fCellSize = SkSize::Make(cellWidth, cellWidth / kAspectRatio); in load()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktTextureMipmapTests.cpp294 const int cellWidth = viewportWidth / gridWidth; in iterate() local
320 const int curX = cellWidth*gridX; in iterate()
322 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
369 const int curX = cellWidth*gridX; in iterate()
371 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
816 const int cellWidth = viewportWidth / gridWidth; in iterate() local
849 const int curX = cellWidth*gridX; in iterate()
851 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
900 const int curX = cellWidth*gridX; in iterate()
902 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp294 const int cellWidth = viewportWidth / gridWidth; in iterate() local
320 const int curX = cellWidth*gridX; in iterate()
322 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
369 const int curX = cellWidth*gridX; in iterate()
371 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
816 const int cellWidth = viewportWidth / gridWidth; in iterate() local
849 const int curX = cellWidth*gridX; in iterate()
851 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
900 const int curX = cellWidth*gridX; in iterate()
902 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
[all …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawDiscardRectanglesTests.cpp374 deUint32 cellWidth = (renderSize.x() - 10) / (2 * numRect - 1); in generateDiscardRectangles() local
382 rect.extent.width = cellWidth; in generateDiscardRectangles()
383 rect.offset.x = 5u + i * 2 * cellWidth; in generateDiscardRectangles()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawDiscardRectanglesTests.cpp374 deUint32 cellWidth = (renderSize.x() - 10) / (2 * numRect - 1); in generateDiscardRectangles() local
382 rect.extent.width = cellWidth; in generateDiscardRectangles()
383 rect.offset.x = 5u + i * 2 * cellWidth; in generateDiscardRectangles()
/third_party/vk-gl-cts/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()
/third_party/skia/gm/
Dwacky_yuv_formats.cpp902 float cellWidth = kTileWidthHeight, cellHeight = kTileWidthHeight; in onDraw() local
904 cellWidth *= 1.5f; in onDraw()
932 draw_col_label(canvas, dstRect.fLeft + cellWidth / 2, cs, opaque); in onDraw()
955 dstRect.offset(cellWidth + kPad, 0.f); in onDraw()