Home
last modified time | relevance | path

Searched refs:rectWidth (Results 1 – 15 of 15) sorted by relevance

/external/perfetto/ui/src/tracks/thread_state/
Dfrontend.ts98 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/
Dfrontend.ts97 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/
Dtrack.ts115 const rectWidth = width + 16; constant
117 if (xPos + rectWidth > endPx) {
118 xPos -= (xPos + rectWidth - endPx);
124 xPos, rectMargin, rectWidth, this.getHeight() - rectMargin * 2);
Dflamegraph.ts319 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/
DSVGDeviceTest.cpp231 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/
DSVGDeviceTest.cpp231 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/
Dcanvas_utils.ts15 export function cropText(str: string, charWidth: number, rectWidth: number) {
17 const maxLength = Math.floor(rectWidth / charWidth) - 1;
/external/perfetto/ui/src/tracks/process_scheduling/
Dfrontend.ts88 const rectWidth = rectEnd - rectStart; constant
89 if (rectWidth < 0.3) continue;
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp145 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/
DGlitchAndCallbackHeatMapView.java283 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/
DvktDrawShaderLayerTests.cpp480 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()
DvktDrawShaderViewportIndexTests.cpp360 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()
DvktDrawShaderDrawParametersTests.cpp202 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/
DSkAAClip.cpp847 int rectWidth = right - left; in quickContains() local
849 if (count >= rectWidth) { in quickContains()
852 rectWidth -= count; in quickContains()
/external/skqp/src/core/
DSkAAClip.cpp850 int rectWidth = right - left; in quickContains() local
852 if (count >= rectWidth) { in quickContains()
855 rectWidth -= count; in quickContains()