Home
last modified time | relevance | path

Searched refs:offsetY (Results 1 – 25 of 35) sorted by relevance

12

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DTextureAtlas.java86 public float offsetY; field in TextureAtlas.TextureAtlasData.Region
177 region.offsetY = Integer.parseInt(tuple[1]); in TextureAtlasData()
264 atlasRegion.offsetY = region.offsetY; in load()
473 public float offsetY; field in TextureAtlas.AtlasRegion
509 offsetY = region.offsetY; in AtlasRegion()
523 if (y) offsetY = originalHeight - offsetY - getRotatedPackedHeight(); in flip()
552 originalOffsetY = region.offsetY; 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
685 offsetY = atlasRegion.originalHeight - atlasRegion.packedHeight - atlasRegion.offsetY; in setGlyphRegion()
707 if (offsetY > 0) { in setGlyphRegion()
708 y -= offsetY; in setGlyphRegion()
713 y2 -= offsetY; in setGlyphRegion()
/external/replicaisland/tools/
DExtractPoints.js222 var offsetY = Math.floor(x / tilesPerRow) * tileSizeY; variable
227 lineArray[y] = Array(offsetX + edge.startX, offsetY + edge.startY);
246 offsetY + tile.centerY - 1);
248 offsetY + tile.centerY + 1);
250 offsetY + tile.centerY + 1);
252 offsetY + tile.centerY - 1);
254 offsetY + normalY - 1);
256 offsetY + normalY + 1);
258 offsetY + tile.centerY);
265 offsetY + edge.centerY - 1);
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/tiles/
DStaticTiledMapTile.java36 private float offsetY; field in StaticTiledMapTile
88 return offsetY; in getOffsetY()
92 public void setOffsetY (float offsetY) { in setOffsetY() argument
93 this.offsetY = offsetY; in setOffsetY()
DAnimatedTiledMapTile.java108 public void setOffsetY (float offsetY) { in setOffsetY() argument
/external/skia/gm/
Dlcdoverlap.cpp81 SkScalar offsetY = kHeight / 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
114 tiles[i].offsetY * kPictureSize); in onOnceBeforeDraw()
/external/skia/tests/
DDrawTextTest.cpp81 for (float offsetY = 0.0f; offsetY < 1.0f; offsetY += (1.0f / 16.0f)) { in DEF_TEST() local
84 25.0f + offsetY); 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.java135 float offsetY = mOffsetY; in launch() local
143 offsetY = parentObject.height - mOffsetY; in launch()
147 final float y = parentObject.getPosition().y + offsetY; in launch()
199 public final void setOffsetY(float offsetY) { in setOffsetY() argument
200 mOffsetY = offsetY; in setOffsetY()
DTiledVertexGrid.java90 final float offsetY = tileY * tileHeight; 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.java50 float offsetY = sInterpolator.interpolate(timeDelta); in update() local
51 float newY = object.getPosition().y + offsetY; in update()
DLauncherComponent.java145 …c void setLaunchEffect(GameObjectFactory.GameObjectType effectType, float offsetX, float offsetY) { in setLaunchEffect() argument
148 mLaunchEffectOffsetY = offsetY; in setLaunchEffect()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
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()
DButton.java214 float offsetX = 0, offsetY = 0; in draw() local
217 offsetY = style.pressedOffsetY; in draw()
220 offsetY = style.checkedOffsetY; in draw()
223 offsetY = style.unpressedOffsetY; in draw()
228 children.get(i).moveBy(offsetX, offsetY); in draw()
231 children.get(i).moveBy(-offsetX, -offsetY); in draw()
DTextArea.java217 float offsetY = 0; in drawSelection() local
234 …selection.draw(batch, x + selectionX + fontOffset, y - textHeight - font.getDescent() - offsetY, s… in drawSelection()
238 offsetY += font.getLineHeight(); in drawSelection()
245 float offsetY = 0; in drawText() local
247 …font.draw(batch, displayText, x, y + offsetY, linesBreak.items[i], linesBreak.items[i + 1], 0, Ali… in drawText()
248 offsetY -= font.getLineHeight(); in drawText()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
DGroup.java86 float offsetX = x, offsetY = y; in drawChildren() local
95 child.y = cy + offsetY; in drawChildren()
102 y = offsetY; in drawChildren()
114 float offsetX = x, offsetY = y; in drawChildren() local
122 child.y = cy + offsetY; in drawChildren()
128 y = offsetY; in drawChildren()
161 float offsetX = x, offsetY = y; in drawDebugChildren() local
170 child.y = cy + offsetY; in drawDebugChildren()
176 y = offsetY; in drawDebugChildren()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp678 for (deUint32 offsetY = offset.height; offsetY < offset.height + extent.height; ++offsetY) 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()
696 for (deUint32 offsetY = offset.height; offsetY < offset.height + extent.height; ++offsetY) in iterate() local
700 const tcu::UVec4 outputValue = pixelBuffer.getPixelUint(offsetX, offsetY, offsetZ); in iterate()
718 for (deUint32 offsetY = 0u; offsetY < mipExtent.height; ++offsetY) 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/gdx/src/com/badlogic/gdx/maps/tiled/
DTmxMapLoader.java324 int offsetY = 0; in loadTileSet() local
342 offsetY = offset.getIntAttribute("y", 0); in loadTileSet()
358 offsetY = offset.getIntAttribute("y", 0); in loadTileSet()
395 tile.setOffsetY(flipY ? -offsetY : offsetY); in loadTileSet()
413 tile.setOffsetY(flipY ? -offsetY : offsetY); in loadTileSet()
DAtlasTmxMapLoader.java293 int offsetY = 0; in loadTileset() local
311 offsetY = offset.getIntAttribute("y", 0); in loadTileset()
327 offsetY = offset.getIntAttribute("y", 0); in loadTileset()
379 tile.setOffsetY(flipY ? -offsetY : offsetY); in loadTileset()
400 tile.setOffsetY(flipY ? -offsetY : offsetY); in loadTileset()
DTiledMapTile.java57 public void setOffsetY(float offsetY); in setOffsetY() argument
/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
DShadowUtil.java299 float offsetX, offsetY, offsetZ; in updateShadowCamera() local
304 offsetY = -0.5f * (splitMax.y + splitMin.y) * scaleY; in updateShadowCamera()
309 0f, scaleY, 0f, offsetY, in updateShadowCamera()
460 float offsetX, offsetY, offsetZ; in updateShadowCamera() local
466 offsetY = -0.5f * (cropMax.y + cropMin.y) * scaleY; in updateShadowCamera()
474 0f, scaleY, 0f, offsetY, in updateShadowCamera()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
DTexturePacker.java343 …offset: " + rect.offsetX + ", " + (rect.originalHeight - rect.regionHeight - rect.offsetY) + "\n"); in writeRect()
384 public int offsetX, offsetY, originalWidth, originalHeight; field in TexturePacker.Alias
392 offsetY = rect.offsetY; in Alias()
403 rect.offsetY = offsetY; in apply()
416 public int offsetX, offsetY, regionWidth, regionHeight, originalWidth, originalHeight; field in TexturePacker.Rect
435 offsetY = top; in Rect()
480 offsetY = rect.offsetY; in set()
/external/mesa3d/include/VG/
Dvgext.h144 …ge dst,VGImage src,VGImage blur,VGfloat strength,VGfloat offsetX,VGfloat offsetY,VGbitfield filter…
151 …ge dst,VGImage src,VGImage blur,VGfloat strength,VGfloat offsetX,VGfloat offsetY,VGbitfield filter…
/external/deqp/modules/gles2/functional/
Des2fTextureCompletenessTests.cpp157 int offsetY = random.getInt(0, m_renderCtx.getRenderTarget().getHeight() - viewportHeight); in iterate() local
161 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
165 glu::readPixels (m_renderCtx, offsetX, offsetY, renderedFrame.getAccess()); in iterate()
210 int offsetY = random.getInt(0, de::max(0,m_renderCtx.getRenderTarget().getHeight() - 64)); in iterate() local
218 glViewport (offsetX, offsetY, viewportWidth, viewportHeight); in iterate()
221 glu::readPixels (m_renderCtx, offsetX, offsetY, renderedFrame.getAccess()); in iterate()

12