Home
last modified time | relevance | path

Searched refs:tileWidth (Results 1 – 20 of 20) 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/chromium_org/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/chromium/chrome/browser/resources/ntp4/
Dtile_page.js26 var tileWidth = width / tileWidthFraction(numRowTiles);
27 var offsetX = tileWidth * (1 + TILE_SPACING_FRACTION);
28 var interTileSpacing = offsetX - tileWidth;
31 tileWidth: tileWidth,
155 var animatedY = row * (this.heightForWidth(animatedTileValues.tileWidth) +
170 var realY = row * (this.heightForWidth(realTileValues.tileWidth) +
176 tileWrapper.firstChild.setBounds(realTileValues.tileWidth,
/external/chromium_org/chrome/browser/resources/ntp4/
Dtile_page.js339 var tileWidth = width / tileWidthFraction(numRowTiles, tileSpacingFraction);
340 var offsetX = tileWidth * (1 + tileSpacingFraction);
341 var interTileSpacing = offsetX - tileWidth;
344 tileWidth: tileWidth,
843 var rowHeight = this.heightForWidth(realTileValues.tileWidth) +
852 tileWidth: realTileValues.tileWidth, property
909 var animatedY = row * (this.heightForWidth(animatedTileValues.tileWidth) +
914 tile.firstChild.setBounds(layout.tileWidth,
1001 this.layoutValues_.tileWidth);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFETurbulence.cpp270 float tileWidth = paintingData.filterSize.width(); in calculateTurbulenceValueForPoint() local
272 ASSERT(tileWidth > 0 && tileHeight > 0); in calculateTurbulenceValueForPoint()
278 float lowFrequency = floorf(tileWidth * baseFrequencyX) / tileWidth; in calculateTurbulenceValueForPoint()
279 float highFrequency = ceilf(tileWidth * baseFrequencyX) / tileWidth; in calculateTurbulenceValueForPoint()
295 stitchData.width = roundf(tileWidth * baseFrequencyX); in calculateTurbulenceValueForPoint()
/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/skia/src/effects/
DSkPerlinNoiseShader.cpp200 SkScalar tileWidth = SkIntToScalar(fTileSize.width()); in stitch() local
202 SkASSERT(tileWidth > 0 && tileHeight > 0); in stitch()
207 SkScalarMulFloor(tileWidth, fBaseFrequency.fX), tileWidth); in stitch()
209 SkScalarMulCeil(tileWidth, fBaseFrequency.fX), tileWidth); in stitch()
232 SkScalarMulRound(tileWidth, fBaseFrequency.fX); in stitch()
/external/skia/src/effects/
DSkPerlinNoiseShader.cpp200 SkScalar tileWidth = SkIntToScalar(fTileSize.width()); in stitch() local
202 SkASSERT(tileWidth > 0 && tileHeight > 0); in stitch()
207 SkScalarMulFloor(tileWidth, fBaseFrequency.fX), tileWidth); in stitch()
209 SkScalarMulCeil(tileWidth, fBaseFrequency.fX), tileWidth); in stitch()
232 SkScalarMulRound(tileWidth, fBaseFrequency.fX); in stitch()
/external/smack/asmack-master/jingle/
D60-remove-jingle_mediaimpl.patch909 - public static final int tileWidth = 25;
925 - maxI = (int) Math.ceil(area.getWidth() / tileWidth);
926 - maxJ = (int) Math.ceil(area.getHeight() / tileWidth);
928 - tiles = new int[maxI][maxJ][tileWidth * tileWidth];
971 …ufferedImage bufferedImage = capture.getSubimage(i * tileWidth, j * tileWidth, tileWidth, tileWidt…
973 - int pixels[] = new int[tileWidth * tileWidth];
975 …ixelGrabber pg = new PixelGrabber(bufferedImage, 0, 0, tileWidth, tileWidth, pixels, 0, tileWidth);
1625 - private static final int tileWidth = ImageTransmitter.tileWidth;
1728 - //repaint(x * tileWidth, y * tileWidth, tileWidth, tileWidth);
1729 - this.getGraphics().drawImage(bufferedImage, tileWidth * x, tileWidth * y, this);
[all …]
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/photo/
Dmosaic_mode.js1612 var tileWidth = tileContentWidth[t] + Mosaic.Layout.SPACING;
1613 this.tiles_[t].layout(tileLeft, top, tileWidth, height);
1614 tileLeft += tileWidth;
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller.mm194 CGFloat tileWidth = floor(std::min(width, [image size].width));
199 tileWidth,
203 x += tileWidth;
/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()
/external/chromium_org/third_party/mesa/src/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()