Searched refs:tiles_ (Results 1 – 12 of 12) sorted by relevance
76 tiles_[bin].push_back(tile); in InsertTile()82 tiles_[bin].clear(); in Clear()89 SortBinTiles(bin, &tiles_[bin]); in SortBinIfNeeded()101 iterator_ = tile_set->tiles_[current_bin_].begin(); in Iterator()102 if (iterator_ == tile_set_->tiles_[current_bin_].end()) in Iterator()115 DCHECK(iterator_ != tile_set_->tiles_[current_bin_].end()); in operator ++()118 if (iterator_ == tile_set_->tiles_[current_bin_].end()) in operator ++()124 DCHECK(iterator_ != tile_set_->tiles_[current_bin_].end()); in operator *()129 DCHECK(iterator_ == tile_set_->tiles_[current_bin_].end()); in AdvanceList()137 iterator_ = tile_set_->tiles_[current_bin_].begin(); in AdvanceList()[all …]
68 TileMap::const_iterator iter = tiles_.find(TileMapKey(i, j)); in TileAt()69 if (iter == tiles_.end()) in TileAt()78 DCHECK(tiles_.find(key) == tiles_.end()); in CreateTile()92 tiles_[key] = candidate_tile; in CreateTile()101 tiles_[key] = tile; in CreateTile()112 for (TileMap::iterator it = tiles_.begin(); it != tiles_.end(); ++it) in SetCanUseLCDText()124 TileMap::iterator find = tiles_.find(key); in CreateMissingTilesInLiveTilesRect()125 if (find != tiles_.end()) in CreateMissingTilesInLiveTilesRect()178 TileMap::iterator find = tiles_.find(key); in Invalidate()179 if (find == tiles_.end()) in Invalidate()[all …]
58 tiles_.add(std::make_pair(i, j), tile.Pass()); in AddTile()62 return tiles_.take_and_erase(std::make_pair(i, j)); in TakeTile()66 return tiles_.get(std::make_pair(i, j)); in TileAt()117 tiles_.clear(); in SetBounds()127 for (TileMap::const_iterator it = tiles_.begin(); it != tiles_.end(); ++it) { in SetBounds()132 tiles_.erase(invalid_tile_keys[i]); in SetBounds()
227 DCHECK_EQ(0u, tiles_.size()); in ~TileManager()262 DCHECK(tiles_.find(tile->id()) != tiles_.end()); in CleanUpReleasedTiles()263 tiles_.erase(tile->id()); in CleanUpReleasedTiles()321 for (TileMap::iterator it = tiles_.begin(); it != tiles_.end(); ++it) { in DidFinishRunningTasks()361 for (TileMap::const_iterator it = tiles_.begin(); it != tiles_.end(); ++it) { in GetTilesWithAssignedBins()553 state->SetInteger("tile_count", tiles_.size()); in BasicStateAsValue()561 for (TileMap::const_iterator it = tiles_.begin(); in AllTilesAsValue()562 it != tiles_.end(); in AllTilesAsValue()927 TileMap::iterator it = tiles_.find(tile_id); in OnRasterTaskCompleted()928 if (it == tiles_.end()) { in OnRasterTaskCompleted()[all …]
80 const TileMap& tiles() const { return tiles_; } in tiles()94 void reset() { tiles_.clear(); } in reset()99 TileMap tiles_; variable
36 return iterator_ != tile_set_->tiles_[current_bin_].end();53 std::vector<Tile*> tiles_[NUM_BINS]; variable
75 for (TileMap::const_iterator it = tiles_.begin(); in AllTilesForTesting()76 it != tiles_.end(); ++it) in AllTilesForTesting()209 TileMap tiles_; // It is not legal to have a NULL tile in the tiles_ map. variable
186 TileMap tiles_; variable
128 if (this.tiles_)137 this.tiles_ = []; property139 this.tiles_.push(new Mosaic.Tile(this, this.dataModel_.item(i)));142 this.tiles_[index].select(true);145 this.initTiles_(this.tiles_);155 return !!this.tiles_;248 return this.tiles_ && this.tiles_[this.selectionModel_.selectedIndex];256 var tile = this.tiles_[index];265 var tile = this.tiles_[index];324 this.tiles_.forEach(function(t) { t.markUnloaded() });[all …]
97 tiles_.push_back(t); in add_tile()101 return tiles_.size(); in num_tiles()105 return &tiles_[index]; in tile()131 std::vector<Tile> tiles_; variable
500 // Fills in |tiles_|.503 // Computes coordinates for |tiles_|.509 const Tile& selected_tile() const { return *tiles_[selected_index()]; }510 Tile& tile_at(int index) { return *tiles_[index]; }511 const Tile& tile_at(int index) const { return *tiles_[index]; }539 return ceilf(tiles_.size() / static_cast<float>(count_y_));545 return tiles_.size() - count_x() * (count_y() - 1);558 ScopedVector<Tile> tiles_;567 tiles_.resize(source_model->count());568 for (size_t i = 0; i < tiles_.size(); ++i) {[all …]
547 // Fills in |tiles_|.550 // Computes coordinates for |tiles_|.556 const Tile& selected_tile() const { return *tiles_[selected_index()]; }557 Tile& tile_at(int index) { return *tiles_[index]; }558 const Tile& tile_at(int index) const { return *tiles_[index]; }586 return ceilf(tiles_.size() / static_cast<float>(count_y_));592 return tiles_.size() - count_x() * (count_y() - 1);605 ScopedVector<Tile> tiles_;614 tiles_.resize(source_model->count());615 for (size_t i = 0; i < tiles_.size(); ++i) {[all …]