/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
D | CalendarPanel.java | 230 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/ |
D | main.qml | 9 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/ |
D | index.js | 68 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/ |
D | rsgProgramExecutor.cpp | 188 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/ |
D | HolidayCalendarDemo.java | 618 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/ |
D | es3fTextureMipmapTests.cpp | 317 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 …]
|
D | es3fStencilTests.cpp | 317 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/ |
D | SlideDir.cpp | 304 const auto cellWidth = winWidth / fColumns; in load() local 305 fCellSize = SkSize::Make(cellWidth, cellWidth / kAspectRatio); in load()
|
/third_party/flutter/skia/tools/viewer/ |
D | SlideDir.cpp | 293 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/ |
D | vktTextureMipmapTests.cpp | 294 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/ |
D | vktTextureMipmapTests.cpp | 294 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/ |
D | es2fStencilTests.cpp | 314 int cellWidth = width/gridSize; in iterate() local 318 cells.push_back(IVec4(x*cellWidth, y*cellHeight, cellWidth, cellHeight)); in iterate()
|
D | es2fTextureMipmapTests.cpp | 273 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/ |
D | vktDrawDiscardRectanglesTests.cpp | 374 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/ |
D | es3aTextureMipmapTests.cpp | 269 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/ |
D | vktDrawDiscardRectanglesTests.cpp | 374 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/ |
D | es2aTextureMipmapTests.cpp | 277 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/ |
D | wacky_yuv_formats.cpp | 902 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()
|