Home
last modified time | relevance | path

Searched refs:offsetX (Results 1 – 25 of 42) sorted by relevance

12

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DTextureAtlas.java85 public float offsetX; field in TextureAtlas.TextureAtlasData.Region
176 region.offsetX = Integer.parseInt(tuple[0]); in TextureAtlasData()
263 atlasRegion.offsetX = region.offsetX; in load()
469 public float offsetX; field in TextureAtlas.AtlasRegion
508 offsetX = region.offsetX; in AtlasRegion()
522 if (x) offsetX = originalWidth - offsetX - getRotatedPackedWidth(); in flip()
551 originalOffsetX = region.offsetX; in AtlasSprite()
559 super.setBounds(region.offsetX, region.offsetY, height, width); in AtlasSprite()
561 super.setBounds(region.offsetX, region.offsetY, width, height); in AtlasSprite()
574 super.setPosition(x + region.offsetX, y + region.offsetY); in setPosition()
[all …]
DBitmapFont.java676 float offsetX = 0, offsetY = 0; in setGlyphRegion() local
684 offsetX = atlasRegion.offsetX; in setGlyphRegion()
694 if (offsetX > 0) { in setGlyphRegion()
695 x -= offsetX; in setGlyphRegion()
701 x2 -= offsetX; in setGlyphRegion()
/external/replicaisland/tools/
DExtractPoints.js221 var offsetX = Math.floor(x % tilesPerRow) * tileSizeX; variable
227 lineArray[y] = Array(offsetX + edge.startX, offsetY + edge.startY);
245 tileCenterArray[0] = new Array(offsetX + tile.centerX - 1,
247 tileCenterArray[1] = new Array(offsetX + tile.centerX - 1,
249 tileCenterArray[2] = new Array(offsetX + tile.centerX + 1,
251 tileCenterArray[3] = new Array(offsetX + tile.centerX + 1,
253 tileCenterArray[4] = new Array(offsetX + normalX - 1,
255 tileCenterArray[5] = new Array(offsetX + normalX + 1,
257 tileCenterArray[6] = new Array(offsetX + tile.centerX,
264 centerArray[0] = new Array(offsetX + edge.centerX - 1,
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/tiles/
DStaticTiledMapTile.java34 private float offsetX; field in StaticTiledMapTile
78 return offsetX; in getOffsetX()
82 public void setOffsetX (float offsetX) { in setOffsetX() argument
83 this.offsetX = offsetX; in setOffsetX()
DAnimatedTiledMapTile.java98 public void setOffsetX (float offsetX) { in setOffsetX() argument
/external/skia/gm/
Dlcdoverlap.cpp80 SkScalar offsetX = kWidth / 4.0f; in onDraw() local
82 drawTestCase(canvas, offsetX, offsetY, SkXfermode::kSrc_Mode, SkXfermode::kSrc_Mode); in onDraw()
83 drawTestCase(canvas, 3 * offsetX, offsetY, SkXfermode::kSrcOver_Mode, in onDraw()
85 drawTestCase(canvas, offsetX, 3 * offsetY, SkXfermode::kHardLight_Mode, in onDraw()
87 drawTestCase(canvas, 3 * offsetX, 3 * offsetY, SkXfermode::kSrcOver_Mode, in onDraw()
Dpictureshadertile.cpp21 SkScalar offsetX, offsetY; member
113 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, in onOnceBeforeDraw()
/external/skia/src/core/
DSkAntiRun.h49 U8CPU maxValue, int offsetX) { in add() argument
53 SkASSERT(fRuns[offsetX] >= 0); in add()
55 int16_t* runs = fRuns + offsetX; in add()
56 uint8_t* alpha = fAlpha + offsetX; in add()
58 x -= offsetX; in add()
/external/skia/tests/
DDrawTextTest.cpp82 for (float offsetX = 0.0f; offsetX < 1.0f; offsetX += (1.0f / 16.0f)) { in DEF_TEST() local
83 SkPoint point = SkPoint::Make(25.0f + offsetX, in DEF_TEST()
/external/replicaisland/src/com/replica/replicaisland/
DAABoxCollisionVolume.java31 public AABoxCollisionVolume(float offsetX, float offsetY, float width, float height) { in AABoxCollisionVolume() argument
33 mBottomLeft = new Vector2(offsetX, offsetY); in AABoxCollisionVolume()
37 public AABoxCollisionVolume(float offsetX, float offsetY, float width, float height, in AABoxCollisionVolume() argument
40 mBottomLeft = new Vector2(offsetX, offsetY); in AABoxCollisionVolume()
DLaunchProjectileComponent.java134 float offsetX = mOffsetX; in launch() local
138 offsetX = parentObject.width - mOffsetX; in launch()
146 final float x = parentObject.getPosition().x + offsetX; in launch()
195 public final void setOffsetX(float offsetX) { in setOffsetX() argument
196 mOffsetX = offsetX; in setOffsetX()
DTiledVertexGrid.java89 final float offsetX = tileX * tileWidth; in generateGrid() local
110 final float[] p0 = { offsetX, offsetY, 0.0f }; in generateGrid()
111 final float[] p1 = { offsetX + tileWidth, offsetY, 0.0f }; in generateGrid()
112 final float[] p2 = { offsetX, offsetY + tileHeight, 0.0f }; in generateGrid()
113 final float[] p3 = { offsetX + tileWidth, offsetY + tileHeight, 0.0f }; in generateGrid()
DMovementComponent.java44 float offsetX = sInterpolator.interpolate(timeDelta); in update() local
45 float newX = object.getPosition().x + offsetX; in update()
DLauncherComponent.java145 …public void setLaunchEffect(GameObjectFactory.GameObjectType effectType, float offsetX, float offs… in setLaunchEffect() argument
147 mLaunchEffectOffsetX = offsetX; in setLaunchEffect()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
DGroup.java86 float offsetX = x, offsetY = y; in drawChildren() local
94 child.x = cx + offsetX; in drawChildren()
101 x = offsetX; in drawChildren()
114 float offsetX = x, offsetY = y; in drawChildren() local
121 child.x = cx + offsetX; in drawChildren()
127 x = offsetX; in drawChildren()
161 float offsetX = x, offsetY = y; in drawDebugChildren() local
169 child.x = cx + offsetX; in drawDebugChildren()
175 x = offsetX; in drawDebugChildren()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
DButton.java214 float offsetX = 0, offsetY = 0; in draw() local
216 offsetX = style.pressedOffsetX; in draw()
219 offsetX = style.checkedOffsetX; in draw()
222 offsetX = style.unpressedOffsetX; in draw()
228 children.get(i).moveBy(offsetX, offsetY); in draw()
231 children.get(i).moveBy(-offsetX, -offsetY); in draw()
DTooltip.java102 float offsetX = manager.offsetX, offsetY = manager.offsetY, dist = manager.edgeDistance; in setContainerPosition() local
103 …Vector2 point = actor.localToStageCoordinates(tmp.set(x + offsetX, y - offsetY - container.getHeig… in setContainerPosition()
104 if (point.y < dist) point = actor.localToStageCoordinates(tmp.set(x + offsetX, y + offsetY)); in setContainerPosition()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp679 for (deUint32 offsetX = offset.width; offsetX < offset.width + extent.width; ++offsetX) in iterate() local
681 … const tcu::UVec4 referenceValue = tcu::UVec4(offsetX % 127u, offsetY % 127u, offsetZ % 127u, 1u); in iterate()
682 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
697 for (deUint32 offsetX = offset.width; offsetX < offset.width + extent.width; ++offsetX) in iterate() local
700 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
719 for (deUint32 offsetX = 0u; offsetX < mipExtent.width; ++offsetX) in iterate() local
721 const tcu::UVec4 referenceValue = tcu::UVec4(offsetX % 127u, offsetY % 127u, offsetZ % 127u, 1u); in iterate()
722 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
DTexturePacker.java343 …writer.write(" offset: " + rect.offsetX + ", " + (rect.originalHeight - rect.regionHeight - rect.… in writeRect()
384 public int offsetX, offsetY, originalWidth, originalHeight; field in TexturePacker.Alias
391 offsetX = rect.offsetX; in Alias()
402 rect.offsetX = offsetX; in apply()
416 public int offsetX, offsetY, regionWidth, regionHeight, originalWidth, originalHeight; field in TexturePacker.Rect
434 offsetX = left; in Rect()
479 offsetX = rect.offsetX; in set()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dintegral.hpp73 int offsetX = 0; in horizontal_pass() local
77 const int curElemOffs = offsetX + threadIdx.x; in horizontal_pass()
89 offsetX += NUM_SCAN_THREADS; in horizontal_pass()
116 int offsetX = 0; in horizontal_pass() local
120 const int curElemOffs = offsetX + threadIdx.x; in horizontal_pass()
132 offsetX += NUM_SCAN_THREADS; in horizontal_pass()
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/
DAtlasTmxMapLoader.java292 int offsetX = 0; in loadTileset() local
310 offsetX = offset.getIntAttribute("x", 0); in loadTileset()
326 offsetX = offset.getIntAttribute("x", 0); in loadTileset()
378 tile.setOffsetX(offsetX); in loadTileset()
399 tile.setOffsetX(offsetX); in loadTileset()
DTmxMapLoader.java323 int offsetX = 0; in loadTileSet() local
341 offsetX = offset.getIntAttribute("x", 0); in loadTileSet()
357 offsetX = offset.getIntAttribute("x", 0); in loadTileSet()
394 tile.setOffsetX(offsetX); in loadTileSet()
412 tile.setOffsetX(offsetX); in loadTileSet()
DTiledMapTile.java51 public void setOffsetX(float offsetX); in setOffsetX() argument
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/renderers/
DIsometricStaggeredTiledMapRenderer.java69 float offsetX = (y % 2 == 1) ? layerTileWidth50 : 0; in renderTileLayer() local
81 float x1 = x * layerTileWidth - offsetX + tile.getOffsetX() * unitScale; in renderTileLayer()
/external/mesa3d/include/VG/
Dvgext.h144 …cFilterKHR(VGImage dst,VGImage src,VGImage blur,VGfloat strength,VGfloat offsetX,VGfloat offsetY,V…
151 …RKHRPROC) (VGImage dst,VGImage src,VGImage blur,VGfloat strength,VGfloat offsetX,VGfloat offsetY,V…

12