Searched refs:TileXIndexFromSrcCoord (Results 1 – 5 of 5) sorted by relevance
69 int TilingData::TileXIndexFromSrcCoord(int src_position) const { in TileXIndexFromSrcCoord() function in cc::TilingData135 int index_x = TileXIndexFromSrcCoord(rect.x()); in ExpandRectIgnoringBordersToTileBounds()137 int index_right = TileXIndexFromSrcCoord(rect.right() - 1); in ExpandRectIgnoringBordersToTileBounds()325 index_x_ = tiling_data_->TileXIndexFromSrcCoord(rect.x()); in Iterator()327 right_ = tiling_data_->TileXIndexFromSrcCoord(rect.right() - 1); in Iterator()382 consider_left_ = tiling_data_->TileXIndexFromSrcCoord(consider.x()); in DifferenceIterator()384 consider_right_ = tiling_data_->TileXIndexFromSrcCoord(consider.right() - 1); in DifferenceIterator()389 ignore_left_ = tiling_data_->TileXIndexFromSrcCoord(ignore.x()); in DifferenceIterator()391 ignore_right_ = tiling_data_->TileXIndexFromSrcCoord(ignore.right() - 1); in DifferenceIterator()484 consider_left_ = tiling_data_->TileXIndexFromSrcCoord(consider.x()); in SpiralDifferenceIterator()[all …]
46 int TileXIndexFromSrcCoord(int src_position) const;
35 return tiling.TileXIndexFromSrcCoord(x_coord); in XIndex()223 TEST(TilingDataTest, TileXIndexFromSrcCoord) { in TEST() argument968 EXPECT_EQ(0, data.TileXIndexFromSrcCoord(0)); in TEST()969 EXPECT_EQ(0, data.TileXIndexFromSrcCoord(69)); in TEST()970 EXPECT_EQ(1, data.TileXIndexFromSrcCoord(70)); in TEST()971 EXPECT_EQ(1, data.TileXIndexFromSrcCoord(109)); in TEST()972 EXPECT_EQ(2, data.TileXIndexFromSrcCoord(110)); in TEST()973 EXPECT_EQ(2, data.TileXIndexFromSrcCoord(149)); in TEST()974 EXPECT_EQ(3, data.TileXIndexFromSrcCoord(150)); in TEST()975 EXPECT_EQ(3, data.TileXIndexFromSrcCoord(199)); in TEST()
83 *left = tiling_data_.TileXIndexFromSrcCoord(content_rect.x()); in ContentRectToTileIndices()85 *right = tiling_data_.TileXIndexFromSrcCoord(content_rect.right() - 1); in ContentRectToTileIndices()
192 int before_left = tiling_data_.TileXIndexFromSrcCoord(live_tiles_rect_.x()); in UpdateTilesToCurrentPile()195 tiling_data_.TileXIndexFromSrcCoord(live_tiles_rect_.right() - 1); in UpdateTilesToCurrentPile()208 tiling_data_.TileXIndexFromSrcCoord(live_tiles_rect_.right() - 1); in UpdateTilesToCurrentPile()354 left_ = tiling_->tiling_data_.TileXIndexFromSrcCoord(content_rect.x()); in CoverageIterator()356 right_ = tiling_->tiling_data_.TileXIndexFromSrcCoord( in CoverageIterator()