/external/perfetto/ui/src/frontend/ |
D | vertical_line_helper.ts | 25 lineWidth = 2) { 27 drawVerticalLine(ctx, xPos, height, color, lineWidth); 34 lineWidth = 2) { 37 const prevLineWidth = ctx.lineWidth; 38 ctx.lineWidth = lineWidth; 43 ctx.lineWidth = prevLineWidth;
|
D | flamegraph_unittest.ts | 24 lineWidth: 7, 33 expect(lineSplitter).toEqual({lines: [], lineWidth: 5}); 41 expect(lineSplitter).toEqual({lines: [text], lineWidth: text.length}); 51 lineWidth: text.length / 2,
|
D | flamegraph.ts | 171 ctx.lineWidth = 0.5; 349 return lineSplitter.lineWidth; 430 lineWidth: number; property 435 line: string, width: number, lineWidth: number): LineSplitter { 436 if (line === '') return {lineWidth, lines: []}; 438 const charWidth = lineWidth / line.length; 445 lineWidth = Math.min(maxLineLen * charWidth, lineWidth); 446 return {lineWidth, lines};
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateClearTests.cpp | 70 virtual tcu::Texture2D buildReferenceFrame (int lineWidth) in buildReferenceFrame() argument 72 (void)lineWidth; in buildReferenceFrame() 90 …const float lineWidth = getPhysicalDeviceProperties(vkInstance, vkPhysicalDevice).limits.li… in iterate() local 99 setDynamicRasterizationState(lineWidth); in iterate() 138 tcu::Texture2D referenceFrame = buildReferenceFrame(static_cast<int>(lineWidth)); in iterate() 188 virtual tcu::Texture2D buildReferenceFrame (int lineWidth) in buildReferenceFrame() argument 202 …if (y < frameHeight / 2 && y >= 32 - lineWidth / 2 && y < 32 + lineWidth / 2 && x >= frameWidth / … in buildReferenceFrame() 263 virtual tcu::Texture2D buildReferenceFrame (int lineWidth) in buildReferenceFrame() argument 277 …if (y < frameHeight / 2 && y >= 32 - lineWidth / 2 && y < 32 + lineWidth / 2 && x >= frameWidth / … in buildReferenceFrame() 321 virtual tcu::Texture2D buildReferenceFrame (int lineWidth) in buildReferenceFrame() argument [all …]
|
/external/ktfmt/core/src/main/java/com/facebook/ktfmt/kdoc/ |
D | Paragraph.kt | 301 val lineWidth = maxLineWidth - getIndentSize(indent, options) in reflow() constant 326 return reflow(words, lineWidth, hangingIndentSize) in reflow() 335 val reflownRemaining = reflow(remainingWords, lineWidth, hangingIndentSize) in reflow() 343 return reflow(words, lineWidth, hangingIndentSize) in reflow() 346 private fun reflow(words: List<String>, lineWidth: Int, hangingIndentSize: Int): List<String> { in reflow() 351 words.any { it.length > lineWidth }) { in reflow() 359 return reflowGreedy(lineWidth, options, words) in reflow() 362 val lines = reflowOptimal(lineWidth - hangingIndentSize, words) in reflow() 365 return reflowGreedy(lineWidth, options, words) in reflow() 386 val newLines = reflowOptimal(lineWidth - hangingIndentSize, words.subList(0, lastWord)) in reflow() [all …]
|
/external/skia/tools/sksl-minify/ |
D | SkSLMinify.cpp | 154 int lineWidth = 1; in generate_minified_text() local 189 if (gStringify && lineWidth > 75) { in generate_minified_text() 192 lineWidth = 1; in generate_minified_text() 198 lineWidth++; in generate_minified_text() 201 lineWidth += thisTokenText.size(); in generate_minified_text()
|
/external/skia/modules/canvaskit/tests/ |
D | canvas2d_test.js | 310 ctx.lineWidth = 2; 369 ctx.lineWidth = 2; 379 ctx.lineWidth = 5; 426 ctx.lineWidth = 6; 465 ctx.lineWidth = 3; 504 ctx.lineWidth = 5; 600 ctx.lineWidth = 20; 703 ctx.lineWidth = test.strokeWidth; 847 ctx.lineWidth = 2;
|
/external/skia/gm/ |
D | blurcircles2.cpp | 94 SkScalar lineWidth = 0; in onDraw() local 98 lineWidth += 2 * (radius + kMaxBlurRadius) + kPad; in onDraw() 134 canvas->drawLine(0, lineY, lineWidth, lineY, blackPaint); in onDraw()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | TouchCatcherView.java | 56 float lineWidth = 10f * density; in initialisePaint() local 58 linePaint.setStrokeWidth(lineWidth); in initialisePaint()
|
/external/swiftshader/src/Device/ |
D | Renderer.cpp | 270 data->lineWidth = preRasterizationState.getLineWidth(); in draw() 935 const float lineWidth = data.lineWidth; in setupLine() local 961 float scale = lineWidth * 0.5f / sqrt(dx * dx + dy * dy); in setupLine() 1011 float dx0 = lineWidth * 0.5f * P0.w / W; in setupLine() 1012 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine() 1014 float dx1 = lineWidth * 0.5f * P1.w / W; in setupLine() 1015 float dy1 = lineWidth * 0.5f * P1.w / H; in setupLine() 1097 float dx0 = lineWidth * 0.5f * P0.w / W; in setupLine() 1098 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine() 1100 float dx1 = lineWidth * 0.5f * P1.w / W; in setupLine() [all …]
|
D | Context.hpp | 146 float lineWidth = 0.0f; member 275 inline float getLineWidth() const { return lineWidth; } in getLineWidth() 302 float lineWidth = 0.0f; member
|
/external/clang/test/CodeGenObjC/ |
D | arc-linetable-autorelease.m | 25 …WithWidth:(CGFloat)width height:(CGFloat)height radius:(CGFloat)radius lineWidth:(CGFloat)lineWidth
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.hpp | 97 float lineWidth; member 159 …mateLineCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, const float lineWidth, const tcu::IVec…
|
D | tcuRasterizationVerifier.cpp | 923 const float halfLineWidth = scene.lineWidth * 0.5f; in verifyMultisampleLineGroupRasterization() 1115 const float halfLineWidth = scene.lineWidth * 0.5f; in verifyMultisampleLineGroupInterpolationInternal() 1361 …DE_ASSERT(deFloatFrac(scene.lineWidth) != 0.5f); // rounding direction is not defined, disallow un… in verifySinglesampleLineGroupRasterization() 1368 int lineWidth = deFloorFloatToInt32(scene.lineWidth + 0.5f); in verifySinglesampleLineGroupRasterization() local 1389 scene.lineWidth, in verifySinglesampleLineGroupRasterization() 1497 …int allowedDeviation = (int)scene.lines.size() * lineWidth; // one pixel per primitive in the majo… in verifySinglesampleLineGroupRasterization() 1609 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization() 1611 …, " << y << "). Detected width of " << currentWidth << ", expected " << lineWidth << tcu::TestLog:… in verifySinglesampleLineGroupRasterization() 1694 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization() 1696 …<< y - 1 << "). Detected width of " << currentWidth << ", expected " << lineWidth << tcu::TestLog:… in verifySinglesampleLineGroupRasterization() [all …]
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderState.hpp | 326 float lineWidth; member 329 : lineWidth(1.0f) in LineState()
|
D | rrRasterizer.hpp | 184 …void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth, deUint32 stippleF… 231 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth);
|
D | rrRasterizer.cpp | 871 void SingleSampleLineRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth, d… in init() argument 876 const deInt32 lineWidthPixels = (lineWidth > 1.0f) ? (deInt32)floor(lineWidth + 0.5f) : 1; in init() 914 m_lineWidth = lineWidth; in init() 937 …const deInt32 lineWidth = (m_lineWidth > 1.0f) ? deFloorFloatToInt32(m_lineWidth + 0.5f) … in rasterize() local 942 …> widthOffset = -minorDirection.cast<deInt64>() * (toSubpixelCoord(lineWidth - 1, m_subpixelB… in rasterize() 964 const int rowFragEnd = de::min(maxViewportLimit - fragmentLocation, lineWidth); in rasterize() 1047 void MultiSampleLineRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth) in init() argument 1055 const float offset = lineWidth / 2.0f; in init()
|
/external/cronet/third_party/icu/source/samples/layout/ |
D | pflow.c | 285 float lineWidth; in pf_breakLines() local 297 lineWidth = (float) (width - 2 * MARGIN); in pf_breakLines() 311 while ((line = pl_nextLine(paragraphLayout, lineWidth)) != NULL) { in pf_breakLines()
|
D | paragraph.cpp | 203 float lineWidth = (float) (width - 2 * MARGIN); in breakLines() local 218 while ((line = paragraphLayout->nextLine(lineWidth)) != NULL) { in breakLines()
|
/external/icu/icu4c/source/samples/layout/ |
D | pflow.c | 285 float lineWidth; in pf_breakLines() local 297 lineWidth = (float) (width - 2 * MARGIN); in pf_breakLines() 311 while ((line = pl_nextLine(paragraphLayout, lineWidth)) != NULL) { in pf_breakLines()
|
D | paragraph.cpp | 203 float lineWidth = (float) (width - 2 * MARGIN); in breakLines() local 218 while ((line = paragraphLayout->nextLine(lineWidth)) != NULL) { in breakLines()
|
/external/deqp/modules/gles31/functional/ |
D | es31fPrimitiveBoundingBoxTests.cpp | 1892 gl.lineWidth((float)m_wideLineLineWidth); in renderTestPattern() 1911 const float lineWidth = (m_isWideLineCase) ? ((float)m_wideLineLineWidth) : (1.0f); in verifyRenderResult() local 1912 …c4 viewportBBoxArea = getViewportBoundingBoxArea(projectedBBox, config.viewportSize, lineWidth); in verifyRenderResult() 2121 const float lineWidth = (m_isWideLineCase) ? ((float)m_wideLineLineWidth) : (1.0f); in getNumberOfLinesRange() local 2130 else if (linePos * (float)viewportArea > (float)queryAreaBegin - lineWidth*0.5f - 1.0f && in getNumberOfLinesRange() 2131 linePos * (float)viewportArea < (float)queryAreaEnd + lineWidth*0.5f + 1.0f) in getNumberOfLinesRange() 2330 int lineWidth = 0; in checkLineWidths() local 2349 ++lineWidth; in checkLineWidths() 2361 ++lineWidth; in checkLineWidths() 2362 else if (lineWidth) in checkLineWidths() [all …]
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | ShadowNativeStaticLayoutTest.java | 1428 final int lineWidth = (int) (wholeWidth / 10.0f); // Make 10 lines per paragraph. 1433 multiParaTestString, 0, multiParaTestString.length(), defaultPaint, lineWidth) 1436 assertTrue(layout.getLineMax(i) <= lineWidth); 1443 final int lineWidth = (int) (wholeWidth / 10.0f); // Make 10 lines per paragraph. 1444 final int indentWidth = (int) (lineWidth * 0.3f); // Make 30% indent. 1449 multiParaTestString, 0, multiParaTestString.length(), defaultPaint, lineWidth) 1453 assertTrue(layout.getLineMax(i) <= lineWidth - indentWidth); 1576 final int lineWidth = (int) (wholeWidth / 10.0f); // Make 10 lines per paragraph. 1579 final Layout expectedLayout = staticLayoutParam.getLayout(text, lineWidth); 1583 StaticLayout.Builder.obtain(mt, 0, mt.length(), staticLayoutParam.paint, lineWidth)
|
/external/deqp/modules/gles2/functional/ |
D | es2fClippingTests.cpp | 309 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/modules/gles3/functional/ |
D | es3fClippingTests.cpp | 312 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 …]
|