Home
last modified time | relevance | path

Searched refs:xOffset (Results 1 – 25 of 54) sorted by relevance

123

/external/skia/gm/
Dsmallpaths.cpp62 static SkScalar xOffset = 34.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()
80 static SkScalar xOffset = 34.f; in make_arrow() local
82 path->moveTo(-26.f + xOffset, 0.0f + yOffset); in make_arrow()
[all …]
Dtextblobtransforms.cpp38 SkScalar xOffset = bounds.width() + 5; in onOnceBeforeDraw() local
41 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset, 0); in onOnceBeforeDraw()
49 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset, -yOffset - 10); in onOnceBeforeDraw()
77 SkScalar xOffset = SkScalarCeilToScalar(bounds.width()); in onDraw() local
80 canvas->translate(xOffset, 2 * yOffset); in onDraw()
82 canvas->translate(-xOffset, 0); in onDraw()
84 canvas->translate(2 * xOffset, 0); in onDraw()
86 canvas->translate(-xOffset, -yOffset); in onDraw()
92 canvas->translate(4 * xOffset, -yOffset); in onDraw()
102 canvas->translate(-xOffset, yOffset); in onDraw()
[all …]
Darcofzorro.cpp41 int xOffset = 0, yOffset = 0; in onDraw() local
50 canvas->translate(SkIntToScalar(xOffset), SkIntToScalar(yOffset)); in onDraw()
56 xOffset += 10; in onDraw()
57 if (xOffset >= 700) { in onDraw()
62 xOffset -= 10; in onDraw()
64 if (xOffset < 50) { in onDraw()
69 xOffset += 10; in onDraw()
Dimagefiltersclipped.cpp126 for (int xOffset = 0; xOffset < 80; xOffset += 16) { in onDraw() local
128 bounds.fLeft = SkIntToScalar(xOffset); in onDraw()
146 for (int xOffset = 0; xOffset < 80; xOffset += 16) { in onDraw() local
147 bounds.fLeft = SkIntToScalar(xOffset); in onDraw()
Dmixedtextblobs.cpp66 SkScalar xOffset = boundsHalfWidth; in onOnceBeforeDraw() local
76 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset - bounds.width() * 0.25f, in onOnceBeforeDraw()
88 sk_tool_utils::add_to_text_blob(&builder, text, paint, xOffset - bounds.width() * 0.3f, in onOnceBeforeDraw()
Dtablecolorfilter.cpp146 SkScalar xOffset = SkScalar(bm.width() * 9 / 8); in onDraw() local
157 x += xOffset; in onDraw()
179 x += xOffset; in onDraw()
/external/proguard/src/proguard/gui/splash/
DShadowedSprite.java32 private final VariableInt xOffset; field in ShadowedSprite
51 public ShadowedSprite(VariableInt xOffset, in ShadowedSprite() argument
57 this.xOffset = xOffset; in ShadowedSprite()
87 int xo = xOffset.getInt(time) - b/2; in paint()
/external/v8/test/mjsunit/regress/
Dregress-201590.js38 Foo.prototype.bar = function (x, y, xOffset, yOffset) { argument
41 xOffset = xOffset * 0.5 || 0,
43 var xPos = ((xOffset) * gdpRatio) + this.ORIGIN.x * this.scale -
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DBitmapCharacter.java49 private int xOffset; field in BitmapCharacter
105 return xOffset; in getXOffset()
109 xOffset = offset; in setXOffset()
163 oc.write(xOffset, "xOffset", 0); in write()
188 xOffset = ic.readInt("xOffset", 0); in read()
DLetterQuad.java283 float xOffset = bitmapChar.getXOffset() * sizeScale; in update() local
303 xAdvance -= xOffset * incrScale; in update()
306 x0 = previous.getNextX() + xOffset * incrScale; in update()
315 xAdvance -= xOffset * incrScale; in update()
/external/skia/src/core/
DSkTextToPathIter.h73 SkScalar xOffset = TextType::kText == fTextType && fXYIndex ? fXPos : 0; in setPosition() local
82 xOffset = width; in setPosition()
88 bound += xOffset; in setPosition()
93 fXPos = xOffset + (fXYIndex ? y : x); in setPosition()
DSkReadBuffer.cpp226 const int32_t xOffset = this->readInt(); in readBitmap() local
231 if (0 != xOffset || 0 != yOffset) { in readBitmap()
236 fDecodedBitmapIndex, width, height, length, xOffset, in readBitmap()
241 SkASSERT(0 == xOffset && 0 == yOffset); in readBitmap()
255 SkIRect subset = SkIRect::MakeXYWH(xOffset, yOffset, width, height); in readBitmap()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/
DGlyph.java38 private int xOffset, xAdvance; field in Glyph
56 xOffset = g.xoffset - unicodeFont.getPaddingLeft(); in Glyph()
84xOffset = vector.getGlyphPixelBounds(0, GlyphPage.renderContext, 0, 0).x - unicodeFont.getPaddingL… in Glyph()
157 return xOffset; in getXOffset()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidLiveWallpaperService.java497 float xOffset = 0.0f; field in AndroidLiveWallpaperService.AndroidWallpaperEngine
505 …public void onOffsetsChanged (final float xOffset, final float yOffset, final float xOffsetStep, f… in onOffsetsChanged() argument
514 this.xOffset = xOffset; 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/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
DRegionPickerPanel.java161 yOffset = texture.getHeight()/rows, xOffset = texture.getWidth()/columns; in generateRegions() local
167 …texturePanel.unselectedRegions.add(new TextureRegion(texture, i*xOffset, rowOffset, xOffset, yOffs… in generateRegions()
173 int columnOffset = i*xOffset; in generateRegions()
175 …texturePanel.unselectedRegions.add(new TextureRegion(texture, columnOffset, j*yOffset, xOffset, yO… in generateRegions()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPopupWindow.java30 private int xOffset; field in ShadowPopupWindow
153 xOffset = xoff; in showAsDropDown()
167 return xOffset; in getXOffset()
/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.js122 tile.xOffset = column * tileSizeX;
125 tile.centerX -= tile.xOffset;
146 edge.startX -= tile.xOffset;
148 edge.endX -= tile.xOffset;
150 edge.centerX -= tile.xOffset;
/external/pdfium/third_party/freetype/src/cff/
Dcf2hints.c1058 glyphpath->xOffset = font->darkenX; in cf2_glyphpath_init()
1061 cf2_fixedAbs( glyphpath->xOffset ), in cf2_glyphpath_init()
1485 *x = glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1492 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1510 *x = -glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1517 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1538 *x = glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1545 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1563 *x = -glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1570 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/
Dcf2hints.c1059 glyphpath->xOffset = font->darkenX; in cf2_glyphpath_init()
1062 cf2_fixedAbs( glyphpath->xOffset ), in cf2_glyphpath_init()
1486 *x = glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1493 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1511 *x = -glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1518 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1539 *x = glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1546 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1564 *x = -glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1571 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
[all …]
/external/freetype/src/cff/
Dcf2hints.c1059 glyphpath->xOffset = font->darkenX; in cf2_glyphpath_init()
1062 cf2_fixedAbs( glyphpath->xOffset ), in cf2_glyphpath_init()
1486 *x = glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1493 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1511 *x = -glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1518 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1539 *x = glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1546 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
1564 *x = -glyphpath->xOffset; in cf2_glyphpath_computeOffset()
1571 glyphpath->xOffset ); in cf2_glyphpath_computeOffset()
[all …]
/external/skia/src/effects/
DSkMagnifierImageFilter.cpp30 float xOffset, in Create() argument
36 … return new GrMagnifierEffect(texture, bounds, xOffset, yOffset, xInvZoom, yInvZoom, xInvInset, in Create()
60 float xOffset, in GrMagnifierEffect() argument
68 , fXOffset(xOffset) in GrMagnifierEffect()
/external/opencv/cxcore/include/
Dcxcore.hpp144 cvRect(image->roi->xOffset,image->roi->yOffset, in roi()
173 image->roi->xOffset*((image->depth & 255)>>3)*image->nChannels); in roi_row()
187 image->roi->xOffset*((image->depth & 255)>>3)*image->nChannels); in roi_row()
/external/deqp/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp467 int xOffset = rnd.getInt(0, xOffsetMax); in iterate() local
472 glViewport(xOffset, yOffset, width, height); in iterate()
487 glu::readPixels(m_context.getRenderContext(), xOffset, yOffset, resultImg.getAccess()); in iterate()
492 glu::readPixels(m_context.getRenderContext(), xOffset, yOffset, referenceImg.getAccess()); in iterate()

123