Home
last modified time | relevance | path

Searched refs:tileHeight (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
43 mTileHeight = tileHeight; in TiledVertexGrid()
61 final int tileHeight = mTileHeight; in generateGrid() local
63 final int tilesDown = height / tileHeight; in generateGrid()
68 final int textureTilesDown = texture.height / tileHeight; in generateGrid()
90 final float offsetY = tileY * tileHeight; in generateGrid()
97 int textureOffsetY = (tileIndex / textureTilesAcross) * tileHeight; in generateGrid()
101 textureOffsetY > texture.height - tileHeight) { in generateGrid()
108 … final float v2 = ((textureOffsetY + tileHeight - GL_MAGIC_OFFSET) * texelHeight); in generateGrid()
112 final float[] p2 = { offsetX, offsetY + tileHeight, 0.0f }; in generateGrid()
[all …]
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
90 mTileHeight = tileHeight; in initialize()
631 public void setup(Vector2 movementDirection, int tileWidth, int tileHeight) { in setup() argument
639 mTileHeight = tileHeight; in setup()
DGameObjectFactory.java574 public void spawnFromWorld(TiledWorld world, int tileWidth, int tileHeight) {
576 final float worldHeight = world.getHeight() * tileHeight;
586 final float worldY = worldHeight - ((y + 1) * tileHeight);
589 if (object.height < tileHeight) {
592 object.getPosition().y += (tileHeight - object.height) / 2.0f;
/external/dng_sdk/source/
Ddng_tile_iterator.cpp125 int32 tileHeight = tile.b - vOffset; in Initialize() local
128 fTileHeight = tileHeight; in Initialize()
136 fTopPage = (fArea.t - vOffset ) / tileHeight; in Initialize()
137 fBottomPage = (fArea.b - vOffset - 1) / tileHeight; in Initialize()
142 fTileTop = fVerticalPage * tileHeight + vOffset; in Initialize()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c87 unsigned tileWidth, tileHeight; in get_texture_image_size() local
89 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_size()
90 tileHeight--; in get_texture_image_size()
92 height = (height + tileHeight) & ~tileHeight; in get_texture_image_size()
108 unsigned tileWidth, tileHeight; in get_texture_image_row_stride() local
109 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_row_stride()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c87 unsigned tileWidth, tileHeight; in get_texture_image_size() local
89 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_size()
90 tileHeight--; in get_texture_image_size()
92 height = (height + tileHeight) & ~tileHeight; in get_texture_image_size()
108 unsigned tileWidth, tileHeight; in get_texture_image_row_stride() local
109 get_tile_size(format, &tileWidth, &tileHeight); in get_texture_image_row_stride()
/external/mesa3d/src/amd/addrlib/core/
Daddrlib.cpp3932 UINT_32 tileHeight = 0; in ComputePrtInfo() local
3941 tileHeight = 256; in ComputePrtInfo()
3946 tileHeight = 128; in ComputePrtInfo()
3951 tileHeight = 128; in ComputePrtInfo()
3957 tileHeight = 256; in ComputePrtInfo()
3962 tileHeight = 64; in ComputePrtInfo()
3969 tileHeight = 256; in ComputePrtInfo()
3974 tileHeight = 64; in ComputePrtInfo()
3985 tileHeight = tileHeight / 2; in ComputePrtInfo()
3990 tileHeight = tileHeight / 2; in ComputePrtInfo()
[all …]
/external/skia/src/shaders/
DSkPerlinNoiseShader.cpp241 SkScalar tileHeight = SkIntToScalar(fTileSize.height()); in stitch() local
242 SkASSERT(tileWidth > 0 && tileHeight > 0); in stitch()
259 SkScalarFloorToScalar(tileHeight * fBaseFrequency.fY) / tileHeight; in stitch()
261 SkScalarCeilToScalar(tileHeight * fBaseFrequency.fY) / tileHeight; in stitch()
273 SkScalarRoundToInt(tileHeight * fBaseFrequency.fY); in stitch()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c1973 const GLint tileHeight = MIN2(tileSize, height - j); in tiled_draw_pixels() local
1978 _mesa_meta_DrawPixels(ctx, tileX, tileY, tileWidth, tileHeight, in tiled_draw_pixels()