/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
D | BitmapFont.java | 205 float lineWidth = 0f; in getLineWidth() local 214 maxLineWidth = Math.max(maxLineWidth, lineWidth); in getLineWidth() 215 lineWidth = 0f; in getLineWidth() 231 … lineWidth += findKerningAmount(lastChar, theChar) * sizeScale; in getLineWidth() 237 lineWidth -= c.getXOffset() * sizeScale; in getLineWidth() 246 lineWidth += c.getWidth() * sizeScale; in getLineWidth() 251 lineWidth += c.getXOffset() * sizeScale; in getLineWidth() 253 lineWidth += xAdvance; in getLineWidth() 257 return Math.max(maxLineWidth, lineWidth); in getLineWidth()
|
D | Letters.java | 154 float lineWidth = 0; in align() local 173 lineWidth = cursor.getX1()-block.getTextBox().x; in align() 175 gapX = (width-lineWidth)/2; in align() 177 gapX = width-lineWidth; in align()
|
/external/skia/gm/ |
D | poly2poly.cpp | 18 double lineWidth; member in SkJSCanvas 67 fStrokePaint.setStrokeWidth(SkDoubleToScalar(lineWidth)); in stroke() 110 ctx.lineWidth = 2; in test_stroke() 136 ctx.lineWidth = 2; in test_stroke() 161 ctx.lineWidth = 1; in test_stroke()
|
/external/clang/test/CodeGenObjC/ |
D | arc-linetable-autorelease.m | 25 …WithWidth:(CGFloat)width height:(CGFloat)height radius:(CGFloat)radius lineWidth:(CGFloat)lineWidth
|
/external/skia/src/images/ |
D | SkImageDecoder_libico.cpp | 233 int lineWidth = lineBitWidth/bitCount; in onDecode() local 237 int andOffset = xorOffset + ((lineWidth*h*bitCount) >> 3); in onDecode() 274 int maxPixelNum = lineWidth*(h-1)+w-1; in onDecode() 317 int pixelNo = lineWidth*(h-y-1)+x; in onDecode()
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderState.hpp | 307 float lineWidth; member 310 : lineWidth(1.0f) in LineState()
|
D | rrRasterizer.hpp | 183 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth); 224 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth);
|
D | rrRasterizer.cpp | 872 void SingleSampleLineRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth) in init() argument 877 const deInt32 lineWidthPixels = (lineWidth > 1.0f) ? (deInt32)floor(lineWidth + 0.5f) : 1; in init() 915 m_lineWidth = lineWidth; in init() 929 …const deInt32 lineWidth = (m_lineWidth > 1.0f) ? deFloorFloatToInt32(m_lineWidth + 0.5f) … in rasterize() local 934 …Int64,2> widthOffset = -minorDirection.cast<deInt64>() * (toSubpixelCoord(lineWidth - 1) / 2); in rasterize() 954 const int rowFragEnd = de::min(maxViewportLimit - fragmentLocation, lineWidth); in rasterize() 1029 void MultiSampleLineRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth) in init() argument 1037 const float offset = lineWidth / 2.0f; in init()
|
/external/pdfium/core/src/fxge/apple/ |
D | fx_quartz_device.cpp | 285 FX_FLOAT lineWidth = graphState->m_LineWidth; in getLineWidth() local 293 lineWidth = x > y ? x : y; in getLineWidth() 295 return lineWidth; in getLineWidth() 308 FX_FLOAT lineWidth = getLineWidth(graphState, m); in SetClip_PathStroke() local 309 setStrokeInfo(graphState, 0xFF000000, lineWidth); in SetClip_PathStroke() 399 FX_FLOAT lineWidth = getLineWidth(graphState, m); in DrawPath() local 400 setStrokeInfo(graphState, strokeArgb, lineWidth); in DrawPath() 940 …DeviceDriver::setStrokeInfo(const CFX_GraphStateData* graphState, FX_ARGB argb, FX_FLOAT lineWidth) in setStrokeInfo() argument 945 CGContextSetLineWidth(_context, lineWidth); in setStrokeInfo()
|
/external/icu/icu4c/source/samples/layout/ |
D | pflow.c | 280 float lineWidth; in pf_breakLines() local 292 lineWidth = (float) (width - 2 * MARGIN); in pf_breakLines() 306 while ((line = pl_nextLine(paragraphLayout, lineWidth)) != NULL) { in pf_breakLines()
|
D | paragraph.cpp | 192 float lineWidth = (float) (width - 2 * MARGIN); in breakLines() local 207 while ((line = paragraphLayout->nextLine(lineWidth)) != NULL) { in breakLines()
|
/external/deqp/modules/glshared/ |
D | glsRasterizationTestUtil.cpp | 875 const float halfLineWidth = scene.lineWidth * 0.5f; in verifyMultisampleLineGroupRasterization() 928 const float halfLineWidth = scene.lineWidth * 0.5f; in verifyMultisampleLineGroupInterpolation() 1049 …DE_ASSERT(deFloatFrac(scene.lineWidth) != 0.5f); // rounding direction is not defined, disallow un… in verifySinglesampleLineGroupRasterization() 1056 int lineWidth = deFloorFloatToInt32(scene.lineWidth + 0.5f); in verifySinglesampleLineGroupRasterization() local 1078 scene.lineWidth); in verifySinglesampleLineGroupRasterization() 1187 …int allowedDeviation = (int)scene.lines.size() * lineWidth; // one pixel per primitive in the majo… in verifySinglesampleLineGroupRasterization() 1297 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization() 1299 …, " << y << "). Detected width of " << currentWidth << ", expected " << lineWidth << tcu::TestLog:… in verifySinglesampleLineGroupRasterization() 1378 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization() 1380 …<< y - 1 << "). Detected width of " << currentWidth << ", expected " << lineWidth << tcu::TestLog:… in verifySinglesampleLineGroupRasterization() [all …]
|
D | glsRasterizationTestUtil.hpp | 84 float lineWidth; member
|
/external/skia/tools/skpdiff/ |
D | diff_viewer.js | 122 ctx.lineWidth = 2; 164 ctx.lineWidth = 2;
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | Mesh.java | 172 private float lineWidth = 1; field in Mesh 520 return lineWidth; in getLineWidth() 530 public void setLineWidth(float lineWidth) { in setLineWidth() argument 531 this.lineWidth = lineWidth; in setLineWidth()
|
/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 …]
|
D | es3fRasterizationTests.cpp | 371 gl.lineWidth (getLineWidth()); in drawPrimitives() 572 const float lineWidth = getLineWidth(); in iterate() local 578 if (lineWidth <= m_maxLineWidth) in iterate() 599 scene.lineWidth = lineWidth; in iterate() 604 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk) in iterate() 615 …m_testCtx.getLog() << tcu::TestLog::Message << "Line width " << lineWidth << " not supported, skip… in iterate() 1979 const float lineWidth = getLineWidth(); in iterate() local 1986 if (lineWidth <= m_maxLineWidth) in iterate() 2015 scene.lineWidth = getLineWidth(); in iterate() 2035 if (scene.lineWidth != 1.0f && m_numSamples > 1) in iterate() [all …]
|
/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 …]
|
D | es2fRasterizationTests.cpp | 206 gl.lineWidth (m_lineWidth); in drawPrimitives() 369 scene.lineWidth = m_lineWidth; in iterate() 374 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk) in iterate() 1598 …ntext& ctx, const char* name, const char* desc, glw::GLenum primitive, int flags, float lineWidth); 1614 …ontext& ctx, const char* name, const char* desc, glw::GLenum primitive, int flags, float lineWidth) in LineInterpolationTest() argument 1621 m_lineWidth = lineWidth; in LineInterpolationTest() 1665 scene.lineWidth = m_lineWidth; in iterate() 1685 if (scene.lineWidth != 1.0f && m_numSamples > 1) in iterate()
|
/external/deqp/modules/gles31/functional/ |
D | es31fPrimitiveBoundingBoxTests.cpp | 1774 gl.lineWidth((float)m_wideLineLineWidth); in renderTestPattern() 1793 const float lineWidth = (m_isWideLineCase) ? (m_wideLineLineWidth) : (1.0f); in verifyRenderResult() local 1794 …ec4 viewportBBoxArea = getViewportBoundingBoxArea(projectedBBox, config.viewportSize, lineWidth); in verifyRenderResult() 1930 const float lineWidth = (m_isWideLineCase) ? (m_wideLineLineWidth) : (1.0f); in getNumberOfLinesRange() local 1939 else if (linePos * viewportArea > queryAreaBegin - lineWidth*0.5f - 1.0f && in getNumberOfLinesRange() 1940 linePos * viewportArea < queryAreaEnd + lineWidth*0.5f + 1.0f) in getNumberOfLinesRange() 2063 int lineWidth = 0; in checkLineWidths() local 2082 ++lineWidth; in checkLineWidths() 2094 ++lineWidth; in checkLineWidths() 2095 else if (lineWidth) in checkLineWidths() [all …]
|
D | es31fShaderHelperInvocationTests.cpp | 191 const float lineWidth = de::min(rnd->getFloat(minLineWidth, maxLineWidth), range.y()); in drawRandomPrimitives() local 193 gl.lineWidth(lineWidth); in drawRandomPrimitives()
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
D | RenderContext.java | 116 public float lineWidth = 1; field in RenderContext
|
/external/icu/icu4c/source/test/letest/ |
D | cletest.c | 641 const float lineWidth = 600; in GlyphToCharTest() local 663 while ((line = pl_nextLine(paragraph, lineWidth)) != NULL) { in GlyphToCharTest()
|
/external/deqp/framework/opengl/wrapper/ |
D | glwInitES20Direct.inl | 94 gl->lineWidth = &glLineWidth;
|
/external/deqp/framework/opengl/ |
D | gluES3PlusWrapperFuncs.inl | 184 dst->lineWidth = src.lineWidth;
|