Searched defs:originX (Results 1 - 25 of 25) sorted by relevance

/external/skia/tests/
H A DBlitMaskClip.cpp35 const int originX = 100; local
43 SkIRect b = {originX, originY, originX + width, originY + height};
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
H A DTransformDrawable.java8 public void draw (Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, argument
H A DSpriteDrawable.java56 public void draw (Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, argument
63 sprite.setOrigin(originX, originY);
H A DTextureRegionDrawable.java48 public void draw (Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, argument
50 batch.draw(region, x, y, originX, originY, width, height, scaleX, scaleY, rotation);
/external/skia/gm/
H A Dglyph_pos_align.cpp53 float originX; local
55 case SkPaint::kRight_Align: originX = 1; break;
56 case SkPaint::kCenter_Align: originX = 0.5f; break;
57 case SkPaint::kLeft_Align: originX = 0; break;
63 posX[i] = x + originX * widths[i];
H A Dmultipicturedraw.cpp28 // Create a hexagon centered at (originX, originY)
29 static SkPath make_hex_path(SkScalar originX, SkScalar originY) { argument
31 hex.moveTo(originX-kHexSide, originY);
142 // Make an equilateral triangle path with its top corner at (originX, originY)
143 static SkPath make_tri_path(SkScalar originX, SkScalar originY) { argument
145 tri.moveTo(originX, originY);
/external/libgdx/gdx/src/com/badlogic/gdx/maps/objects/
H A DTextureMapObject.java27 private float originX = 0.0f; field in class:TextureMapObject
56 return originX;
61 this.originX = x;
/external/libgdx/gdx/src/com/badlogic/gdx/math/
H A DPolygon.java24 private float originX, originY; field in class:Polygon
65 final float originX = this.originX;
75 float x = localVertices[i] - originX;
91 worldVertices[i] = positionX + x + originX;
98 public void setOrigin (float originX, float originY) { argument
99 this.originX = originX;
230 return originX;
H A DPolyline.java23 private float originX, originY; field in class:Polyline
57 final float originX = this.originX;
67 float x = localVertices[i] - originX;
83 worldVertices[i] = positionX + x + originX;
128 return originX;
147 public void setOrigin (float originX, float originY) { argument
148 this.originX = originX;
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
H A DPolygonRegionTest.java111 public void draw (PolygonRegion region, float x, float y, float originX, float originY, float width, float height, argument
119 final float worldOriginX = x + originX;
143 fx1 -= originX;
145 fx2 -= originX;
147 fx3 -= originX;
189 fx1 = -originX;
191 fx2 = width - originX;
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
H A DCpuSpriteBatch.java151 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, argument
154 super.draw(texture, x, y, originX, originY, width, height, scaleX, scaleY, rotation, srcX, srcY, srcWidth, srcHeight,
157 drawAdjusted(texture, x, y, originX, originY, width, height, scaleX, scaleY, rotation, srcX, srcY, srcWidth, srcHeight,
228 public void draw (TextureRegion region, float x, float y, float originX, float originY, float width, float height, argument
231 super.draw(region, x, y, originX, originY, width, height, scaleX, scaleY, rotation);
233 drawAdjusted(region, x, y, originX, originY, width, height, scaleX, scaleY, rotation);
238 public void draw (TextureRegion region, float x, float y, float originX, float originY, float width, float height, argument
241 super.draw(region, x, y, originX, originY, width, height, scaleX, scaleY, rotation, clockwise);
243 drawAdjusted(region, x, y, originX, originY, width, height, scaleX, scaleY, rotation, clockwise);
267 private void drawAdjusted (TextureRegion region, float x, float y, float originX, floa argument
274 drawAdjusted(Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation, int srcX, int srcY, int srcWidth, int srcHeight, boolean flipX, boolean flipY) argument
287 drawAdjustedUV(Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation, float u, float v, float u2, float v2, boolean flipX, boolean flipY) argument
409 drawAdjusted(TextureRegion region, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation, boolean clockwise) argument
[all...]
H A DPolygonSprite.java32 private float originX, originY; field in class:PolygonSprite
59 originX = sprite.originX;
168 public void setOrigin (float originX, float originY) { argument
169 this.originX = originX;
209 final float originX = this.originX;
217 final float worldOriginX = x + originX;
226 fx = (regionVertices[i] * sX - originX) * scale
[all...]
H A DBatch.java77 * originX, originY relative to the origin. Scale specifies the scaling factor by which the rectangle should be scaled around
78 * originX, originY. Rotation specifies the angle of counter clockwise rotation of the rectangle around originX, originY. The
83 * @param originX the x-coordinate of the scaling and rotation origin relative to the screen space coordinates
87 * @param scaleX the scale of the rectangle around originX/originY in x
88 * @param scaleY the scale of the rectangle around originX/originY in y
89 * @param rotation the angle of counter clockwise rotation of the rectangle around originX/originY
96 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, argument
153 * rectangle is offset by originX, originY relative to the origin. Scale specifies the scaling factor by which the rectangle
154 * should be scaled around originX, origin
156 draw(TextureRegion region, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation) argument
165 draw(TextureRegion region, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation, boolean clockwise) argument
[all...]
H A DSpriteCache.java497 public void add (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, argument
501 final float worldOriginX = x + originX;
503 float fx = -originX;
505 float fx2 = width - originX;
702 public void add (TextureRegion region, float x, float y, float originX, float originY, float width, float height, argument
706 final float worldOriginX = x + originX;
708 float fx = -originX;
710 float fx2 = width - originX;
H A DPolygonSpriteBatch.java284 * The polygon region is offset by originX, originY relative to the origin. Scale specifies the scaling factor by which the
285 * polygon region should be scaled around originX, originY. Rotation specifies the angle of counter clockwise rotation of the
286 * rectangle around originX, originY. */
287 public void draw (PolygonRegion region, float x, float y, float originX, float originY, float width, float height, argument
316 final float worldOriginX = x + originX;
325 fx = (regionVertices[i] * sX - originX) * scaleX;
363 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, argument
386 final float worldOriginX = x + originX;
388 float fx = -originX;
390 float fx2 = width - originX;
840 draw(TextureRegion region, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation) argument
971 draw(TextureRegion region, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation, boolean clockwise) argument
[all...]
H A DSprite.java43 private float originX, originY; field in class:Sprite
120 originX = sprite.originX;
319 public void setOrigin (float originX, float originY) { argument
320 this.originX = originX;
327 this.originX = width / 2;
414 float localX = -originX;
546 return originX;
H A DSpriteBatch.java229 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, argument
241 final float worldOriginX = x + originX;
243 float fx = -originX;
245 float fx2 = width - originX;
640 public void draw (TextureRegion region, float x, float y, float originX, float originY, float width, float height, argument
653 final float worldOriginX = x + originX;
655 float fx = -originX;
657 float fx2 = width - originX;
760 public void draw (TextureRegion region, float x, float y, float originX, float originY, float width, float height, argument
773 final float worldOriginX = x + originX;
[all...]
H A DTextureAtlas.java604 public void setOrigin (float originX, float originY) { argument
605 super.setOrigin(originX - region.offsetX, originY - region.offsetY);
/external/skia/src/core/
H A DSkReadBuffer.cpp308 int originX = this->read32(); local
310 if (originX < 0 || originY < 0) {
315 const SkIRect subset = SkIRect::MakeXYWH(originX, originY, width, height);
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
H A DShapeRenderer.java475 * left corner. The originX and originY specify the point about which to rotate the rectangle. */
476 public void rect (float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, argument
478 rect(x, y, originX, originY, width, height, scaleX, scaleY, degrees, color, color, color, color);
482 * left corner. The originX and originY specify the point about which to rotate the rectangle.
487 public void rect (float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, argument
493 float fx = -originX;
495 float fx2 = width - originX;
505 float worldOriginX = x + originX;
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineInputAssemblyTests.cpp294 const float originX = -1.0f + border; local
347 tcu::Vec4(originX + float(primitiveNdx / 2) * primitiveSizeX, originY + float(primitiveNdx % 2) * primitiveSizeY, 0.0f, 1.0f),
363 tcu::Vec4(originX + float((primitiveNdx * 2 + vertexNdx) / 2) * primitiveSizeX, originY + float(vertexNdx % 2) * primitiveSizeY, 0.0f, 1.0f),
380 tcu::Vec4(originX, originY, 0.0f, 1.0f),
387 vertex.position = tcu::Vec4(originX, originY + primitiveSizeY, 0.0f, 1.0f);
395 tcu::Vec4(originX + float((primitiveNdx + 1) / 2) * primitiveSizeX, originY + float((primitiveNdx + 1) % 2) * primitiveSizeY, 0.0f, 1.0f),
412 tcu::Vec4(originX + float((primitiveNdx * 3 + vertexNdx) / 2) * primitiveSizeX, originY + float((primitiveNdx * 3 + vertexNdx)% 2) * primitiveSizeY, 0.0f, 1.0f),
431 tcu::Vec4(originX + float(vertexNdx / 2) * primitiveSizeX, originY + float(vertexNdx % 2) * primitiveSizeY, 0.0f, 1.0f),
443 tcu::Vec4(originX + float((primitiveNdx + 2) / 2) * primitiveSizeX, originY + float((primitiveNdx + 2) % 2) * primitiveSizeY, 0.0f, 1.0f),
504 tcu::Vec4(originX
648 const float originX = -1.0f + border; local
[all...]
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
H A DActor.java68 float originX, originY; field in class:Actor
545 return originX;
548 public void setOriginX (float originX) { argument
549 this.originX = originX;
561 public void setOrigin (float originX, float originY) { argument
562 this.originX = originX;
569 originX = 0;
571 originX
[all...]
/external/ImageMagick/Magick++/lib/Magick++/
H A DDrawable.h639 void originX( double originX_ ) function in class:Magick::DrawableCircle
643 double originX( void ) const function in class:Magick::DrawableCircle
885 void originX( double originX_ ) function in class:Magick::DrawableEllipse
889 double originX( void ) const function in class:Magick::DrawableEllipse
/external/deqp/modules/gles31/functional/
H A Des31fShaderImageLoadStoreTests.cpp774 static void readPixelsRGBAInteger32 (const PixelBufferAccess& dst, int originX, int originY, glu::CallLogWrapper& glLog) argument
782 glLog.glReadPixels(originX, originY, dst.getWidth(), dst.getHeight(), GL_RGBA_INTEGER, GL_UNSIGNED_INT, &data[0]);
792 glLog.glReadPixels(originX, originY, dst.getWidth(), dst.getHeight(), GL_RGBA_INTEGER, GL_INT, &data[0]);
/external/libgdx/backends/gdx-backend-moe/libs/
H A Dintel-moe-ios.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE com/ com/intel/ com/intel/moe/ com/intel/moe/ ...

Completed in 325 milliseconds