/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TileImageView.java | 49 * This is the tile state in the CPU side. 50 * Life of a Tile: 85 // The offsets of the (left, top) of the upper-left tile to the (left, top) 96 private final HashMap<Long, Tile> mActiveTiles = new HashMap<Long, Tile>(); 185 // 1. Decide the tile level we want to use for display. 186 // 2. Decide the tile levels we want to keep as texture (in addition to 195 // The tile levels we want to keep as texture is in the range 203 // We want to keep one more tile level as texture in addition to what 227 // If rotation is transient, don't update the tile 241 Tile tile = iter.next().getValue(); local 341 Tile tile = mRecycledQueue.pop(); local 447 Tile tile = mRecycledQueue.pop(); local 468 Tile tile = mActiveTiles.get(key); local 496 Tile tile; local 522 Tile tile = getTile(tx, ty, level); local 650 Tile tile = mHead; local 683 Tile tile = null; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
TiledBackingStore.h | 28 #include "Tile.h" 87 PassRefPtr<Tile> tileAt(const Tile::Coordinate&) const; 88 void setTile(const Tile::Coordinate& coordinate, PassRefPtr<Tile> tile); 89 void removeTile(const Tile::Coordinate& coordinate); 96 IntRect tileRectForCoordinate(const Tile::Coordinate&) const; 97 Tile::Coordinate tileCoordinateForPoint(const IntPoint&) const; 98 double tileDistance(const IntRect& viewport, const Tile::Coordinate&) [all...] |
Tile.h | 43 class Tile : public RefCounted<Tile> { 47 static PassRefPtr<Tile> create(TiledBackingStore* backingStore, const Coordinate& tileCoordinate) { return adoptRef(new Tile(backingStore, tileCoordinate)); } 48 ~Tile(); 57 const Tile::Coordinate& coordinate() const { return m_coordinate; } 63 Tile(TiledBackingStore*, const Coordinate&);
|
TiledBackingStore.cpp | 76 Tile::Coordinate topLeft = tileCoordinateForPoint(dirtyRect.location()); 77 Tile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY())); 81 RefPtr<Tile> currentTile = tileAt(Tile::Coordinate(xCoordinate, yCoordinate)); 99 Vector<RefPtr<Tile> > dirtyTiles; 112 // FIXME: In single threaded case, tile back buffers could be updated asynchronously 114 // blocking on tile updates. 130 // Since tile content is already scaled, first revert the scaling from the painter. 135 Tile::Coordinate topLeft = tileCoordinateForPoint(dirtyRect.location()); 136 Tile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY())) [all...] |
/external/replicaisland/tools/ |
ExtractPoints.js | 41 var tileSizeX = prompt("Tile pixel width:"); 42 var tileSizeY = prompt("Tile pixel height:"); 54 // an array by tile. 66 var tile = new Object; 67 tile.edges = new Array(); 111 tile.edges.push(edge); 116 tile.centerX = totalX; 117 tile.centerY = totalY; 119 var column = Math.floor(tile.centerX / tileSizeX); 120 var row = Math.floor(tile.centerY / tileSizeY) [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
LayerTilerChromium.cpp | 97 Tile* tile = tileAt(0, 0); local 98 return tile ? tile->texture() : 0; 108 LayerTilerChromium::Tile* LayerTilerChromium::createTile(int i, int j) 112 RefPtr<Tile> tile; local 114 tile = m_unusedTiles.last().release(); 116 ASSERT(tile->refCount() == 1); 120 tile = adoptRef(new Tile(LayerTexture::create(context, manager))) 122 m_tiles.add(make_pair(i, j), tile); local 137 Tile* tile = iter->second.get(); local 178 Tile* tile = m_tiles.get(make_pair(i, j)).get(); local 213 Tile* tile = tileAt(i, j); local 251 Tile* tile = tileAt(i, j); local 306 Tile* tile = tileAt(i, j); local 394 Tile* tile = tileAt(i, j); local [all...] |
LayerTilerChromium.h | 67 // Reserve and upload tile textures from the internal canvas. 70 // Reserve and upload tile textures from an externally painted buffer. 78 // Change the tile size. This may invalidate all the existing tiles. 86 // If this tiler has exactly one tile, return its texture. Otherwise, null. 92 class Tile : public RefCounted<Tile> { 93 WTF_MAKE_NONCOPYABLE(Tile); 95 explicit Tile(PassOwnPtr<LayerTexture> tex) : m_tex(tex), m_i(-1), m_j(-1) {} 125 Tile* createTile(int i, int j); 133 Tile* tileAt(int, int) const [all...] |
/external/chromium/chrome/browser/resources/ntp4/ |
tile_page.css | 6 .tile-page { 12 .tile-page-title { 19 .tile-grid { 25 .tile { 38 .resizing-tile-page .tile {
|
tile_page.js | 19 * Calculates an assortment of tile-related values for a grid with the 37 // The proportion of the tile width which will be used as spacing between 50 * of the tile grid. 80 // Tile-related pixel values for the narrow display. 83 // Tile-related pixel values for the minimum narrow display. 92 this.className = 'tile-page'; 96 title.className = 'tile-page-title'; 101 this.tileGrid_.className = 'tile-grid'; 105 this.tileElements_ = this.tileGrid_.getElementsByClassName('tile'); 127 wrapperDiv.className = 'tile'; [all...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
TilingData.h | 57 int tileXIndex(int tile) const { assertTile(tile); return tile % numTilesX(); } 58 int tileYIndex(int tile) const { assertTile(tile); return tile / numTilesX(); } 62 IntRect tileBounds(int tile) const; 63 IntRect tileBoundsWithBorder(int tile) const; 64 FloatRect tileBoundsNormalized(int tile) const; 73 // in texel units, returns adjusted data to render just the one tile [all...] |
TilingData.cpp | 88 IntRect TilingData::tileBounds(int tile) const 90 assertTile(tile); 91 int ix = tileXIndex(tile); 92 int iy = tileYIndex(tile); 102 IntRect TilingData::tileBoundsWithBorder(int tile) const 104 IntRect bounds = tileBounds(tile); 112 if (tileXIndex(tile) > 0) 114 if (tileXIndex(tile) < (numTilesX() - 1)) 116 if (tileYIndex(tile) > 0) 118 if (tileYIndex(tile) < (numTilesY() - 1) [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/ |
TiledTexture.cpp | 72 BaseTile* tile = m_tiles[i]; local 73 if (tile->isTileVisible(m_area)) { 75 if (!tile->isTileReady()) { 193 BaseTile* tile = getTile(x, y); local 194 if (!tile) { 195 tile = new BaseTile(true); 196 m_tiles.append(tile); 199 XLOG("preparing tile %p at %d, %d, painter is this %p", tile, x, y, this); 200 tile->setContents(this, x, y, m_scale) 218 BaseTile* tile = m_tiles[i]; local 233 BaseTile* tile = m_tiles[i]; local 266 BaseTile* tile = m_tiles[i]; local 334 BaseTile* tile = m_tiles[i]; local [all...] |
TiledPage.cpp | 82 // textures. This is because prepare() asks for a tile before it reserves 83 // a texture for that tile. If all textures are currently in use by the 84 // page then there will be no available tile and having the extra tile 85 // ensures that this does not happen. After claiming the extra tile the call 86 // to reserveTexture() will cause some other tile in the page to lose it's 88 // one tile that is available. 109 BaseTile& tile = m_baseTiles[j]; local 110 if (tile.x() == x && tile.y() == y 119 BaseTile& tile = m_baseTiles[j]; local 160 BaseTile& tile = m_baseTiles[j]; local 215 BaseTile& tile = m_baseTiles[x]; local 300 BaseTile& tile = m_baseTiles[j]; local 314 BaseTile& tile = m_baseTiles[j]; local 347 BaseTile& tile = m_baseTiles[j]; local 372 BaseTile& tile = m_baseTiles[j]; local [all...] |
TilesProfiler.cpp | 72 XLOG("completed tile profiling, observed %d frames", m_records.size()); 78 XLOG("clearing tile profiling of its %d frames", m_records.size()); 93 XLOG("completed tile profiling frame, observed %d tiles. %f ms since last", 106 void TilesProfiler::nextTile(BaseTile& tile, float scale, bool inView) 111 bool isReady = tile.isTileReady(); 112 int left = tile.x() * TilesManager::tileWidth(); 113 int top = tile.y() * TilesManager::tileWidth(); 125 scale, isReady, (int)tile.drawCount())); 126 XLOG("adding tile %d %d %d %d, scale %f", left, top, right, bottom, scale);
|
BaseTile.h | 47 * An individual tile that is used to construct part of a webpage's BaseLayer of 48 * content. Each tile is assigned to a TiledPage and is responsible for drawing 49 * and displaying their section of the page. The lifecycle of a tile is: 51 * 1. Each tile is created on the main GL thread and assigned to a specific 53 * 2. When needed the tile is passed to the background thread where it paints 57 * tile's draw() function to display the tile to the screen. 59 * 5. The tile is destroyed when the user navigates to a new page. 66 // that a tile that's continually marked dirty from animation should still 127 // only used for prioritization - the higher, the more relevant the tile i [all...] |
BaseRenderer.h | 44 // coordinates of the tile 51 // inval rectangle with coordinates in the tile's coordinate space 54 // the expected size of the tile 60 // the base tile calling us
|
/external/webkit/Source/WebKit2/UIProcess/ |
TiledDrawingAreaProxy.cpp | 135 TiledDrawingAreaTile* tile = m_tilesByID.get(tileID); 136 ASSERT(!tile || tile->ID() == tileID); 137 if (tile) 138 tile->updateFromChunk(&updateChunk, scale); 192 TiledDrawingAreaTile* tile = m_tilesByID.get(tileID); local 193 ASSERT(!tile || tile->ID() == tileID); 194 if (tile) 195 tile->updateFromChunk(&updateChunk, scale) 202 RefPtr<TiledDrawingAreaTile> tile = TiledDrawingAreaTile::create(this, coordinate); local 303 TiledDrawingAreaTile* tile = tilesToFlip[n]; local 444 RefPtr<TiledDrawingAreaTile> tile = tileAt(currentCoordinate); local 535 RefPtr<TiledDrawingAreaTile> tile = m_tiles.take(coordinate); local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
LinearGradient.java | 29 @param tile The Shader tiling mode 32 int colors[], float positions[], TileMode tile) { 39 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt); 41 tile.nativeInt); 51 @param tile The Shader tiling mode 54 int color0, int color1, TileMode tile) { 55 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt); 57 tile.nativeInt);
|
RadialGradient.java | 29 @param tile The Shader tiling mode 32 int colors[], float positions[], TileMode tile) { 42 native_instance = nativeCreate1(x, y, radius, colors, positions, tile.nativeInt); 44 tile.nativeInt); 53 @param tile The Shader tiling mode 56 int color0, int color1, TileMode tile) { 60 native_instance = nativeCreate2(x, y, radius, color0, color1, tile.nativeInt); 62 tile.nativeInt);
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
TileQt.cpp | 21 #include "Tile.h" 58 Tile::Tile(TiledBackingStore* backingStore, const Coordinate& tileCoordinate) 68 Tile::~Tile() 75 bool Tile::isDirty() const 80 bool Tile::isReadyToPaint() const 85 void Tile::invalidate(const IntRect& dirtyRect) 94 Vector<IntRect> Tile::updateBackBuffer() 133 void Tile::swapBackBufferToFront( [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_tiled_backing_store.h | 26 /* Enable accounting of render time in tile statistics */ 59 double render_time; /**< amount of time this tile took to render */ 65 Eina_Bool full_update:1; /**< tile requires full size update */ 71 Ewk_Tile_Stats stats; /**< tile usage statistics */ 72 unsigned long col, row; /**< tile tile position */ 73 Evas_Coord x, y; /**< tile coordinate position */ 79 /** Never ever change those after tile is created (respect const!) */ 80 const Evas_Coord w, h; /**< tile size (see TILE_SIZE_AT_ZOOM()) */ 87 int visible; /**< visibility counter of this tile */ [all...] |
ewk_tiled_matrix.c | 80 ERR("freeing cell that is visible, leaking tile %p", t); 83 ERR("tile %p was not in cache %p? leaking...", t, tm->tuc); 85 DBG("tile cell does not exist anymore, free it %p", t); 100 /* called when cache of unused tile is flushed */ 108 ERR("removing tile %p that was not in the matrix? Leaking...", t); 125 ERR("cache of unused tiles requesting deletion of used tile %p? " 141 * The tile matrix is responsible for keeping tiles around and 151 * @param render_cb function used to render given tile update. 174 ERR("no cache of unused tile!"); 257 * Get the exact tile for the given position and zoom [all...] |
ewk_tiled_backing_store.c | 56 Ewk_Tile *tile; member in struct:_Ewk_Tiled_Backing_Store_Item 86 } tile; member in struct:_Ewk_Tiled_Backing_Store_Data::__anon13526 174 DBG("flush unused tile cache."); 207 if (it->tile) 208 evas_object_move(it->tile->image, x, y); 216 if (it->tile) { 217 evas_object_resize(it->tile->image, w, h); 218 evas_object_image_fill_set(it->tile->image, 0, 0, w, h); 224 if (it->tile) 225 CRITICAL("it->tile=%p, but it should be NULL!", it->tile) [all...] |
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
ProfiledWebView.java | 148 for (int tile = 0; tile < data.frames[frame].length; tile++) { 149 int left = tileProfilingGetInt(frame, tile, "left"); 150 int top = tileProfilingGetInt(frame, tile, "top"); 151 int right = tileProfilingGetInt(frame, tile, "right"); 152 int bottom = tileProfilingGetInt(frame, tile, "bottom"); 155 frame, tile, "isReady") == 1; 156 int level = tileProfilingGetInt(frame, tile, "level"); 158 float scale = tileProfilingGetFloat(frame, tile, "scale") [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
WebTiledLayer.cpp | 47 // Make sure there is a tile parent and it is the same as we remember 53 // Make sure the tile parent doesn't have user data. If it does, it is probably 123 // Subtract 1 to account for the tile parent layer 129 // Restore the tile parent after removal 136 // Preserve the tile parent after set 143 // Add 1 to account for the tile parent layer 149 // Add 1 to account for the tile parent layer 157 // Add 1 to account for the tile parent layer (but be safe about it) 256 CACFLayerRef tile = static_cast<CACFLayerRef>(const_cast<void*>(CFArrayGetValueAtIndex(tileArray, i * numTilesVertical + j))); local 257 CACFLayerSetPosition(tile, CGPointMake(i * m_tileSize.width, j * m_tileSize.height)) [all...] |