Searched defs:tileWidth (Results 1 - 9 of 9) sorted by relevance
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
H A D | GaneshContext.cpp | 130 const float tileWidth = renderInfo.tileSize.width(); local 135 int result = ANativeWindow_setBuffersGeometry(anw, (int)tileWidth, 138 renderInfo.textureInfo->m_width = tileWidth; 153 renderTargetDesc.fWidth = TilesManager::tileWidth();
|
H A D | Tile.cpp | 168 if (intersectWithRect(m_x, m_y, TilesManager::tileWidth(), TilesManager::tileHeight(), 268 bool Tile::intersectWithRect(int x, int y, int tileWidth, int tileHeight, argument 273 realTileRect.fLeft = x * tileWidth; 275 realTileRect.fRight = realTileRect.fLeft + tileWidth; 338 const float tileWidth = renderInfo.tileSize.width(); local
|
H A D | TileGrid.cpp | 126 int tileWidth = TilesManager::tileWidth(); local 129 computedArea.setX(area.x() / tileWidth); 131 float right = (area.x() + area.width()) / (float) tileWidth; 313 const float tileWidth = TilesManager::tileWidth() * invScale; local 330 float minTileX = visibleContentArea.x() / tileWidth; 331 float minTileY = visibleContentArea.y() / tileWidth; 332 float maxTileWidth = visibleContentArea.maxX() / tileWidth; 333 float maxTileHeight = visibleContentArea.maxY() / tileWidth; 394 const float tileWidth = TilesManager::tileWidth() / m_scale; local [all...] |
H A D | TilesManager.cpp | 134 tileWidth(), tileHeight()); 150 tileWidth(), tileHeight()); 163 m_tilesTextures.size() * tileWidth() * tileHeight() * 4 / 1024 / 1024); 529 int TilesManager::tileWidth() function in class:WebCore::TilesManager
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | LevelBuilder.java | 120 int width, int height, int tileWidth, int tileHeight, TiledWorld world, 157 width, height, tileWidth, tileHeight); 119 addTileMapLayer(GameObject background, int priority, float scrollSpeed, int width, int height, int tileWidth, int tileHeight, TiledWorld world, int theme) argument
|
H A D | TiledVertexGrid.java | 40 public TiledVertexGrid(Texture texture, int width, int height, int tileWidth, int tileHeight) { argument 42 mTileWidth = tileWidth; 60 final int tileWidth = mTileWidth; 62 final int tilesAcross = width / tileWidth; 67 final int textureTilesAcross = texture.width / tileWidth; 89 final float offsetX = tileX * tileWidth; 96 int textureOffsetX = (tileIndex % textureTilesAcross) * tileWidth; 99 textureOffsetX > texture.width - tileWidth || 107 final float u2 = ((textureOffsetX + tileWidth - GL_MAGIC_OFFSET) * texelWidth); 111 final float[] p1 = { offsetX + tileWidth, offset [all...] |
H A D | CollisionSystem.java | 86 public void initialize(TiledWorld world, int tileWidth, int tileHeight) { argument 89 mTileWidth = tileWidth; 631 public void setup(Vector2 movementDirection, int tileWidth, int tileHeight) { argument 638 mTileWidth = tileWidth;
|
H A D | GameObjectFactory.java | 574 public void spawnFromWorld(TiledWorld world, int tileWidth, int tileHeight) { argument 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/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | LayerTilerChromium.cpp | 409 float tileWidth = static_cast<float>(m_tileSize.width()); local 411 float texTranslateX = texOffset.x() / tileWidth; 413 float texScaleX = tileRect.width() / tileWidth;
|
Completed in 173 milliseconds