Lines Matching refs:LastBorderTileXIndexFromSrcCoord
67 return tiling.LastBorderTileXIndexFromSrcCoord(x_coord);
795 TEST_P(TilingDataTest, LastBorderTileXIndexFromSrcCoord) {
2396 EXPECT_EQ(0, data.LastBorderTileXIndexFromSrcCoord(origin.x() + 0));
2397 EXPECT_EQ(0, data.LastBorderTileXIndexFromSrcCoord(origin.x() + 39));
2398 EXPECT_EQ(1, data.LastBorderTileXIndexFromSrcCoord(origin.x() + 40));
2399 EXPECT_EQ(1, data.LastBorderTileXIndexFromSrcCoord(origin.x() + 79));
2400 EXPECT_EQ(2, data.LastBorderTileXIndexFromSrcCoord(origin.x() + 80));
2401 EXPECT_EQ(2, data.LastBorderTileXIndexFromSrcCoord(origin.x() + 119));
2402 EXPECT_EQ(3, data.LastBorderTileXIndexFromSrcCoord(origin.x() + 120));
2403 EXPECT_EQ(3, data.LastBorderTileXIndexFromSrcCoord(origin.x() + 199));