Searched refs:tileHeight (Results 1 - 18 of 18) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
H A DTiledVertexGrid.java40 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 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 DCollisionSystem.java86 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 DGameObjectFactory.java574 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 DGaneshContext.cpp161 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 DBaseTile.cpp191 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 DTiledPage.cpp129 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 DGaneshRenderer.cpp104 && renderInfo.tileSize.height() == TilesManager::tileHeight()) {
109 TilesManager::tileWidth(), TilesManager::tileHeight(),
H A DTiledTexture.cpp119 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 DBaseTile.h109 bool intersectWithRect(int x, int y, int tileWidth, int tileHeight,
H A DRasterRenderer.cpp79 TilesManager::instance()->tileHeight());
H A DTilesManager.h114 static float tileHeight();
H A DTilesManager.cpp126 tileWidth(), tileHeight());
420 float TilesManager::tileHeight() function in class:WebCore::TilesManager
H A DBaseLayerAndroid.cpp124 / TilesManager::instance()->tileHeight();
H A DTransferQueue.cpp399 int height = TilesManager::instance()->tileHeight();
H A DGLWebViewState.cpp257 const float invTileContentHeight = scale / TilesManager::tileHeight();
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFETurbulence.cpp282 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 DLayerTilerChromium.cpp410 float tileHeight = static_cast<float>(m_tileSize.height()); local
412 float texTranslateY = texOffset.y() / tileHeight;
414 float texScaleY = tileRect.height() / tileHeight;

Completed in 400 milliseconds