/external/perfetto/ui/src/tracks/thread_state/ |
D | frontend.ts | 98 const rectWidth = rectEnd - rectStart; constant 99 ctx.fillRect(rectStart, MARGIN_TOP, rectWidth, RECT_HEIGHT); 102 if (rectWidth < 10 || state === 'Sleeping') continue; 103 const title = cropText(state, charWidth, rectWidth); 104 const rectXCenter = rectStart + rectWidth / 2;
|
/external/perfetto/ui/src/tracks/cpu_slices/ |
D | frontend.ts | 97 const rectWidth = Math.max(1, rectEnd - rectStart); constant 119 ctx.fillRect(rectStart, MARGIN_TOP, rectWidth, RECT_HEIGHT); 122 if (rectWidth < 5) continue; 140 title = cropText(title, charWidth, rectWidth); 141 subTitle = cropText(subTitle, charWidth, rectWidth); 142 const rectXCenter = rectStart + rectWidth / 2; 162 const rectWidth = Math.max(1, rectEnd - rectStart); constant 168 ctx.strokeRect(rectStart, MARGIN_TOP - 1.5, rectWidth, RECT_HEIGHT + 3);
|
/external/perfetto/ui/src/frontend/ |
D | track.ts | 115 const rectWidth = width + 16; constant 117 if (xPos + rectWidth > endPx) { 118 xPos -= (xPos + rectWidth - endPx); 124 xPos, rectMargin, rectWidth, this.getHeight() - rectMargin * 2);
|
D | flamegraph.ts | 319 const rectWidth = textWidth + 2 * paddingPx; constant 325 if (rectXStart + rectWidth > width) { 326 rectXStart = width - rectWidth; 334 ctx.fillRect(rectXStart, rectYStart, rectWidth, rectHeight);
|
/external/skqp/tests/ |
D | SVGDeviceTest.cpp | 231 int rectWidth, int rectHeight, SkShader::TileMode xTile, in ImageShaderTestSetup() argument 237 SkRect bounds{0, 0, SkIntToScalar(rectWidth), SkIntToScalar(rectHeight)}; in ImageShaderTestSetup() 246 int rectWidth = 10, rectHeight = 10; in DEF_TEST() local 247 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST() 271 int rectWidth = 10, rectHeight = 10; in DEF_TEST() local 272 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST() 331 int rectWidth = 10, rectHeight = 10; in DEF_TEST() local 332 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST()
|
/external/skia/tests/ |
D | SVGDeviceTest.cpp | 231 int rectWidth, int rectHeight, SkTileMode xTile, SkTileMode yTile) { in ImageShaderTestSetup() argument 235 SkRect bounds{0, 0, SkIntToScalar(rectWidth), SkIntToScalar(rectHeight)}; in ImageShaderTestSetup() 244 int rectWidth = 10, rectHeight = 10; in DEF_TEST() local 245 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST() 269 int rectWidth = 10, rectHeight = 10; in DEF_TEST() local 270 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST() 329 int rectWidth = 10, rectHeight = 10; in DEF_TEST() local 330 ImageShaderTestSetup(&dom, &paint, imageWidth, imageHeight, rectWidth, rectHeight, in DEF_TEST()
|
/external/perfetto/ui/src/common/ |
D | canvas_utils.ts | 15 export function cropText(str: string, charWidth: number, rectWidth: number) { 17 const maxLength = Math.floor(rectWidth / charWidth) - 1;
|
/external/perfetto/ui/src/tracks/process_scheduling/ |
D | frontend.ts | 88 const rectWidth = rectEnd - rectStart; constant 89 if (rectWidth < 0.3) continue;
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsScissorMultiViewportTests.cpp | 145 const int rectWidth = renderSize.x() / numCols; in generateScissors() local 163 scissors.push_back(IVec4(x, y, rectWidth, rectHeight)); in generateScissors() 165 x += rectWidth; in generateScissors()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | GlitchAndCallbackHeatMapView.java | 283 float rectWidth = (float) graphArea.width() / bucketedValues.length; 284 RectF colorRect = new RectF(graphArea.left, graphArea.top, graphArea.left + rectWidth, 299 colorRect.offset(rectWidth, 0);
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawShaderLayerTests.cpp | 480 const int rectWidth = renderSize.x() / numCols; in generateGrid() local 498 cells.push_back(UVec4(x, y, rectWidth, rectHeight)); in generateGrid() 500 x += rectWidth; in generateGrid()
|
D | vktDrawShaderViewportIndexTests.cpp | 360 const int rectWidth = renderSize.x() / numCols; in generateGrid() local 378 cells.push_back(UVec4(x, y, rectWidth, rectHeight)); in generateGrid() 380 x += rectWidth; in generateGrid()
|
D | vktDrawShaderDrawParametersTests.cpp | 202 const int rectWidth = static_cast<int>(static_cast<float>(WIDTH) * 0.6f / 2.0f); in drawReferenceImage() local 219 tcu::clear(tcu::getSubregion(refImage, x, y, rectWidth, rectHeight), color); in drawReferenceImage()
|
/external/skia/src/core/ |
D | SkAAClip.cpp | 847 int rectWidth = right - left; in quickContains() local 849 if (count >= rectWidth) { in quickContains() 852 rectWidth -= count; in quickContains()
|
/external/skqp/src/core/ |
D | SkAAClip.cpp | 850 int rectWidth = right - left; in quickContains() local 852 if (count >= rectWidth) { in quickContains() 855 rectWidth -= count; in quickContains()
|