Home
last modified time | relevance | path

Searched refs:yOffset (Results 1 – 25 of 65) sorted by relevance

123

/external/skia/gm/
Dsmallpaths.cpp63 static SkScalar yOffset = 50.f; in make_three_line() local
64 path->moveTo(-32.5f + xOffset, 0.0f + yOffset); in make_three_line()
65 path->lineTo(32.5f + xOffset, 0.0f + yOffset); in make_three_line()
67 path->moveTo(-32.5f + xOffset, 19 + yOffset); in make_three_line()
68 path->lineTo(32.5f + xOffset, 19 + yOffset); in make_three_line()
70 path->moveTo(-32.5f + xOffset, -19 + yOffset); in make_three_line()
71 path->lineTo(32.5f + xOffset, -19 + yOffset); in make_three_line()
72 path->lineTo(-32.5f + xOffset, -19 + yOffset); in make_three_line()
81 static SkScalar yOffset = 40.f; in make_arrow() local
82 path->moveTo(-26.f + xOffset, 0.0f + yOffset); in make_arrow()
[all …]
Dtextblobtransforms.cpp44 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
49 sk_tool_utils::add_to_text_blob(&builder, text, font, xOffset, -yOffset - 10); in onOnceBeforeDraw()
78 SkScalar yOffset = SkScalarCeilToScalar(bounds.height()); in onDraw() local
80 canvas->translate(xOffset, 2 * yOffset); in onDraw()
86 canvas->translate(-xOffset, -yOffset); in onDraw()
88 canvas->translate(0, 2 * yOffset); in onDraw()
92 canvas->translate(4 * xOffset, -yOffset); in onDraw()
96 canvas->translate(0, -yOffset); in onDraw()
102 canvas->translate(-xOffset, yOffset); in onDraw()
108 canvas->translate(- 3 * xOffset, 3 * yOffset); in onDraw()
Dtextblobmixedsizes.cpp45 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
48 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
52 yOffset += bounds.height(); in onOnceBeforeDraw()
55 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
59 yOffset += bounds.height(); in onOnceBeforeDraw()
62 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
66 yOffset += bounds.height(); in onOnceBeforeDraw()
69 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
73 yOffset += bounds.height(); in onOnceBeforeDraw()
76 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
Dtextblobrandomfont.cpp119 SkScalar yOffset = 5; in onDraw() local
127 canvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw()
128 yOffset += stride; in onDraw()
133 surfaceCanvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw()
135 yOffset += stride; in onDraw()
141 canvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw()
142 yOffset += stride; in onDraw()
Dandroidblendmodes.cpp54 void drawTile(SkCanvas* canvas, int xOffset, int yOffset, SkBlendMode mode) { in drawTile() argument
55 canvas->translate(xOffset, yOffset); in drawTile()
75 int xOffset = 0, yOffset = 0; in onDraw() local
92 this->drawTile(canvas, xOffset, yOffset, mode); in onDraw()
97 yOffset + kBitmapSize, in onDraw()
103 yOffset += 256; in onDraw()
Dmixedtextblobs.cpp58 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
59 sk_tool_utils::add_to_text_blob(&builder, text, font, 10, yOffset); in onOnceBeforeDraw()
61 SkScalar corruptedAy = yOffset; in onOnceBeforeDraw()
67 yOffset = boundsHalfHeight; in onOnceBeforeDraw()
76 yOffset - bounds.height() * 0.5f); in onOnceBeforeDraw()
77 yOffset += bounds.height(); in onOnceBeforeDraw()
87 yOffset); in onOnceBeforeDraw()
Dimagefromyuvtextures.cpp160 SkScalar yOffset = kPad; in onDraw() local
161 canvas->drawImage(fRGBImage.get(), kPad, yOffset); in onDraw()
162 yOffset += kBmpSize + kPad; in onDraw()
179 canvas->drawImage(image.get(), kPad, yOffset, &paint); in onDraw()
180 yOffset += kBmpSize + kPad; in onDraw()
201 canvas->drawImage(image.get(), kPad, yOffset, &paint); in onDraw()
202 yOffset += kBmpSize + kPad; in onDraw()
Darcofzorro.cpp41 int xOffset = 0, yOffset = 0; in onDraw() local
50 canvas->translate(SkIntToScalar(xOffset), SkIntToScalar(yOffset)); in onDraw()
63 yOffset += 10; in onDraw()
Dtextblobcolortrans.cpp39 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
40 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset - 30); in onOnceBeforeDraw()
46 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset - 8); in onOnceBeforeDraw()
/external/skqp/gm/
Dsmallpaths.cpp63 static SkScalar yOffset = 50.f; in make_three_line() local
64 path->moveTo(-32.5f + xOffset, 0.0f + yOffset); in make_three_line()
65 path->lineTo(32.5f + xOffset, 0.0f + yOffset); in make_three_line()
67 path->moveTo(-32.5f + xOffset, 19 + yOffset); in make_three_line()
68 path->lineTo(32.5f + xOffset, 19 + yOffset); in make_three_line()
70 path->moveTo(-32.5f + xOffset, -19 + yOffset); in make_three_line()
71 path->lineTo(32.5f + xOffset, -19 + yOffset); in make_three_line()
72 path->lineTo(-32.5f + xOffset, -19 + yOffset); in make_three_line()
81 static SkScalar yOffset = 40.f; in make_arrow() local
82 path->moveTo(-26.f + xOffset, 0.0f + yOffset); in make_arrow()
[all …]
Dtextblobtransforms.cpp44 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
49 sk_tool_utils::add_to_text_blob(&builder, text, font, xOffset, -yOffset - 10); in onOnceBeforeDraw()
78 SkScalar yOffset = SkScalarCeilToScalar(bounds.height()); in onDraw() local
80 canvas->translate(xOffset, 2 * yOffset); in onDraw()
86 canvas->translate(-xOffset, -yOffset); in onDraw()
88 canvas->translate(0, 2 * yOffset); in onDraw()
92 canvas->translate(4 * xOffset, -yOffset); in onDraw()
96 canvas->translate(0, -yOffset); in onDraw()
102 canvas->translate(-xOffset, yOffset); in onDraw()
108 canvas->translate(- 3 * xOffset, 3 * yOffset); in onDraw()
Dtextblobmixedsizes.cpp45 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
48 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
52 yOffset += bounds.height(); in onOnceBeforeDraw()
55 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
59 yOffset += bounds.height(); in onOnceBeforeDraw()
62 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
66 yOffset += bounds.height(); in onOnceBeforeDraw()
69 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
73 yOffset += bounds.height(); in onOnceBeforeDraw()
76 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset); in onOnceBeforeDraw()
Dtextblobrandomfont.cpp123 SkScalar yOffset = 5; in onDraw() local
131 canvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw()
132 yOffset += stride; in onDraw()
140 surfaceCanvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw()
143 yOffset += stride; in onDraw()
151 canvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw()
152 yOffset += stride; in onDraw()
Dandroidblendmodes.cpp54 void drawTile(SkCanvas* canvas, int xOffset, int yOffset, SkBlendMode mode) { in drawTile() argument
55 canvas->translate(xOffset, yOffset); in drawTile()
75 int xOffset = 0, yOffset = 0; in onDraw() local
92 this->drawTile(canvas, xOffset, yOffset, mode); in onDraw()
97 yOffset + kBitmapSize, in onDraw()
103 yOffset += 256; in onDraw()
Dmixedtextblobs.cpp58 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
59 sk_tool_utils::add_to_text_blob(&builder, text, font, 10, yOffset); in onOnceBeforeDraw()
61 SkScalar corruptedAy = yOffset; in onOnceBeforeDraw()
67 yOffset = boundsHalfHeight; in onOnceBeforeDraw()
76 yOffset - bounds.height() * 0.5f); in onOnceBeforeDraw()
77 yOffset += bounds.height(); in onOnceBeforeDraw()
87 yOffset); in onOnceBeforeDraw()
Darcofzorro.cpp41 int xOffset = 0, yOffset = 0; in onDraw() local
50 canvas->translate(SkIntToScalar(xOffset), SkIntToScalar(yOffset)); in onDraw()
63 yOffset += 10; in onDraw()
Dtextblobcolortrans.cpp39 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
40 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset - 30); in onOnceBeforeDraw()
46 sk_tool_utils::add_to_text_blob(&builder, text, font, 0, yOffset - 8); in onOnceBeforeDraw()
/external/proguard/src/proguard/gui/splash/
DShadowedSprite.java33 private final VariableInt yOffset; field in ShadowedSprite
52 VariableInt yOffset, in ShadowedSprite() argument
58 this.yOffset = yOffset; in ShadowedSprite()
88 int yo = yOffset.getInt(time) - b/2; in paint()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowToast.java21 private int yOffset; field in ShadowToast
71 protected void setGravity(int gravity, int xOffset, int yOffset) { in setGravity() argument
74 this.yOffset = yOffset; in setGravity()
89 return yOffset; in getYOffset()
/external/freetype/src/psaux/
Dpshints.c1138 glyphpath->yOffset = font->darkenY; in cf2_glyphpath_init()
1141 cf2_fixedAbs( glyphpath->yOffset ) ); in cf2_glyphpath_init()
1577 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1585 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1602 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1610 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1624 *y = MUL_INT32( 2, glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1630 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1638 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1649 *y = MUL_INT32( 2, glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
[all …]
/external/replicaisland/tools/
DExtractPoints.js123 tile.yOffset = row * tileSizeY;
126 tile.centerY -= tile.yOffset;
147 edge.startY -= tile.yOffset;
149 edge.endY -= tile.yOffset;
151 edge.centerY -= tile.yOffset;
/external/skqp/experimental/canvaskit/tests/
Dcanvas2d.spec.js693 yOffset: 0, property
700 yOffset: 0, property
707 yOffset: 30, property
714 yOffset: 30, property
735 let yOffset = test.yOffset;
739 ctx.rect(5+xOffset, 5+yOffset, 20, 20);
740 ctx.arc(15+xOffset, 15+yOffset, 8, 0, Math.PI*2, false);
750 y += yOffset;
/external/skia/modules/canvaskit/tests/
Dcanvas2d.spec.js675 yOffset: 0, property
682 yOffset: 0, property
689 yOffset: 30, property
696 yOffset: 30, property
717 let yOffset = test.yOffset;
721 ctx.rect(5+xOffset, 5+yOffset, 20, 20);
722 ctx.arc(15+xOffset, 15+yOffset, 8, 0, Math.PI*2, false);
732 y += yOffset;
/external/skqp/tests/
DTextBlobCacheTest.cpp31 int yOffset = 0; in draw() local
36 yOffset += SkScalarCeilToInt(bounds.height()); in draw()
38 canvas->drawTextBlob(blob, 0, SkIntToScalar(yOffset), paint); in draw()
/external/skia/tests/
DTextBlobCacheTest.cpp31 int yOffset = 0; in draw() local
36 yOffset += SkScalarCeilToInt(bounds.height()); in draw()
38 canvas->drawTextBlob(blob, 0, SkIntToScalar(yOffset), paint); in draw()

123