Searched defs:tileWidth (Results 1 - 9 of 9) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DGaneshContext.cpp130 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 DTile.cpp168 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 DTileGrid.cpp126 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 DTilesManager.cpp134 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 DLevelBuilder.java120 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 DTiledVertexGrid.java40 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 DCollisionSystem.java86 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 DGameObjectFactory.java574 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 DLayerTilerChromium.cpp409 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