NumTiles 122 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(16, 16), gfx::Size(16, 16), false)); NumTiles 123 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(16, 16), gfx::Size(15, 15), true)); NumTiles 124 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(16, 16), gfx::Size(16, 16), true)); NumTiles 125 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(16, 16), gfx::Size(1, 16), false)); NumTiles 126 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(15, 15), gfx::Size(15, 15), true)); NumTiles 127 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(32, 16), gfx::Size(32, 16), false)); NumTiles 128 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(32, 16), gfx::Size(32, 16), true)); NumTiles 132 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(0, 0), false)); NumTiles 133 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(4, 0), false)); NumTiles 134 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(0, 4), false)); NumTiles 135 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(4, 4), gfx::Size(4, 0), false)); NumTiles 136 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(4, 4), gfx::Size(0, 4), false)); NumTiles 137 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(1, 1), false)); NumTiles 139 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(1, 1), gfx::Size(1, 1), false)); NumTiles 140 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(1, 1), gfx::Size(1, 2), false)); NumTiles 141 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(1, 1), gfx::Size(2, 1), false)); NumTiles 142 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(1, 1), false)); NumTiles 143 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(1, 2), false)); NumTiles 144 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(2, 1), false)); NumTiles 145 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(2, 2), false)); NumTiles 146 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(3, 3), gfx::Size(3, 3), false)); NumTiles 148 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(1, 4), false)); NumTiles 149 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(2, 4), false)); NumTiles 150 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(3, 4), false)); NumTiles 151 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(4, 4), false)); NumTiles 152 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(5, 4), false)); NumTiles 153 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(6, 4), false)); NumTiles 154 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(7, 4), false)); NumTiles 155 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(8, 4), false)); NumTiles 156 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(4, 4), gfx::Size(9, 4), false)); NumTiles 157 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(4, 4), gfx::Size(10, 4), false)); NumTiles 158 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(4, 4), gfx::Size(11, 4), false)); NumTiles 160 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(1, 5), false)); NumTiles 161 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(2, 5), false)); NumTiles 162 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(3, 5), false)); NumTiles 163 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(4, 5), false)); NumTiles 164 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(5, 5), false)); NumTiles 165 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(6, 5), false)); NumTiles 166 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(7, 5), false)); NumTiles 167 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(8, 5), false)); NumTiles 168 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(9, 5), false)); NumTiles 169 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(10, 5), false)); NumTiles 170 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(5, 5), gfx::Size(11, 5), false)); NumTiles 172 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(16, 16), gfx::Size(16, 16), false)); NumTiles 173 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(17, 17), gfx::Size(16, 16), false)); NumTiles 174 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(15, 15), gfx::Size(16, 16), false)); NumTiles 175 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(8, 8), gfx::Size(16, 16), false)); NumTiles 176 cc/base/tiling_data_unittest.cc EXPECT_EQ(6, NumTiles(gfx::Size(8, 8), gfx::Size(17, 16), false)); NumTiles 178 cc/base/tiling_data_unittest.cc EXPECT_EQ(8, NumTiles(gfx::Size(5, 8), gfx::Size(17, 16), false)); NumTiles 182 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(0, 0), true)); NumTiles 183 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(4, 0), true)); NumTiles 184 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(0, 4), true)); NumTiles 185 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(4, 4), gfx::Size(4, 0), true)); NumTiles 186 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(4, 4), gfx::Size(0, 4), true)); NumTiles 187 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(0, 0), gfx::Size(1, 1), true)); NumTiles 189 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(1, 1), gfx::Size(1, 1), true)); NumTiles 190 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(1, 1), gfx::Size(1, 2), true)); NumTiles 191 cc/base/tiling_data_unittest.cc EXPECT_EQ(0, NumTiles(gfx::Size(1, 1), gfx::Size(2, 1), true)); NumTiles 192 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(1, 1), true)); NumTiles 193 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(1, 2), true)); NumTiles 194 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(2, 1), true)); NumTiles 195 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(2, 2), gfx::Size(2, 2), true)); NumTiles 197 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(3, 3), gfx::Size(1, 3), true)); NumTiles 198 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(3, 3), gfx::Size(2, 3), true)); NumTiles 199 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(3, 3), gfx::Size(3, 3), true)); NumTiles 200 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(3, 3), gfx::Size(4, 3), true)); NumTiles 201 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(3, 3), gfx::Size(5, 3), true)); NumTiles 202 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(3, 3), gfx::Size(6, 3), true)); NumTiles 203 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, NumTiles(gfx::Size(3, 3), gfx::Size(7, 3), true)); NumTiles 205 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(1, 4), true)); NumTiles 206 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(2, 4), true)); NumTiles 207 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(3, 4), true)); NumTiles 208 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(4, 4), gfx::Size(4, 4), true)); NumTiles 209 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(5, 4), true)); NumTiles 210 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(4, 4), gfx::Size(6, 4), true)); NumTiles 211 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(4, 4), gfx::Size(7, 4), true)); NumTiles 212 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(4, 4), gfx::Size(8, 4), true)); NumTiles 213 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(4, 4), gfx::Size(9, 4), true)); NumTiles 214 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(4, 4), gfx::Size(10, 4), true)); NumTiles 215 cc/base/tiling_data_unittest.cc EXPECT_EQ(5, NumTiles(gfx::Size(4, 4), gfx::Size(11, 4), true)); NumTiles 217 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(1, 5), true)); NumTiles 218 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(2, 5), true)); NumTiles 219 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(3, 5), true)); NumTiles 220 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(4, 5), true)); NumTiles 221 cc/base/tiling_data_unittest.cc EXPECT_EQ(1, NumTiles(gfx::Size(5, 5), gfx::Size(5, 5), true)); NumTiles 222 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(6, 5), true)); NumTiles 223 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(7, 5), true)); NumTiles 224 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(5, 5), gfx::Size(8, 5), true)); NumTiles 225 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(5, 5), gfx::Size(9, 5), true)); NumTiles 226 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(5, 5), gfx::Size(10, 5), true)); NumTiles 227 cc/base/tiling_data_unittest.cc EXPECT_EQ(3, NumTiles(gfx::Size(5, 5), gfx::Size(11, 5), true)); NumTiles 229 cc/base/tiling_data_unittest.cc EXPECT_EQ(30, NumTiles(gfx::Size(8, 5), gfx::Size(16, 32), true)); NumTiles 618 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(3, 3), gfx::Size(6, 1), false)); NumTiles 631 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(3, 3), gfx::Size(6, 1), true)); NumTiles 672 cc/base/tiling_data_unittest.cc EXPECT_EQ(2, NumTiles(gfx::Size(3, 3), gfx::Size(1, 6), false)); NumTiles 685 cc/base/tiling_data_unittest.cc EXPECT_EQ(4, NumTiles(gfx::Size(3, 3), gfx::Size(1, 6), true));