Home
last modified time | relevance | path

Searched refs:TileYIndexFromSrcCoord (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/cc/base/
Dtiling_data.cc79 int TilingData::TileYIndexFromSrcCoord(int src_position) const { in TileYIndexFromSrcCoord() function in cc::TilingData
136 int index_y = TileYIndexFromSrcCoord(rect.y()); in ExpandRectIgnoringBordersToTileBounds()
138 int index_bottom = TileYIndexFromSrcCoord(rect.bottom() - 1); in ExpandRectIgnoringBordersToTileBounds()
326 index_y_ = tiling_data_->TileYIndexFromSrcCoord(rect.y()); in Iterator()
328 bottom_ = tiling_data_->TileYIndexFromSrcCoord(rect.bottom() - 1); in Iterator()
383 consider_top_ = tiling_data_->TileYIndexFromSrcCoord(consider.y()); in DifferenceIterator()
386 tiling_data_->TileYIndexFromSrcCoord(consider.bottom() - 1); in DifferenceIterator()
390 ignore_top_ = tiling_data_->TileYIndexFromSrcCoord(ignore.y()); in DifferenceIterator()
392 ignore_bottom_ = tiling_data_->TileYIndexFromSrcCoord(ignore.bottom() - 1); in DifferenceIterator()
485 consider_top_ = tiling_data_->TileYIndexFromSrcCoord(consider.y()); in SpiralDifferenceIterator()
[all …]
Dtiling_data_unittest.cc43 return tiling.TileYIndexFromSrcCoord(y_coord); in YIndex()
379 TEST(TilingDataTest, TileYIndexFromSrcCoord) { in TEST() argument
977 EXPECT_EQ(0, data.TileYIndexFromSrcCoord(0)); in TEST()
978 EXPECT_EQ(0, data.TileYIndexFromSrcCoord(49)); in TEST()
979 EXPECT_EQ(1, data.TileYIndexFromSrcCoord(50)); in TEST()
980 EXPECT_EQ(1, data.TileYIndexFromSrcCoord(69)); in TEST()
981 EXPECT_EQ(2, data.TileYIndexFromSrcCoord(70)); in TEST()
982 EXPECT_EQ(2, data.TileYIndexFromSrcCoord(89)); in TEST()
983 EXPECT_EQ(3, data.TileYIndexFromSrcCoord(90)); in TEST()
984 EXPECT_EQ(3, data.TileYIndexFromSrcCoord(109)); in TEST()
[all …]
Dtiling_data.h47 int TileYIndexFromSrcCoord(int src_position) const;
/external/chromium_org/cc/resources/
Dlayer_tiling_data.cc84 *top = tiling_data_.TileYIndexFromSrcCoord(content_rect.y()); in ContentRectToTileIndices()
86 *bottom = tiling_data_.TileYIndexFromSrcCoord(content_rect.bottom() - 1); in ContentRectToTileIndices()
Dpicture_layer_tiling.cc193 int before_top = tiling_data_.TileYIndexFromSrcCoord(live_tiles_rect_.y()); in UpdateTilesToCurrentPile()
197 tiling_data_.TileYIndexFromSrcCoord(live_tiles_rect_.bottom() - 1); in UpdateTilesToCurrentPile()
210 tiling_data_.TileYIndexFromSrcCoord(live_tiles_rect_.bottom() - 1); in UpdateTilesToCurrentPile()
355 top_ = tiling_->tiling_data_.TileYIndexFromSrcCoord(content_rect.y()); in CoverageIterator()
358 bottom_ = tiling_->tiling_data_.TileYIndexFromSrcCoord( in CoverageIterator()