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 14 class Tile;
21 void InsertTile(Tile* tile, ManagedTileBin bin);
33 Tile* operator->() { return *(*this); }
34 Tile* operator*();
44 std::vector<Tile*>::iterator iterator_;
53 std::vector<Tile*> tiles_[NUM_BINS];
tile.cc 5 #include "cc/resources/tile.h"
14 Tile::Id Tile::s_next_id_ = 0;
16 Tile::Tile(TileManager* tile_manager,
25 : RefCountedManaged<Tile>(tile_manager),
38 Tile::~Tile() {
41 "cc::Tile", this);
44 void Tile::SetPriority(WhichTree tree, const TilePriority& priority)
    [all...]
tile_manager.h 23 #include "cc/resources/tile.h"
46 // should no longer have any memory assigned to them. Tile objects are "owned"
50 public RefCountedManager<Tile> {
68 scoped_refptr<Tile> CreateTile(PicturePileImpl* picture_pile,
89 const std::vector<Tile*>& tiles,
127 // Methods called by Tile
128 friend class Tile;
129 void DidChangeTilePriority(Tile* tile);
133 // Overriden from RefCountedManager<Tile>
    [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 base::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;
81 Tile* TileAt(int i, int j) const;
102 // Full rect (including borders) of the current tile, always in the spac
    [all...]
prioritized_tile_set_unittest.cc 10 #include "cc/resources/tile.h"
23 bool operator()(const scoped_refptr<Tile>& a,
24 const scoped_refptr<Tile>& b) const {
70 scoped_refptr<Tile> CreateTile() {
78 Tile::USE_LCD_TEXT);
103 scoped_refptr<Tile> tile = CreateTile(); local
104 set.InsertTile(tile, NOW_BIN);
108 EXPECT_TRUE(*it == tile.get());
123 std::vector<scoped_refptr<Tile> > tiles
126 scoped_refptr<Tile> tile = CreateTile(); local
158 scoped_refptr<Tile> tile = CreateTile(); local
192 scoped_refptr<Tile> tile = CreateTile(); local
227 scoped_refptr<Tile> tile = CreateTile(); local
258 scoped_refptr<Tile> tile = CreateTile(); local
292 scoped_refptr<Tile> tile = CreateTile(); local
326 scoped_refptr<Tile> tile = CreateTile(); local
360 scoped_refptr<Tile> tile = CreateTile(); local
442 scoped_refptr<Tile> tile = CreateTile(); local
553 scoped_refptr<Tile> tile = CreateTile(); local
    [all...]
tile.h 22 class CC_EXPORT Tile : public RefCountedManaged<Tile> {
135 // Methods called by by tile manager.
136 Tile(TileManager* tile_manager,
145 ~Tile();
166 DISALLOW_COPY_AND_ASSIGN(Tile);
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...]
prioritized_tile_set.cc 10 #include "cc/resources/tile.h"
16 bool operator()(const Tile* a,
17 const Tile* b) const {
46 typedef std::vector<Tile*> TileVector;
75 void PrioritizedTileSet::InsertTile(Tile* tile, ManagedTileBin bin) {
76 tiles_[bin].push_back(tile);
123 Tile* PrioritizedTileSet::Iterator::operator*() {
tile_manager_perftest.cc 6 #include "cc/resources/tile.h"
29 typedef std::vector<std::pair<scoped_refptr<Tile>, ManagedTileBin> >
111 scoped_refptr<Tile> tile = local
119 Tile::USE_LCD_TEXT);
120 tile->SetPriority(ACTIVE_TREE, GetTilePriorityFromBin(bin));
121 tile->SetPriority(PENDING_TREE, GetTilePriorityFromBin(bin));
122 tiles->push_back(std::make_pair(tile, bin));
149 Tile* tile = tiles[i].first.get() local
    [all...]
picture_layer_tiling_set.h 95 Tile* operator->() const;
96 Tile* operator*() const;
picture_layer_tiling_set_unittest.cc 49 // No tiles have resources, so no iter represents a real tile.
80 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
225 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
227 const Tile* tile = tiles[i]; local
228 ASSERT_TRUE(!!tile);
229 EXPECT_EQ(tile->picture_pile(), pile);
230 EXPECT_TRUE(tile->content_rect().Intersects(tiling->live_tiles_rect()))
277 Tile* FindTileAtOrigin(PictureLayerTiling* tiling) {
278 std::vector<Tile*> tiles = tiling->AllTilesForTesting()
376 const Tile* tile = new_tiles[i]; local
    [all...]
  /external/chromium_org/cc/test/
fake_tile_manager.h 24 bool HasBeenAssignedMemory(Tile* tile);
32 virtual void Release(Tile* tile) OVERRIDE;
34 std::vector<Tile*> tiles_for_raster;
fake_picture_layer_tiling_client.cc 30 scoped_refptr<Tile> FakePictureLayerTilingClient::CreateTile(
34 return scoped_refptr<Tile>();
36 pile_.get(), tile_size_, rect, gfx::Rect(), 1, 0, 0, Tile::USE_LCD_TEXT);
fake_picture_layer_tiling_client.h 10 #include "cc/resources/tile.h"
24 virtual scoped_refptr<Tile> CreateTile(
26 virtual void UpdatePile(Tile* tile) OVERRIDE {}
fake_picture_layer_impl.cc 8 #include "cc/resources/tile.h"
80 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
82 Tile* tile = tiles[tile_idx]; local
87 tile->SetPriority(tree, priority);
102 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
104 Tile* tile = tiles[tile_idx]; local
105 ManagedTileState& state = tile->managed_state();
108 DCHECK(tile->IsReadyToDraw())
    [all...]
fake_tile_manager.cc 91 bool FakeTileManager::HasBeenAssignedMemory(Tile* tile) {
94 tile) != tiles_for_raster.end();
101 void FakeTileManager::Release(Tile* tile) {
102 TileManager::Release(tile);
  /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/WallpaperPicker/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/foreground/js/photo/
mosaic_mode.js 99 * clicking on a partly visible tile. In ms.
139 this.tiles_.push(new Mosaic.Tile(this, this.dataModel_.item(i)));
227 // a tile because of altering |this.scrollLeft|.
245 * @return {Mosaic.Tile} Selected tile or undefined if no selection.
252 * @param {number} index Tile index.
253 * @return {Rect} Tile's image rectangle.
256 var tile = this.tiles_[index];
257 return tile && tile.getImageRect()
    [all...]

Completed in 844 milliseconds

1 2