Home
last modified time | relevance | path

Searched refs:xOffset (Results 1 - 25 of 57) sorted by relevance

123

/third_party/skia/gm/
H A Dsmallpaths.cpp83 static SkScalar xOffset = 34.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()
102 static SkScalar xOffset = 34.f; in make_arrow() local
105 b.moveTo(-26.f + xOffset, 0. in make_arrow()
121 static SkScalar xOffset = -382.f; make_curve() local
133 static SkScalar xOffset = 5.0f; make_battery() local
160 static SkScalar xOffset = 225.625f; make_battery2() local
184 static SkScalar xOffset = 120; make_ring() local
[all...]
H A Dtextblobtransforms.cpp45 SkScalar xOffset = bounds.width() + 5; variable
48 ToolUtils::add_to_text_blob(&builder, text, font, xOffset, 0);
56 ToolUtils::add_to_text_blob(&builder, text, font, xOffset, -yOffset - 10);
84 SkScalar xOffset = SkScalarCeilToScalar(bounds.width()); variable
87 canvas->translate(xOffset, 2 * yOffset);
89 canvas->translate(-xOffset, 0);
91 canvas->translate(2 * xOffset, 0);
93 canvas->translate(-xOffset, -yOffset);
99 canvas->translate(4 * xOffset, -yOffset);
109 canvas->translate(-xOffset, yOffse
[all...]
H A Darcofzorro.cpp48 int xOffset = 0, yOffset = 0; variable
57 canvas->translate(SkIntToScalar(xOffset), SkIntToScalar(yOffset));
63 xOffset += 10;
64 if (xOffset >= 700) {
69 xOffset -= 10;
71 if (xOffset < 50) {
76 xOffset += 10;
H A Dandroidblendmodes.cpp66 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; variable
101 this->drawTile(canvas, xOffset, yOffset, mode);
105 xOffset + kBitmapSize/2.0f,
109 xOffset += 256;
110 if (xOffset >= 1024) {
111 xOffset = 0;
H A Dimagefiltersclipped.cpp125 for (int xOffset = 0; xOffset < 80; xOffset += 16) {
127 bounds.fLeft = SkIntToScalar(xOffset);
140 for (int xOffset = 0; xOffset < 80; xOffset += 16) {
141 bounds.fLeft = SkIntToScalar(xOffset);
H A Dmixedtextblobs.cpp74 SkScalar xOffset = boundsHalfWidth; variable
86 xOffset - bounds.width() * 0.25f,
95 ToolUtils::add_to_text_blob(&builder, fEmojiText, font, xOffset, yOffset);
H A Dtablecolorfilter.cpp164 SkScalar xOffset = SkScalar(bm.width() * 9 / 8); variable
175 // each draw being at xOffset of the previous one
177 x += xOffset;
190 // each draw being at xOffset of the previous one
199 x += xOffset;
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLPreRotationTest.cpp239 GLint xOffset = 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()
261 GLint xOffset = 13; 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 in test256x256PredictablePattern()
904 GLint xOffset = 40; TEST_P() local
1531 GLint xOffset = 40; TEST_P() local
1649 GLint xOffset = 40; TEST_P() local
1768 GLint xOffset = 40; TEST_P() local
1891 GLint xOffset = 40; TEST_P() local
1982 GLint xOffset = 0; TEST_P() local
2139 GLint xOffset = 0; TEST_P() local
2263 GLint xOffset = 0; TEST_P() local
[all...]
/third_party/skia/third_party/externals/angle2/samples/tri_fan_microbench/
H A DTriFanMicroBench.cpp64 GLfloat xOffset = xMin; in createVertexBuffers() local
71 tempVerts[j * 3] = fanVertices[j * 3] + xOffset; in createVertexBuffers()
79 xOffset += 2 * halfDim; in createVertexBuffers()
80 if (xOffset > xMax) in createVertexBuffers()
82 xOffset = xMin; in createVertexBuffers()
110 xOffset = xMin; in createVertexBuffers()
119 tempVerts[j * 3] = triPointer[0] + xOffset; in createVertexBuffers()
127 xOffset += 2 * halfDim; in createVertexBuffers()
128 if (xOffset > xMax) in createVertexBuffers()
131 xOffset in createVertexBuffers()
[all...]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
H A DCompositeBitmapGlyph.java30 private int xOffset; field in CompositeBitmapGlyph.Component
33 protected Component(int glyphCode, int xOffset, int yOffset) { in Component() argument
35 this.xOffset = xOffset; in Component()
43 public int xOffset() { in xOffset() method in CompositeBitmapGlyph.Component
44 return this.xOffset; in xOffset()
/third_party/skia/third_party/externals/freetype/src/psaux/
H A Dpshints.c1148 glyphpath->xOffset = font->darkenX; in cf2_glyphpath_init()
1151 cf2_fixedAbs( glyphpath->xOffset ), in cf2_glyphpath_init()
1587 *x = glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1594 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1612 *x = NEG_INT32( glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1619 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1640 *x = glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1647 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1665 *x = NEG_INT32( glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1672 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1726 CF2_Fixed xOffset, yOffset; cf2_glyphpath_lineTo() local
[all...]
H A Dpshints.h217 CF2_Fixed xOffset; /* character space offsets */ member
/third_party/skia/third_party/externals/libgifcodec/
H A DSkGifImageReader.cpp744 int height, width, xOffset, yOffset; in parse() local
749 xOffset = GETINT16(currentComponent); in parse()
769 fScreenWidth = std::max(fScreenWidth, xOffset + width); in parse()
799 const bool frameIsSubset = xOffset > 0 || yOffset > 0 in parse()
818 currentFrame->setXYWH(xOffset, yOffset, width, height); in parse()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-color-sbix-table.hh54 new_glyph->xOffset = xOffset; in copy()
61 HBINT16 xOffset; /* The horizontal (x-axis) offset from the left member
135 if (x_offset) *x_offset = glyph->xOffset; in get_glyph_blob()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fPrimitiveRestartTests.cpp482 int xOffset = rnd.getInt(0, xOffsetMax); 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()
H A Des3fInstancedRenderingTests.cpp444 int xOffset = rnd.getInt(0, xOffsetMax); in iterate() local
451 glViewport(xOffset, yOffset, width, height); in iterate()
455 glu::readPixels(m_context.getRenderContext(), xOffset, yOffset, resultImg.getAccess()); in iterate()
/third_party/skia/src/sfnt/
H A DSkOTTable_EBDT.h88 SK_OT_CHAR xOffset; // Position of component left member
/third_party/skia/src/image/
H A DSkSurface.cpp338 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/src/codec/
H A DSkFrameHolder.h110 int xOffset() const { return fRect.x(); } in xOffset() function in SkFrame
/third_party/skia/third_party/externals/freetype/include/freetype/
H A Dftoutln.h264 * xOffset ::
272 FT_Pos xOffset,
/third_party/skia/third_party/externals/angle2/samples/multiview/
H A DMultiview.cpp18 void FillTranslationMatrix(float xOffset, float yOffset, float zOffset, float *matrix) in FillTranslationMatrix() argument
23 matrix[3] = xOffset; in FillTranslationMatrix()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cSparseTextureTests.hpp239 GLint xOffset, GLint yOffset, GLint zOffset, GLint width, GLint height, GLint depth,
271 GLint xOffset, GLint yOffset, GLint zOffset, GLint width, GLint height, GLint depth,
/third_party/skia/fuzz/
H A DFuzzDDLThreading.cpp241 int xOffset = i * kPromiseImageSize.width(); in recordAndPlayDDL() local
245 canvas->drawImage(fPromiseImages[j].fImage, xOffset, 0); in recordAndPlayDDL()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DCopyTexImageTest.cpp590 const GLint xOffset,
596 const GLint xOffset,
881 const GLint xOffset, in copyTexSubImage3D()
894 glCopyTexSubImage3D(GL_TEXTURE_3D, 0, xOffset, yOffset, currLayer, 0, 0, subImageWidth, in copyTexSubImage3D()
901 const GLint xOffset, in verifyCopyTexSubImage3D()
910 EXPECT_PIXEL_COLOR_EQ(xOffset, yOffset, subImageColor); in verifyCopyTexSubImage3D()
880 copyTexSubImage3D(GLTexture &subTexture2D, const GLint xOffset, const GLint yOffset, const GLsizei subImageWidth, const GLsizei subImageHeight, const GLsizei imageDepth) copyTexSubImage3D() argument
900 verifyCopyTexSubImage3D(GLTexture &texture3D, const GLint xOffset, const GLint yOffset, const GLColor subImageColor) verifyCopyTexSubImage3D() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DFramebufferGL.cpp985 GLuint xOffset, yOffset; in adjustSrcDstRegion() local
986 if (!checkedXOffset.AssignIfValid(&xOffset) || !checkedYOffset.AssignIfValid(&yOffset)) in adjustSrcDstRegion()
996 bounds.sourceRegion = gl::Rectangle(bounds.sourceRegion.x + (xOffset >> destXHalvings), in adjustSrcDstRegion()
1111 GLuint xOffset, yOffset; in adjustSrcDstRegion() local
1112 if (!checkedXOffset.AssignIfValid(&xOffset) || !checkedYOffset.AssignIfValid(&yOffset)) in adjustSrcDstRegion()
1122 bounds.destRegion = gl::Rectangle(bounds.destRegion.x + (xOffset >> sourceXHalvings), in adjustSrcDstRegion()
1162 GLuint xOffset = realSourceRegion.x - bounds.sourceRegion.x; in clipSrcRegion() local
1169 xOffset = bounds.sourceRegion.x1() - realSourceRegion.x1(); in clipSrcRegion()
1181 static_cast<GLfloat>(xOffset) * bounds.destRegion.width / bounds.sourceRegion.width; in clipSrcRegion()

Completed in 21 milliseconds

123