Home
last modified time | relevance | path

Searched refs:yOffset (Results 1 – 25 of 66) 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, paint, 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.cpp50 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
53 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset); in onOnceBeforeDraw()
57 yOffset += bounds.height(); in onOnceBeforeDraw()
60 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset); in onOnceBeforeDraw()
64 yOffset += bounds.height(); in onOnceBeforeDraw()
67 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset); in onOnceBeforeDraw()
71 yOffset += bounds.height(); in onOnceBeforeDraw()
74 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset); in onOnceBeforeDraw()
Dtextblobrandomfont.cpp113 int yOffset = stride / 8; in onDraw() local
117 canvas->drawTextBlob(fBlob, 10.0f, SkIntToScalar(yOffset), paint); in onDraw()
118 yOffset += stride; in onDraw()
121 c->drawTextBlob(fBlob, 10, SkIntToScalar(yOffset), paint); in onDraw()
125 yOffset += stride; in onDraw()
127 canvas->drawTextBlob(fBlob, 10, SkIntToScalar(yOffset), paint); in onDraw()
129 yOffset += stride; in onDraw()
Dmixedtextblobs.cpp58 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
59 sk_tool_utils::add_to_text_blob(&builder, text, paint, 10, yOffset); in onOnceBeforeDraw()
61 SkScalar corruptedAy = yOffset; in onOnceBeforeDraw()
67 yOffset = boundsHalfHeight; in onOnceBeforeDraw()
77 yOffset - bounds.height() * 0.5f); in onOnceBeforeDraw()
78 yOffset += bounds.height(); in onOnceBeforeDraw()
89 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, paint, 0, yOffset - 30); in onOnceBeforeDraw()
48 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset - 8); in onOnceBeforeDraw()
Dtextblobblockreordering.cpp34 SkScalar yOffset = bounds.height(); in onOnceBeforeDraw() local
35 sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset - 30); in onOnceBeforeDraw()
Dtablecolorfilter.cpp147 SkScalar yOffset = SkScalar(bm.height() * 9 / 8); in onDraw() local
171 y += yOffset; in onDraw()
184 y += yOffset; in onDraw()
/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/v8/test/mjsunit/regress/
Dregress-201590.js38 Foo.prototype.bar = function (x, y, xOffset, yOffset) { argument
42 yOffset = yOffset * 0.5 || 0;
45 var yPos = ((yOffset) * gdpRatio) + this.ORIGIN.y * this.scale +
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/
DGlyph.java34 private short yOffset; field in Glyph
55 yOffset = (short)(g.yoffset - padTop); in Glyph()
74 yOffset = (short)(unicodeFont.getAscent() + bounds.y - padTop); in Glyph()
153 return yOffset; in getYOffset()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidLiveWallpaperService.java498 float yOffset = 0.0f; field in AndroidLiveWallpaperService.AndroidWallpaperEngine
505 …public void onOffsetsChanged (final float xOffset, final float yOffset, final float xOffsetStep, f… in onOffsetsChanged() argument
515 this.yOffset = yOffset; in onOffsetsChanged()
527 super.onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixelOffset, yPixelOffset); in onOffsetsChanged()
545 … ((AndroidWallpaperListener)app.listener).offsetChange(xOffset, yOffset, xOffsetStep, yOffsetStep, in notifyOffsetsChanged()
DAndroidWallpaperListener.java39 …abstract void offsetChange (float xOffset, float yOffset, float xOffsetStep, float yOffsetStep, in… in offsetChange() argument
/external/freetype/src/cff/
Dcf2hints.c1059 glyphpath->yOffset = font->darkenY; in cf2_glyphpath_init()
1062 cf2_fixedAbs( glyphpath->yOffset ) ); in cf2_glyphpath_init()
1486 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1494 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1511 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1519 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1533 *y = 2 * glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1539 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1547 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1558 *y = 2 * glyphpath->yOffset; in cf2_glyphpath_computeOffset()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/
Dcf2hints.c1060 glyphpath->yOffset = font->darkenY; in cf2_glyphpath_init()
1063 cf2_fixedAbs( glyphpath->yOffset ) ); in cf2_glyphpath_init()
1487 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1495 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1512 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1520 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1534 *y = 2 * glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1540 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1548 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1559 *y = 2 * glyphpath->yOffset; in cf2_glyphpath_computeOffset()
[all …]
/external/pdfium/third_party/freetype/src/cff/
Dcf2hints.c1059 glyphpath->yOffset = font->darkenY; in cf2_glyphpath_init()
1062 cf2_fixedAbs( glyphpath->yOffset ) ); in cf2_glyphpath_init()
1486 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1494 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1511 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1519 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1533 *y = 2 * glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1539 *y = glyphpath->yOffset; in cf2_glyphpath_computeOffset()
1547 glyphpath->yOffset ); in cf2_glyphpath_computeOffset()
1558 *y = 2 * glyphpath->yOffset; in cf2_glyphpath_computeOffset()
[all …]
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
DRegionPickerPanel.java161 yOffset = texture.getHeight()/rows, xOffset = texture.getWidth()/columns; in generateRegions() local
165 int rowOffset = j*yOffset; in generateRegions()
167 …rePanel.unselectedRegions.add(new TextureRegion(texture, i*xOffset, rowOffset, xOffset, yOffset) ); in generateRegions()
175 …anel.unselectedRegions.add(new TextureRegion(texture, columnOffset, j*yOffset, xOffset, yOffset) ); in generateRegions()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPopupWindow.java31 private int yOffset; field in ShadowPopupWindow
154 yOffset = yoff; in showAsDropDown()
171 return yOffset; in getYOffset()
/external/libgdx/tests/gdx-tests-android/src/com/badlogic/gdx/tests/android/
DLiveWallpaper.java43 …public void offsetChange (float xOffset, float yOffset, float xOffsetStep, float yOffsetStep, int … in offsetChange() argument
45 …Log.i("LiveWallpaper test", "offsetChange(xOffset:"+xOffset+" yOffset:"+yOffset+" xOffsetSteep:"+x… in offsetChange()
/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/skia/src/core/
DSkReadBuffer.cpp227 const int32_t yOffset = this->readInt(); in readBitmap() local
231 if (0 != xOffset || 0 != yOffset) { in readBitmap()
237 yOffset); in readBitmap()
241 SkASSERT(0 == xOffset && 0 == yOffset); in readBitmap()
255 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height); in readBitmap()
/external/skia/src/effects/
DSkMagnifierImageFilter.cpp31 float yOffset, in Create() argument
36 … return new GrMagnifierEffect(texture, bounds, xOffset, yOffset, xInvZoom, yInvZoom, xInvInset, in Create()
61 float yOffset, in GrMagnifierEffect() argument
69 , fYOffset(yOffset) in GrMagnifierEffect()
260 SkScalar yOffset = texture->origin() == kTopLeft_GrSurfaceOrigin ? fSrcRect.y() : in asFragmentProcessor() local
274 yOffset / texture->height(), in asFragmentProcessor()
/external/skia/tests/
DTextBlobCacheTest.cpp39 int yOffset = 0; in draw() local
44 yOffset += SkScalarCeilToInt(bounds.height()); in draw()
46 canvas->drawTextBlob(blob, 0, SkIntToScalar(yOffset), paint); in draw()
/external/opencv/cxcore/include/
Dcxcore.hpp144 cvRect(image->roi->xOffset,image->roi->yOffset, in roi()
172 (uchar*)(image->imageData + (y+image->roi->yOffset)*image->widthStep + in roi_row()
186 (const uchar*)(image->imageData + (y+image->roi->yOffset)*image->widthStep + in roi_row()

123