/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/libgdx/gdx/src/com/badlogic/gdx/math/ |
Polygon.java | 24 private float originX, originY;
66 final float originY = this.originY;
76 float y = localVertices[i + 1] - originY;
92 worldVertices[i + 1] = positionY + y + originY;
98 public void setOrigin (float originX, float originY) {
100 this.originY = originY;
235 return originY;
|
Polyline.java | 23 private float originX, originY; 58 final float originY = this.originY; 68 float y = localVertices[i + 1] - originY; 84 worldVertices[i + 1] = positionY + y + originY; 132 return originY; 147 public void setOrigin (float originX, float originY) { 149 this.originY = originY;
|
/external/libgdx/gdx/src/com/badlogic/gdx/maps/objects/ |
TextureMapObject.java | 28 private float originY = 0.0f; 66 return originY; 71 this.originY = y;
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ |
Actor.java | 68 float originX, originY;
553 return originY;
556 public void setOriginY (float originY) {
557 this.originY = originY;
561 public void setOrigin (float originX, float originY) {
563 this.originY = originY;
576 originY = 0;
578 originY = height; [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 | 36 const int originY = 100; 43 SkIRect b = {originX, originY, originX + width, originY + height};
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
DrawingPreviewPlacerView.java | 80 final int originY = CoordinateUtils.y(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;
60 originY = sprite.originY;
168 public void setOrigin (float originX, float originY) {
170 this.originY = originY;
210 final float originY = this.originY;
218 final float worldOriginY = y + originY;
227 fy = (regionVertices[i + 1] * sY - originY) * scaleY; [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
84 * @param originY the y-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;
121 originY = sprite.originY;
319 public void setOrigin (float originX, float originY) {
321 this.originY = originY;
328 this.originY = height / 2;
415 float localY = -originY;
552 return originY;
|
SpriteBatch.java | 229 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX,
242 final float worldOriginY = y + originY;
244 float fy = -originY;
246 float fy2 = height - originY;
640 public void draw (TextureRegion region, float x, float y, float originX, float originY, float width, float height,
654 final float worldOriginY = y + originY;
656 float fy = -originY;
658 float fy2 = height - originY;
760 public void draw (TextureRegion region, float x, float y, float originX, float originY, float width, float height,
774 final float worldOriginY = y + originY;
[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,
317 final float worldOriginY = y + originY;
326 fy = (regionVertices[i + 1] * sY - originY) * scaleY;
363 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX,
387 final float worldOriginY = y + originY;
389 float fy = -originY;
391 float fy2 = height - originY;
[all...] |
SpriteCache.java | 497 public void add (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX,
502 final float worldOriginY = y + originY;
504 float fy = -originY;
506 float fy2 = height - originY;
702 public void add (TextureRegion region, float x, float y, float originX, float originY, float width, float height,
707 final float worldOriginY = y + originY;
709 float fy = -originY;
711 float fy2 = height - originY;
|
/external/replicaisland/src/com/replica/replicaisland/ |
ScrollerComponent.java | 108 float originY = camera.getFocusPositionY() - mHalfHeight; 111 originY *= mSpeedY; 113 background.setScrollOrigin(originX, originY);
|
TiledVertexGrid.java | 163 int originY = (int) (y - scrollOriginY); 201 originY,
|
/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,
120 final float worldOriginY = y + originY;
144 fy1 -= originY;
146 fy2 -= originY;
148 fy3 -= originY;
190 fy1 = -originY;
192 fy2 = height - originY;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineInputAssemblyTests.cpp | 295 const float originY = -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) * primitiveSizeY, 0.0f, 1.0f) [all...] |
/external/skia/src/core/ |
SkReadBuffer.cpp | 309 int originY = 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 | 55 uint32_t originY;
|
/frameworks/native/libs/input/ |
Input.cpp | 369 float originX, float originY) { 376 y -= originY; 404 float originX, originY; 405 transformPoint(matrix, 0, 0, &originX, &originY); 419 transformAngle(matrix, orientation, originX, originY));
|
/external/skia/gm/ |
multipicturedraw.cpp | 28 // Create a hexagon centered at (originX, originY) 29 static SkPath make_hex_path(SkScalar originX, SkScalar originY) { 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) { 145 tri.moveTo(originX, originY);
|