Home
last modified time | relevance | path

Searched refs:lineWidth (Results 1 – 25 of 149) sorted by relevance

123456

/external/perfetto/ui/src/frontend/
Dvertical_line_helper.ts23 lineWidth = 2) {
25 drawVerticalLine(ctx, xPos, height, color, lineWidth);
32 lineWidth = 2) {
35 const prevLineWidth = ctx.lineWidth;
36 ctx.lineWidth = lineWidth;
41 ctx.lineWidth = prevLineWidth;
Dgridline_helper.ts92 ctx.lineWidth = 1;
/external/skqp/gm/
Dpoly2poly.cpp24 double lineWidth; member in SkJSCanvas
75 fStrokePaint.setStrokeWidth(SkDoubleToScalar(lineWidth)); in stroke()
117 ctx.lineWidth = 2; in test_stroke()
143 ctx.lineWidth = 2; in test_stroke()
168 ctx.lineWidth = 1; in test_stroke()
Dblurcircles2.cpp87 SkScalar lineWidth = 0; in onDraw() local
91 lineWidth += 2 * (radius + kMaxBlurRadius) + kPad; in onDraw()
127 canvas->drawLine(0, lineY, lineWidth, lineY, blackPaint); in onDraw()
/external/skqp/experimental/canvaskit/tests/
Dcanvas2d.spec.js327 ctx.lineWidth = 2;
390 ctx.lineWidth = 2;
400 ctx.lineWidth = 5;
451 ctx.lineWidth = 6;
494 ctx.lineWidth = 3;
537 ctx.lineWidth = 5;
649 ctx.lineWidth = 20;
738 ctx.lineWidth = test.strokeWidth;
883 ctx.lineWidth = 2;
/external/skia/modules/canvaskit/tests/
Dcanvas2d.spec.js309 ctx.lineWidth = 2;
372 ctx.lineWidth = 2;
382 ctx.lineWidth = 5;
433 ctx.lineWidth = 6;
476 ctx.lineWidth = 3;
519 ctx.lineWidth = 5;
631 ctx.lineWidth = 20;
720 ctx.lineWidth = test.strokeWidth;
865 ctx.lineWidth = 2;
/external/skia/gm/
Dblurcircles2.cpp87 SkScalar lineWidth = 0; in onDraw() local
91 lineWidth += 2 * (radius + kMaxBlurRadius) + kPad; in onDraw()
127 canvas->drawLine(0, lineY, lineWidth, lineY, blackPaint); in onDraw()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTouchCatcherView.java56 float lineWidth = 10f * density; in initialisePaint() local
58 linePaint.setStrokeWidth(lineWidth); in initialisePaint()
/external/clang/test/CodeGenObjC/
Darc-linetable-autorelease.m25 …WithWidth:(CGFloat)width height:(CGFloat)height radius:(CGFloat)radius lineWidth:(CGFloat)lineWidth
/external/deqp/framework/referencerenderer/
DrrRasterizer.hpp184 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth);
225 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth);
DrrRenderState.hpp326 float lineWidth; member
329 : lineWidth(1.0f) in LineState()
DrrRasterizer.cpp877 void SingleSampleLineRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth) in init() argument
882 const deInt32 lineWidthPixels = (lineWidth > 1.0f) ? (deInt32)floor(lineWidth + 0.5f) : 1; in init()
920 m_lineWidth = lineWidth; in init()
934 …const deInt32 lineWidth = (m_lineWidth > 1.0f) ? deFloorFloatToInt32(m_lineWidth + 0.5f) … in rasterize() local
939 …Int64,2> widthOffset = -minorDirection.cast<deInt64>() * (toSubpixelCoord(lineWidth - 1) / 2); in rasterize()
959 const int rowFragEnd = de::min(maxViewportLimit - fragmentLocation, lineWidth); in rasterize()
1034 void MultiSampleLineRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth) in init() argument
1042 const float offset = lineWidth / 2.0f; in init()
/external/icu/icu4c/source/samples/layout/
Dpflow.c283 float lineWidth; in pf_breakLines() local
295 lineWidth = (float) (width - 2 * MARGIN); in pf_breakLines()
309 while ((line = pl_nextLine(paragraphLayout, lineWidth)) != NULL) { in pf_breakLines()
Dparagraph.cpp203 float lineWidth = (float) (width - 2 * MARGIN); in breakLines() local
218 while ((line = paragraphLayout->nextLine(lineWidth)) != NULL) { in breakLines()
/external/perfetto/ui/src/tracks/counter/
Dfrontend.ts147 ctx.lineWidth = 3;
149 ctx.lineWidth = 1;
/external/deqp/framework/common/
DtcuRasterizationVerifier.cpp915 const float halfLineWidth = scene.lineWidth * 0.5f; in verifyMultisampleLineGroupRasterization()
974 const float halfLineWidth = scene.lineWidth * 0.5f; in verifyMultisampleLineGroupInterpolation()
1095 …DE_ASSERT(deFloatFrac(scene.lineWidth) != 0.5f); // rounding direction is not defined, disallow un… in verifySinglesampleLineGroupRasterization()
1102 int lineWidth = deFloorFloatToInt32(scene.lineWidth + 0.5f); in verifySinglesampleLineGroupRasterization() local
1124 scene.lineWidth); in verifySinglesampleLineGroupRasterization()
1233 …int allowedDeviation = (int)scene.lines.size() * lineWidth; // one pixel per primitive in the majo… in verifySinglesampleLineGroupRasterization()
1347 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization()
1349 …, " << y << "). Detected width of " << currentWidth << ", expected " << lineWidth << tcu::TestLog:… in verifySinglesampleLineGroupRasterization()
1432 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization()
1434 …<< y - 1 << "). Detected width of " << currentWidth << ", expected " << lineWidth << tcu::TestLog:… in verifySinglesampleLineGroupRasterization()
[all …]
/external/perfetto/ui/src/tracks/cpu_freq/
Dfrontend.ts156 ctx.lineWidth = 3;
158 ctx.lineWidth = 1;
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator.cpp278 float lineWidth = pPageObj->m_GraphState.GetLineWidth(); in ProcessGraphics() local
279 if (lineWidth != 1.0f) in ProcessGraphics()
280 *buf << lineWidth << " w "; in ProcessGraphics()
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp1816 gl.lineWidth((float)m_wideLineLineWidth); in renderTestPattern()
1835 const float lineWidth = (m_isWideLineCase) ? ((float)m_wideLineLineWidth) : (1.0f); in verifyRenderResult() local
1836 …c4 viewportBBoxArea = getViewportBoundingBoxArea(projectedBBox, config.viewportSize, lineWidth); in verifyRenderResult()
2045 const float lineWidth = (m_isWideLineCase) ? ((float)m_wideLineLineWidth) : (1.0f); in getNumberOfLinesRange() local
2054 else if (linePos * (float)viewportArea > (float)queryAreaBegin - lineWidth*0.5f - 1.0f && in getNumberOfLinesRange()
2055 linePos * (float)viewportArea < (float)queryAreaEnd + lineWidth*0.5f + 1.0f) in getNumberOfLinesRange()
2254 int lineWidth = 0; in checkLineWidths() local
2273 ++lineWidth; in checkLineWidths()
2285 ++lineWidth; in checkLineWidths()
2286 else if (lineWidth) in checkLineWidths()
[all …]
/external/perfetto/ui/src/common/
Dcanvas_utils.ts40 ctx.lineWidth = width;
/external/deqp/modules/gles3/functional/
Des3fClippingTests.cpp312 void checkLineWidth (const glw::Functions& gl, float lineWidth) in checkLineWidth() argument
316 if (lineWidthRange[1] < lineWidth) in checkLineWidth()
608 …ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::Windo…
609 …ColorlessLineData* linesBegin, const ColorlessLineData* linesEnd, float lineWidth, const rr::Windo…
625 …nst ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::Windo… in LineRenderTestCase() argument
627 , m_lineWidth (lineWidth) in LineRenderTestCase()
633 …ColorlessLineData* linesBegin, const ColorlessLineData* linesEnd, float lineWidth, const rr::Windo… in LineRenderTestCase() argument
635 , m_lineWidth (lineWidth) in LineRenderTestCase()
696 ctx.lineWidth (m_lineWidth); in testRender()
733 …inesBegin, const LineRenderTestCase::ColorlessLineData* linesEnd, float lineWidth, const rr::Windo…
[all …]
/external/deqp/modules/gles2/functional/
Des2fClippingTests.cpp309 void checkLineWidth (const glw::Functions& gl, float lineWidth) in checkLineWidth() argument
313 if (lineWidthRange[1] < lineWidth) in checkLineWidth()
605 …ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::Windo…
606 …ColorlessLineData* linesBegin, const ColorlessLineData* linesEnd, float lineWidth, const rr::Windo…
622 …nst ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::Windo… in LineRenderTestCase() argument
624 , m_lineWidth (lineWidth) in LineRenderTestCase()
630 …ColorlessLineData* linesBegin, const ColorlessLineData* linesEnd, float lineWidth, const rr::Windo… in LineRenderTestCase() argument
632 , m_lineWidth (lineWidth) in LineRenderTestCase()
693 ctx.lineWidth (m_lineWidth); in testRender()
730 …inesBegin, const LineRenderTestCase::ColorlessLineData* linesEnd, float lineWidth, const rr::Windo…
[all …]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateBaseClass.cpp245 void DynamicStateBaseClass::setDynamicRasterizationState (const float lineWidth, in setDynamicRasterizationState() argument
250 m_vk.cmdSetLineWidth(*m_cmdBuffer, lineWidth); in setDynamicRasterizationState()
/external/pdfium/xfa/fxgraphics/
Dcxfa_graphics.h50 void SetLineWidth(float lineWidth);
/external/swiftshader/src/Device/
DRenderer.cpp438 data->lineWidth = context->lineWidth; in draw()
1388 float lineWidth = data.lineWidth; in setupLine() local
1424 float scale = lineWidth * 0.5f / sqrt(dx*dx + dy*dy); in setupLine()
1482 float dx0 = lineWidth * 0.5f * P0.w / W; in setupLine()
1483 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine()
1485 float dx1 = lineWidth * 0.5f * P1.w / W; in setupLine()
1486 float dy1 = lineWidth * 0.5f * P1.w / H; in setupLine()
2116 context->lineWidth = width; in setLineWidth()

123456