HomeSort by relevance Sort by last modified time
    Searched refs:Tile (Results 1 - 25 of 46) sorted by null

1 2

  /external/chromium_org/cc/resources/
prioritized_tile_set.h 16 class Tile;
23 void InsertTile(Tile* tile, ManagedTileBin bin);
33 Tile* operator->() { return *(*this); }
34 Tile* operator*();
44 std::vector<scoped_refptr<Tile> >::iterator iterator_;
50 typedef scoped_refptr<Tile> TileRef;
tile.cc 5 #include "cc/resources/tile.h"
14 Tile::Id Tile::s_next_id_ = 0;
16 Tile::Tile(TileManager* tile_manager,
38 Tile::~Tile() {
40 TRACE_DISABLED_BY_DEFAULT("cc.debug"), "cc::Tile", this);
44 scoped_ptr<base::Value> Tile::AsValue() const {
46 TracedValue::MakeDictIntoImplicitSnapshot(res.get(), "cc::Tile", this)
    [all...]
tile_manager.h 22 #include "cc/resources/tile.h"
45 // should no longer have any memory assigned to them. Tile objects are "owned"
90 // Methods called by Tile
91 friend class Tile;
92 void RegisterTile(Tile* tile);
93 void UnregisterTile(Tile* tile);
101 typedef std::vector<Tile*> TileVector;
102 typedef std::set<Tile*> TileSet
    [all...]
layer_tiling_data.h 43 // Change the tile size. This may invalidate all the existing tiles.
54 class Tile {
56 Tile() : i_(-1), j_(-1) {}
57 virtual ~Tile() {}
72 DISALLOW_COPY_AND_ASSIGN(Tile);
75 typedef ScopedPtrHashMap<TileMapKey, Tile> TileMap;
77 void AddTile(scoped_ptr<Tile> tile, int i, int j);
78 scoped_ptr<Tile> TakeTile(int i, int j);
79 Tile* TileAt(int i, int j) const
    [all...]
picture_layer_tiling.h 17 #include "cc/resources/tile.h"
27 // Create a tile at the given content_rect (in the contents scale of the
28 // tiling) This might return null if the client cannot create such a tile.
29 virtual scoped_refptr<Tile> CreateTile(
32 virtual void UpdatePile(Tile* tile) = 0;
73 std::vector<Tile*> AllTilesForTesting() const {
74 std::vector<Tile*> all_tiles;
100 // Full rect (including borders) of the current tile, always in the space
104 Tile* operator->() const { return current_tile_;
    [all...]
tile.h 21 class CC_EXPORT Tile : public base::RefCounted<Tile> {
25 Tile(TileManager* tile_manager,
121 // Methods called by by tile manager.
134 friend class base::RefCounted<Tile>;
135 ~Tile();
153 DISALLOW_COPY_AND_ASSIGN(Tile);
prioritized_tile_set_unittest.cc 10 #include "cc/resources/tile.h"
22 bool operator()(const scoped_refptr<Tile>& a,
23 const scoped_refptr<Tile>& b) const {
64 scoped_refptr<Tile> CreateTile() {
65 return make_scoped_refptr(new Tile(tile_manager_.get(),
95 scoped_refptr<Tile> tile = CreateTile(); local
96 set.InsertTile(tile, NOW_BIN);
101 EXPECT_TRUE(*it == tile.get());
114 std::vector<scoped_refptr<Tile> > tiles
117 scoped_refptr<Tile> tile = CreateTile(); local
149 scoped_refptr<Tile> tile = CreateTile(); local
183 scoped_refptr<Tile> tile = CreateTile(); local
217 scoped_refptr<Tile> tile = CreateTile(); local
251 scoped_refptr<Tile> tile = CreateTile(); local
285 scoped_refptr<Tile> tile = CreateTile(); local
319 scoped_refptr<Tile> tile = CreateTile(); local
    [all...]
prioritized_tile_set.cc 10 #include "cc/resources/tile.h"
16 bool operator()(const scoped_refptr<Tile>& a,
17 const scoped_refptr<Tile>& b) const {
49 typedef std::vector<scoped_refptr<Tile> > TileVector;
74 void PrioritizedTileSet::InsertTile(Tile* tile, ManagedTileBin bin) {
75 tiles_[bin].push_back(make_scoped_refptr(tile));
110 Tile* PrioritizedTileSet::PriorityIterator::operator*() {
layer_tiling_data.cc 55 void LayerTilingData::AddTile(scoped_ptr<Tile> tile, int i, int j) {
57 tile->move_to(i, j);
58 tiles_.add(std::make_pair(i, j), tile.Pass());
61 scoped_ptr<LayerTilingData::Tile> LayerTilingData::TakeTile(int i, int j) {
65 LayerTilingData::Tile* LayerTilingData::TileAt(int i, int j) const {
86 gfx::Rect LayerTilingData::TileRect(const Tile* tile) const {
87 gfx::Rect tile_rect = tiling_data_.TileBoundsWithBorder(tile->i(), tile->j())
102 Tile* tile = TileAt(i, j); local
    [all...]
tile_manager_perftest.cc 6 #include "cc/resources/tile.h"
26 typedef std::vector<scoped_refptr<Tile> > TileVector;
82 scoped_refptr<Tile> tile = local
83 make_scoped_refptr(new Tile(tile_manager_.get(),
92 tile->SetPriority(ACTIVE_TREE, priority);
93 tile->SetPriority(PENDING_TREE, priority);
94 tiles->push_back(tile);
picture_layer_tiling_set.h 93 Tile* operator->() const;
94 Tile* operator*() const;
picture_layer_tiling_set_unittest.cc 48 // No tiles have resources, so no iter represents a real tile.
76 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
230 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
232 const Tile* tile = tiles[i]; local
233 ASSERT_TRUE(!!tile);
234 EXPECT_EQ(tile->picture_pile(), pile);
235 EXPECT_TRUE(tile->content_rect().Intersects(tiling->live_tiles_rect()))
282 Tile* FindTileAtOrigin(PictureLayerTiling* tiling) {
283 std::vector<Tile*> tiles = tiling->AllTilesForTesting()
381 const Tile* tile = new_tiles[i]; local
    [all...]
  /external/chromium_org/cc/test/
fake_tile_manager.h 21 bool HasBeenAssignedMemory(Tile* tile);
26 std::vector<Tile*> tiles_for_raster;
fake_picture_layer_tiling_client.cc 35 scoped_refptr<Tile> FakePictureLayerTilingClient::CreateTile(
40 return new Tile(tile_manager_.get(),
fake_picture_layer_tiling_client.h 10 #include "cc/resources/tile.h"
23 virtual scoped_refptr<Tile> CreateTile(
25 virtual void UpdatePile(Tile* tile) OVERRIDE {}
fake_tile_manager.cc 51 bool FakeTileManager::HasBeenAssignedMemory(Tile* tile) {
54 tile) != tiles_for_raster.end();
  /external/chromium_org/gpu/tools/compositor_model_bench/
render_tree.h 25 struct Tile {
96 void add_tile(Tile t) {
104 Tile* tile(size_t index) { function in class:RenderNode
131 std::vector<Tile> tiles_;
render_model_utils.h 25 typedef std::vector<Tile>::iterator tile_iter;
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
TiledTexture.java 37 // upload the whole bitmap but we reduce the time of uploading each tile
49 private static Tile sFreeTileHead = null;
59 private final Tile[] mTiles; // Can be modified in different threads.
112 private static class Tile extends UploadedTexture {
116 public Tile nextFreeTile;
161 private static void freeTile(Tile tile) {
162 tile.invalidateContent();
163 tile.bitmap = null;
165 tile.nextFreeTile = sFreeTileHead
209 Tile tile = obtainTile(); local
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
TiledImageRenderer.java 46 * This is the tile state in the CPU side.
47 * Life of a Tile:
96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
131 * If the source does not care about the tile size, it should use
146 * The tile returned by this method can be specified this way: Assuming
253 // 1. Decide the tile level we want to use for display.
254 // 2. Decide the tile levels we want to keep as texture (in addition to
264 // The tile levels we want to keep as texture is in the range
272 // We want to keep one more tile level as texture in addition to wha
310 Tile tile = mActiveTiles.valueAt(i); local
342 Tile tile = mActiveTiles.valueAt(i); local
395 Tile tile = mRecycledQueue.pop(); local
474 Tile tile = mActiveTiles.valueAt(i); local
521 Tile tile = mRecycledQueue.pop(); local
548 Tile tile = mActiveTiles.get(key); local
572 Tile tile = null; local
603 Tile tile = getTile(tx, ty, level); local
755 Tile tile = mHead; local
803 Tile tile = mDecodeQueue.pop(); local
816 Tile tile = waitForTile(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
TiledImageRenderer.java 46 * This is the tile state in the CPU side.
47 * Life of a Tile:
96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
131 * If the source does not care about the tile size, it should use
146 * The tile returned by this method can be specified this way: Assuming
253 // 1. Decide the tile level we want to use for display.
254 // 2. Decide the tile levels we want to keep as texture (in addition to
264 // The tile levels we want to keep as texture is in the range
272 // We want to keep one more tile level as texture in addition to wha
310 Tile tile = mActiveTiles.valueAt(i); local
342 Tile tile = mActiveTiles.valueAt(i); local
395 Tile tile = mRecycledQueue.pop(); local
474 Tile tile = mActiveTiles.valueAt(i); local
521 Tile tile = mRecycledQueue.pop(); local
548 Tile tile = mActiveTiles.get(key); local
572 Tile tile = null; local
603 Tile tile = getTile(tx, ty, level); local
755 Tile tile = mHead; local
803 Tile tile = mDecodeQueue.pop(); local
816 Tile tile = waitForTile(); local
    [all...]
  /packages/apps/Launcher3/src/com/android/photos/views/
TiledImageRenderer.java 46 * This is the tile state in the CPU side.
47 * Life of a Tile:
96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
131 * If the source does not care about the tile size, it should use
146 * The tile returned by this method can be specified this way: Assuming
253 // 1. Decide the tile level we want to use for display.
254 // 2. Decide the tile levels we want to keep as texture (in addition to
264 // The tile levels we want to keep as texture is in the range
272 // We want to keep one more tile level as texture in addition to wha
310 Tile tile = mActiveTiles.valueAt(i); local
342 Tile tile = mActiveTiles.valueAt(i); local
395 Tile tile = mRecycledQueue.pop(); local
474 Tile tile = mActiveTiles.valueAt(i); local
521 Tile tile = mRecycledQueue.pop(); local
548 Tile tile = mActiveTiles.get(key); local
572 Tile tile = null; local
603 Tile tile = getTile(tx, ty, level); local
755 Tile tile = mHead; local
803 Tile tile = mDecodeQueue.pop(); local
816 Tile tile = waitForTile(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
TileImageView.java 53 * This is the tile state in the CPU side.
54 * Life of a Tile:
89 // The offsets of the (left, top) of the upper-left tile to the (left, top)
100 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
132 // The tile returned by this method can be specified this way: Assuming
201 // 1. Decide the tile level we want to use for display.
202 // 2. Decide the tile levels we want to keep as texture (in addition to
211 // The tile levels we want to keep as texture is in the range
219 // We want to keep one more tile level as texture in addition to wha
255 Tile tile = mActiveTiles.valueAt(i); local
286 Tile tile = mActiveTiles.valueAt(i); local
387 Tile tile = mRecycledQueue.pop(); local
471 Tile tile = mActiveTiles.valueAt(i); local
514 Tile tile = mRecycledQueue.pop(); local
538 Tile tile = mActiveTiles.get(key); local
569 Tile tile = null; local
597 Tile tile = getTile(tx, ty, level); local
740 Tile tile = mHead; local
773 Tile tile = null; local
    [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/js/photo/
mosaic_mode.js 98 * clicking on a partly visible tile. In ms.
138 this.tiles_.push(new Mosaic.Tile(this, this.dataModel_.item(i)));
226 // a tile because of altering |this.scrollLeft|.
244 * @return {Mosaic.Tile} Selected tile or undefined if no selection.
251 * @param {number} index Tile index.
252 * @return {Rect} Tile's image rectangle.
255 var tile = this.tiles_[index];
256 return tile && tile.getImageRect()
    [all...]
  /external/chromium_org/cc/layers/
picture_layer_impl.h 55 virtual scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling,
57 virtual void UpdatePile(Tile* tile) OVERRIDE;

Completed in 228 milliseconds

1 2