/third_party/skia/gm/ |
D | smallpaths.cpp | 84 static SkScalar yOffset = 50.f; in make_three_line() local 86 b.moveTo(-32.5f + xOffset, 0.0f + yOffset); in make_three_line() 87 b.lineTo(32.5f + xOffset, 0.0f + yOffset); in make_three_line() 89 b.moveTo(-32.5f + xOffset, 19 + yOffset); in make_three_line() 90 b.lineTo(32.5f + xOffset, 19 + yOffset); in make_three_line() 92 b.moveTo(-32.5f + xOffset, -19 + yOffset); in make_three_line() 93 b.lineTo(32.5f + xOffset, -19 + yOffset); in make_three_line() 94 b.lineTo(-32.5f + xOffset, -19 + yOffset); in make_three_line() 103 static SkScalar yOffset = 40.f; in make_arrow() local 105 b.moveTo(-26.f + xOffset, 0.0f + yOffset); in make_arrow() [all …]
|
D | textblobtransforms.cpp | 51 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local 56 ToolUtils::add_to_text_blob(&builder, text, font, xOffset, -yOffset - 10); in onOnceBeforeDraw() 85 SkScalar yOffset = SkScalarCeilToScalar(bounds.height()); in onDraw() local 87 canvas->translate(xOffset, 2 * yOffset); in onDraw() 93 canvas->translate(-xOffset, -yOffset); in onDraw() 95 canvas->translate(0, 2 * yOffset); in onDraw() 99 canvas->translate(4 * xOffset, -yOffset); in onDraw() 103 canvas->translate(0, -yOffset); in onDraw() 109 canvas->translate(-xOffset, yOffset); in onDraw() 115 canvas->translate(- 3 * xOffset, 3 * yOffset); in onDraw()
|
D | textblobmixedsizes.cpp | 57 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local 60 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw() 64 yOffset += bounds.height(); in onOnceBeforeDraw() 67 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw() 71 yOffset += bounds.height(); in onOnceBeforeDraw() 74 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw() 78 yOffset += bounds.height(); in onOnceBeforeDraw() 81 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw() 85 yOffset += bounds.height(); in onOnceBeforeDraw() 88 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
|
D | textblobrandomfont.cpp | 137 SkScalar yOffset = 5; in onDraw() local 145 canvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw() 146 yOffset += stride; in onDraw() 151 surfaceCanvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw() 153 yOffset += stride; in onDraw() 161 canvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw() 162 yOffset += stride; in onDraw()
|
D | androidblendmodes.cpp | 66 void drawTile(SkCanvas* canvas, int xOffset, int yOffset, SkBlendMode mode) { in drawTile() argument 67 canvas->translate(xOffset, yOffset); in drawTile() 84 int xOffset = 0, yOffset = 0; in onDraw() local 101 this->drawTile(canvas, xOffset, yOffset, mode); in onDraw() 106 yOffset + kBitmapSize, in onDraw() 112 yOffset += 256; in onDraw()
|
D | mixedtextblobs.cpp | 66 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local 67 ToolUtils::add_to_text_blob(&builder, text, font, 10, yOffset); in onOnceBeforeDraw() 69 SkScalar corruptedAy = yOffset; in onOnceBeforeDraw() 75 yOffset = boundsHalfHeight; in onOnceBeforeDraw() 87 yOffset - bounds.height() * 0.5f); in onOnceBeforeDraw() 95 ToolUtils::add_to_text_blob(&builder, fEmojiText, font, xOffset, yOffset); in onOnceBeforeDraw()
|
D | arcofzorro.cpp | 48 int xOffset = 0, yOffset = 0; in onDraw() local 57 canvas->translate(SkIntToScalar(xOffset), SkIntToScalar(yOffset)); in onDraw() 70 yOffset += 10; in onDraw()
|
D | textblobcolortrans.cpp | 47 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local 48 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset - 30); in onOnceBeforeDraw() 54 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset - 8); in onOnceBeforeDraw()
|
D | textblobblockreordering.cpp | 46 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local 47 ToolUtils::add_to_text_blob(&builder, text, font, 0, yOffset - 30); in onOnceBeforeDraw()
|
D | tablecolorfilter.cpp | 165 SkScalar yOffset = SkScalar(bm.height() * 9 / 8); in onDraw() local 191 y += yOffset; in onDraw() 204 y += yOffset; in onDraw()
|
D | arcto.cpp | 202 const SkScalar yOffset = 122.88f; variable 204 SkRect oval = SkRect::MakeXYWH(-radius, yOffset - radius, 2 * radius, 2 * radius);
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLPreRotationTest.cpp | 240 GLint yOffset = 126; in testDrawingAndReadPixels() local 244 glReadPixels(xOffset, yOffset, width, height, GL_RGBA, GL_UNSIGNED_BYTE, &pixels[0]); in testDrawingAndReadPixels() 252 GLColor expectedPixel(xOffset + x, yOffset + y, 0, 255); in testDrawingAndReadPixels() 262 GLint yOffset = 26; in testDrawingAndReadPixels() local 266 glReadPixels(xOffset, yOffset, width, height, GL_RGBA, GL_UNSIGNED_BYTE, &pixels2[0]); in testDrawingAndReadPixels() 274 GLColor expectedPixel(xOffset + x, yOffset + y, 0, 255); in testDrawingAndReadPixels() 817 void test256x256PredictablePattern(GLint xOffset, GLint yOffset) in test256x256PredictablePattern() argument 819 EXPECT_PIXEL_COLOR_EQ(xOffset + 0, yOffset + 0, GLColor::black); in test256x256PredictablePattern() 820 EXPECT_PIXEL_COLOR_EQ(xOffset + 0, yOffset + mSize - 1, GLColor::green); in test256x256PredictablePattern() 821 EXPECT_PIXEL_COLOR_EQ(xOffset + mSize - 1, yOffset + 0, GLColor::red); in test256x256PredictablePattern() [all …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/ |
D | CompositeBitmapGlyph.java | 31 private int yOffset; field in CompositeBitmapGlyph.Component 33 protected Component(int glyphCode, int xOffset, int yOffset) { in Component() argument 36 this.yOffset = yOffset; in Component() 47 public int yOffset() { in yOffset() method in CompositeBitmapGlyph.Component 48 return this.yOffset; in yOffset()
|
/third_party/skia/third_party/externals/angle2/samples/tri_fan_microbench/ |
D | TriFanMicroBench.cpp | 65 GLfloat yOffset = yMin; in createVertexBuffers() local 72 tempVerts[j * 3 + 1] = fanVertices[j * 3 + 1] + yOffset; in createVertexBuffers() 83 yOffset += 2 * halfDim; in createVertexBuffers() 111 yOffset = yMin; in createVertexBuffers() 120 tempVerts[j * 3 + 1] = triPointer[1] + yOffset; in createVertexBuffers() 130 yOffset += 2 * halfDim; in createVertexBuffers()
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
D | pshints.c | 1149 glyphpath->yOffset = font->darkenY; in cf2_glyphpath_init() 1152 cf2_fixedAbs( glyphpath->yOffset ) ); in cf2_glyphpath_init() 1588 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset() 1596 glyphpath->yOffset ); in cf2_glyphpath_computeOffset() 1613 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset() 1621 glyphpath->yOffset ); in cf2_glyphpath_computeOffset() 1635 *y = MUL_INT32( 2, glyphpath->yOffset ); in cf2_glyphpath_computeOffset() 1641 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset() 1649 glyphpath->yOffset ); in cf2_glyphpath_computeOffset() 1660 *y = MUL_INT32( 2, glyphpath->yOffset ); in cf2_glyphpath_computeOffset() [all …]
|
/third_party/skia/modules/canvaskit/tests/ |
D | canvas2d.spec.js | 658 yOffset: 0, property 665 yOffset: 0, property 672 yOffset: 30, property 679 yOffset: 30, property 700 const yOffset = test.yOffset; constant 704 ctx.rect(5+xOffset, 5+yOffset, 20, 20); 705 ctx.arc(15+xOffset, 15+yOffset, 8, 0, Math.PI*2, false); 715 y += yOffset;
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-color-sbix-table.hh | 55 new_glyph->yOffset = yOffset; in copy() 65 HBINT16 yOffset; /* The vertical (y-axis) offset from the bottom member 136 if (y_offset) *y_offset = glyph->yOffset; in get_glyph_blob()
|
/third_party/skia/third_party/externals/libgifcodec/ |
D | SkGifImageReader.cpp | 744 int height, width, xOffset, yOffset; in parse() local 750 yOffset = GETINT16(currentComponent + 2); in parse() 768 fScreenHeight = std::max(fScreenHeight, yOffset + height); in parse() 799 const bool frameIsSubset = xOffset > 0 || yOffset > 0 in parse() 818 currentFrame->setXYWH(xOffset, yOffset, width, height); in parse()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fPrimitiveRestartTests.cpp | 483 int yOffset = rnd.getInt(0, yOffsetMax); in iterate() local 487 glViewport(xOffset, yOffset, width, height); in iterate() 502 glu::readPixels(m_context.getRenderContext(), xOffset, yOffset, resultImg.getAccess()); in iterate() 507 glu::readPixels(m_context.getRenderContext(), xOffset, yOffset, referenceImg.getAccess()); in iterate()
|
/third_party/icu/icu4c/source/samples/layout/ |
D | GDIFontInstance.cpp | 92 float yOffset = ps[dyStart * 2 + 1]; in drawGlyphs() local 95 while (dyEnd < out && yOffset == ps[dyEnd * 2 + 1]) { in drawGlyphs() 99 …ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED |… in drawGlyphs()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | GDIFontInstance.cpp | 92 float yOffset = ps[dyStart * 2 + 1]; in drawGlyphs() local 95 while (dyEnd < out && yOffset == ps[dyEnd * 2 + 1]) { in drawGlyphs() 99 …ExtTextOut(fHdc, x + (le_int32) xOffset, y + (le_int32) yOffset - font->getAscent(), ETO_CLIPPED |… in drawGlyphs()
|
/third_party/skia/src/image/ |
D | SkSurface.cpp | 338 bool SkSurface::draw(sk_sp<const SkDeferredDisplayList> ddl, int xOffset, int yOffset) { in draw() argument 339 if (xOffset != 0 || yOffset != 0) { in draw() 343 return asSB(this)->onDraw(std::move(ddl), { xOffset, yOffset }); in draw()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | FramebufferGL.cpp | 985 GLuint xOffset, yOffset; in adjustSrcDstRegion() local 986 if (!checkedXOffset.AssignIfValid(&xOffset) || !checkedYOffset.AssignIfValid(&yOffset)) in adjustSrcDstRegion() 997 bounds.sourceRegion.y + (yOffset >> destYHalvings), in adjustSrcDstRegion() 1111 GLuint xOffset, yOffset; in adjustSrcDstRegion() local 1112 if (!checkedXOffset.AssignIfValid(&xOffset) || !checkedYOffset.AssignIfValid(&yOffset)) in adjustSrcDstRegion() 1123 bounds.destRegion.y + (yOffset >> sourceYHalvings), in adjustSrcDstRegion() 1163 GLuint yOffset = realSourceRegion.y - bounds.sourceRegion.y; in clipSrcRegion() local 1173 yOffset = bounds.sourceRegion.y1() - realSourceRegion.y1(); in clipSrcRegion() 1183 static_cast<GLfloat>(yOffset) * bounds.destRegion.height / bounds.sourceRegion.height; in clipSrcRegion()
|
/third_party/skia/tests/ |
D | TextBlobCacheTest.cpp | 37 int yOffset = 0; in draw() local 42 yOffset += SkScalarCeilToInt(bounds.height()); in draw() 44 canvas->drawTextBlob(blob, 0, SkIntToScalar(yOffset), paint); in draw()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTexImageTest.cpp | 591 const GLint yOffset, 597 const GLint yOffset, 882 const GLint yOffset, in copyTexSubImage3D() argument 894 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, xOffset, yOffset, currLayer, 0, 0, subImageWidth, in copyTexSubImage3D() 902 const GLint yOffset, in verifyCopyTexSubImage3D() argument 910 EXPECT_PIXEL_COLOR_EQ(xOffset, yOffset, subImageColor); in verifyCopyTexSubImage3D()
|