Lines Matching refs:image_size
290 gfx::Size image_size(1000, 2000);
294 target_size, image_size, computed_size);
296 EXPECT_LE(adjusted_size.width(), image_size.width());
297 EXPECT_LE(adjusted_size.height(), image_size.height());
308 target_size, image_size, computed_size);
310 EXPECT_LE(adjusted_size.width(), image_size.width());
311 EXPECT_LE(adjusted_size.height(), image_size.height());
327 target_size, image_size, computed_size);
329 EXPECT_LE(adjusted_size.width(), image_size.width());
330 EXPECT_LE(adjusted_size.height(), image_size.height());
341 image_size.SetSize(1200, 1200);
344 target_size, image_size, computed_size);
346 EXPECT_LE(adjusted_size.width(), image_size.width());
347 EXPECT_LE(adjusted_size.height(), image_size.height());
361 image_size.SetSize(1200, 1200);
364 target_size, image_size, computed_size);
366 EXPECT_LE(adjusted_size.width(), image_size.width());
367 EXPECT_LE(adjusted_size.height(), image_size.height());
382 target_size, image_size, computed_size);
384 EXPECT_LE(adjusted_size.width(), image_size.width());
385 EXPECT_LE(adjusted_size.height(), image_size.height());
399 image_size.SetSize(1400, 600);
402 target_size, image_size, computed_size);
404 EXPECT_LE(adjusted_size.width(), image_size.width());
405 EXPECT_LE(adjusted_size.height(), image_size.height());
420 target_size, image_size, computed_size);
422 EXPECT_LE(adjusted_size.width(), image_size.width());
423 EXPECT_LE(adjusted_size.height(), image_size.height());
562 gfx::Size image_size(1600, 1200);
563 gfx::Canvas canvas(image_size, 1.0f, true);
571 std::vector<bool> rows(image_size.height(), false);
575 std::vector<bool> columns(image_size.width(), false);
611 gfx::Size image_size(1200, 1300);
612 gfx::Canvas canvas(image_size, 1.0f, true);
621 canvas.FillRect(gfx::Rect(image_size), SkColorSetRGB(200, 210, 210));
624 image_size.width() - 2 * margin_horizontal,
627 image_size.height() - margin_vertical - 100,
628 image_size.width() - 2 * margin_horizontal,
632 image_size.width() - 2 * margin_horizontal,
703 EXPECT_LT(result.width(), image_size.width());
704 EXPECT_LT(result.height(), image_size.height());