/external/replicaisland/src/com/replica/replicaisland/ |
H A D | TiledVertexGrid.java | 40 public TiledVertexGrid(Texture texture, int width, int height, int tileWidth, int tileHeight) { argument 43 mTileHeight = tileHeight; 61 final int tileHeight = mTileHeight; 63 final int tilesDown = height / tileHeight; 68 final int textureTilesDown = texture.height / tileHeight; 90 final float offsetY = tileY * tileHeight; 97 int textureOffsetY = (tileIndex / textureTilesAcross) * tileHeight; 101 textureOffsetY > texture.height - tileHeight) { 108 final float v2 = ((textureOffsetY + tileHeight - GL_MAGIC_OFFSET) * texelHeight); 112 final float[] p2 = { offsetX, offsetY + tileHeight, 0. [all...] |
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 | CollisionSystem.java | 86 public void initialize(TiledWorld world, int tileWidth, int tileHeight) { argument 90 mTileHeight = tileHeight; 631 public void setup(Vector2 movementDirection, int tileWidth, int tileHeight) { argument 639 mTileHeight = tileHeight;
|
H A D | GameObjectFactory.java | 574 public void spawnFromWorld(TiledWorld world, int tileWidth, int tileHeight) { argument 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/webkit/Source/WebCore/platform/graphics/android/ |
H A D | GaneshContext.cpp | 161 const float tileHeight = renderInfo.tileSize.height(); local 166 (int)tileHeight, WINDOW_FORMAT_RGBA_8888); 169 renderInfo.textureInfo->m_height = tileHeight; 186 surfaceDesc.fHeight = TilesManager::tileHeight(); 212 const float tileHeight = renderInfo.tileSize.height(); local 219 || renderInfo.textureInfo->m_height != tileHeight) { 221 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tileWidth, tileHeight, 224 renderInfo.textureInfo->m_height = tileHeight; 240 TilesManager::tileHeight()); 257 surfaceDesc.fHeight = TilesManager::tileHeight(); [all...] |
H A D | BaseTile.cpp | 191 int tileHeight = TilesManager::instance()->tileHeight(); local 194 tileHeight = TilesManager::instance()->layerTileHeight(); 200 if (intersectWithRect(m_x, m_y, tileWidth, tileHeight, 316 bool BaseTile::intersectWithRect(int x, int y, int tileWidth, int tileHeight, argument 322 realTileRect.fTop = y * tileHeight; 324 realTileRect.fBottom = realTileRect.fTop + tileHeight; 396 const float tileHeight = renderInfo.tileSize.height(); local 404 || textureInfo->m_height != tileHeight) { 417 bool intersect = intersectWithRect(x, y, tileWidth, tileHeight, [all...] |
H A D | TiledPage.cpp | 129 const float invTileContentHeight = m_scale / TilesManager::tileHeight(); 264 float maxBaseY = m_glWebViewState->baseContentHeight() * m_scale / TilesManager::tileHeight(); 369 const float tileHeight = TilesManager::tileHeight() * m_invScale; local 377 rect.fTop = tile.y() * tileHeight; 379 rect.fBottom = rect.fTop + tileHeight;
|
H A D | GaneshRenderer.cpp | 104 && renderInfo.tileSize.height() == TilesManager::tileHeight()) { 109 TilesManager::tileWidth(), TilesManager::tileHeight(),
|
H A D | TiledTexture.cpp | 119 int tileHeight = TilesManager::instance()->layerTileHeight(); local 122 computedArea.setY(area.y() / tileHeight); 124 float bottom = (area.y() + area.height()) / (float) tileHeight; 262 const float tileHeight = TilesManager::layerTileHeight() * m_invScale; local 272 rect.fTop = tile->y() * tileHeight; 274 rect.fBottom = rect.fTop + tileHeight;
|
H A D | BaseTile.h | 109 bool intersectWithRect(int x, int y, int tileWidth, int tileHeight,
|
H A D | RasterRenderer.cpp | 79 TilesManager::instance()->tileHeight());
|
H A D | TilesManager.h | 114 static float tileHeight();
|
H A D | TilesManager.cpp | 126 tileWidth(), tileHeight()); 420 float TilesManager::tileHeight() function in class:WebCore::TilesManager
|
H A D | BaseLayerAndroid.cpp | 124 / TilesManager::instance()->tileHeight();
|
H A D | TransferQueue.cpp | 399 int height = TilesManager::instance()->tileHeight();
|
H A D | GLWebViewState.cpp | 257 const float invTileContentHeight = scale / TilesManager::tileHeight();
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
H A D | FETurbulence.cpp | 282 float tileHeight = paintingData.filterSize.height(); local 283 ASSERT(tileHeight > 0); 298 float lowFrequency = floorf(tileHeight * m_baseFrequencyY) / tileHeight; 299 float highFrequency = ceilf(tileHeight * m_baseFrequencyY) / tileHeight; 308 paintingData.height = roundf(tileHeight * m_baseFrequencyY);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | LayerTilerChromium.cpp | 410 float tileHeight = static_cast<float>(m_tileSize.height()); local 412 float texTranslateY = texOffset.y() / tileHeight; 414 float texScaleY = tileRect.height() / tileHeight;
|