Home
last modified time | relevance | path

Searched refs:tileWidth (Results 1 – 10 of 10) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DTiledVertexGrid.java40 public TiledVertexGrid(Texture texture, int width, int height, int tileWidth, int tileHeight) { in TiledVertexGrid() argument
42 mTileWidth = tileWidth; in TiledVertexGrid()
60 final int tileWidth = mTileWidth; in generateGrid() local
62 final int tilesAcross = width / tileWidth; in generateGrid()
67 final int textureTilesAcross = texture.width / tileWidth; in generateGrid()
89 final float offsetX = tileX * tileWidth; in generateGrid()
96 int textureOffsetX = (tileIndex % textureTilesAcross) * tileWidth; in generateGrid()
99 textureOffsetX > texture.width - tileWidth || in generateGrid()
107 final float u2 = ((textureOffsetX + tileWidth - GL_MAGIC_OFFSET) * texelWidth); in generateGrid()
111 final float[] p1 = { offsetX + tileWidth, offsetY, 0.0f }; in generateGrid()
[all …]
DHotSpotSystem.java146 final float tileWidth = level.getLevelWidth() / mWorld.getWidth(); in getTileCenterWorldPositionX() local
147 worldX = (tileX * tileWidth) + (tileWidth / 2.0f); in getTileCenterWorldPositionX()
DLevelBuilder.java120 int width, int height, int tileWidth, int tileHeight, TiledWorld world, in addTileMapLayer() argument
157 width, height, tileWidth, tileHeight); in addTileMapLayer()
DCollisionSystem.java86 public void initialize(TiledWorld world, int tileWidth, int tileHeight) { in initialize() argument
89 mTileWidth = tileWidth; in initialize()
631 public void setup(Vector2 movementDirection, int tileWidth, int tileHeight) { in setup() argument
638 mTileWidth = tileWidth; in setup()
DGameObjectFactory.java574 public void spawnFromWorld(TiledWorld world, int tileWidth, int tileHeight) {
585 final float worldX = x * tileWidth;
594 if (object.width < tileWidth) {
595 object.getPosition().x += (tileWidth - object.width) / 2.0f;
596 } else if (object.width > tileWidth) {
597 object.getPosition().x -= (object.width - tileWidth) / 2.0f;
/external/v8/test/mjsunit/regress/
Dregress-201590.js40 tileWidth = 128 * 0.25 * this.scale,
44 ((y * tileWidth ) * gdpRatio) + ((x * tileWidth ) * gdpRatio);
47 xPos = xPos - Math.round(((tileWidth) * gdpRatio)) +
48 this.mapHeight * Math.round(((tileWidth) * gdpRatio));
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c88 unsigned tileWidth, tileHeight; in get_texture_image_size() local
90 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_size()
109 unsigned tileWidth, tileHeight; in get_texture_image_row_stride() local
110 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_row_stride()
111 row_align = tileWidth * _mesa_get_format_bytes(format) - 1; in get_texture_image_row_stride()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c88 unsigned tileWidth, tileHeight; in get_texture_image_size() local
90 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_size()
109 unsigned tileWidth, tileHeight; in get_texture_image_row_stride() local
110 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_row_stride()
111 row_align = tileWidth * _mesa_get_format_bytes(format) - 1; in get_texture_image_row_stride()
/external/skia/src/effects/
DSkPerlinNoiseShader.cpp204 SkScalar tileWidth = SkIntToScalar(fTileSize.width()); in stitch() local
206 SkASSERT(tileWidth > 0 && tileHeight > 0); in stitch()
211 SkScalarFloorToScalar(tileWidth * fBaseFrequency.fX) / tileWidth; in stitch()
213 SkScalarCeilToScalar(tileWidth * fBaseFrequency.fX) / tileWidth; in stitch()
234 SkScalarRoundToInt(tileWidth * fBaseFrequency.fX); in stitch()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c2230 const GLint tileWidth = MIN2(tileSize, width - i); in tiled_draw_pixels() local
2241 _mesa_meta_DrawPixels(ctx, tileX, tileY, tileWidth, tileHeight, in tiled_draw_pixels()