/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
TransformDrawable.java | 8 public void draw (Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX,
|
TextureRegionDrawable.java | 48 public void draw (Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX,
50 batch.draw(region, x, y, originX, originY, width, height, scaleX, scaleY, rotation);
|
SpriteDrawable.java | 56 public void draw (Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX,
63 sprite.setOrigin(originX, originY);
|
/external/skia/gm/ |
glyph_pos_align.cpp | 53 float originX; 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];
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
Polygon.java | 24 private float originX, originY;
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) {
99 this.originX = originX;
230 return originX;
|
Polyline.java | 23 private float originX, originY; 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) { 148 this.originX = originX;
|
/external/libgdx/gdx/src/com/badlogic/gdx/maps/objects/ |
TextureMapObject.java | 27 private float originX = 0.0f; 56 return originX; 61 this.originX = x;
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ |
Actor.java | 68 float originX, originY;
545 return originX;
548 public void setOriginX (float originX) {
549 this.originX = originX;
561 public void setOrigin (float originX, float originY) {
562 this.originX = originX;
569 originX = 0;
571 originX = width; [all...] |
Group.java | 184 float originX = this.originX, originY = this.originY; 185 worldTransform.setToTrnRotScl(x + originX, y + originY, rotation, scaleX, scaleY); 186 if (originX != 0 || originY != 0) worldTransform.translate(-originX, -originY);
|
/external/skia/tests/ |
BlitMaskClip.cpp | 35 const int originX = 100; 43 SkIRect b = {originX, originY, originX + width, originY + height};
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
DrawingPreviewPlacerView.java | 79 final int originX = CoordinateUtils.x(mKeyboardViewOrigin); 81 canvas.translate(originX, originY); 86 canvas.translate(-originX, -originY);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
PolygonSprite.java | 32 private float originX, originY;
59 originX = sprite.originX;
168 public void setOrigin (float originX, float originY) {
169 this.originX = originX;
209 final float originX = this.originX;
217 final float worldOriginX = x + originX;
226 fx = (regionVertices[i] * sX - originX) * scaleX; [all...] |
Batch.java | 77 * 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,
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, originY. Rotation specifies the angle of counter clockwise rotation of the rectangle around [all...] |
CpuSpriteBatch.java | 151 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX, 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, 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, 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, float originY, float width, float height [all...] |
Sprite.java | 43 private float originX, originY;
120 originX = sprite.originX;
319 public void setOrigin (float originX, float originY) {
320 this.originX = originX;
327 this.originX = width / 2;
414 float localX = -originX;
546 return originX;
|
SpriteBatch.java | 229 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX,
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,
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,
773 final float worldOriginX = x + originX;
[all...] |
PolygonSpriteBatch.java | 284 * 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,
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,
386 final float worldOriginX = x + originX;
388 float fx = -originX;
390 float fx2 = width - originX;
[all...] |
SpriteCache.java | 497 public void add (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX,
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,
706 final float worldOriginX = x + originX;
708 float fx = -originX;
710 float fx2 = width - originX;
|
/external/replicaisland/src/com/replica/replicaisland/ |
ScrollerComponent.java | 107 float originX = camera.getFocusPositionX() - mHalfWidth; 110 originX *= mSpeedX; 113 background.setScrollOrigin(originX, originY);
|
TiledVertexGrid.java | 162 int originX = (int) (x - scrollOriginX); 200 originX,
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
PolygonRegionTest.java | 111 public void draw (PolygonRegion region, float x, float y, float originX, float originY, float width, float height,
119 final float worldOriginX = x + originX;
143 fx1 -= originX;
145 fx2 -= originX;
147 fx3 -= originX;
189 fx1 = -originX;
191 fx2 = width - originX;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineInputAssemblyTests.cpp | 294 const float originX = -1.0f + border; 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 + float((primitiveNdx * 2 + vertexNdx) / 2) * primitiveSizeX, originY + float(vertexNdx % 2) * pri (…) [all...] |
/external/skia/src/core/ |
SkReadBuffer.cpp | 308 int originX = this->read32(); 310 if (originX < 0 || originY < 0) { 315 const SkIRect subset = SkIRect::MakeXYWH(originX, originY, width, height);
|
/frameworks/rs/driver/runtime/ |
rs_structs.h | 54 uint32_t originX;
|
/frameworks/native/libs/input/ |
Input.cpp | 369 float originX, float originY) { 375 x -= originX; 404 float originX, originY; 405 transformPoint(matrix, 0, 0, &originX, &originY); 419 transformAngle(matrix, orientation, originX, originY));
|