Lines Matching refs:image_size
305 gfx::Size image_size(1000, 2000);
309 target_size, image_size, computed_size);
311 EXPECT_LE(adjusted_size.width(), image_size.width());
312 EXPECT_LE(adjusted_size.height(), image_size.height());
323 target_size, image_size, computed_size);
325 EXPECT_LE(adjusted_size.width(), image_size.width());
326 EXPECT_LE(adjusted_size.height(), image_size.height());
342 target_size, image_size, computed_size);
344 EXPECT_LE(adjusted_size.width(), image_size.width());
345 EXPECT_LE(adjusted_size.height(), image_size.height());
356 image_size.SetSize(1200, 1200);
359 target_size, image_size, computed_size);
361 EXPECT_LE(adjusted_size.width(), image_size.width());
362 EXPECT_LE(adjusted_size.height(), image_size.height());
376 image_size.SetSize(1200, 1200);
379 target_size, image_size, computed_size);
381 EXPECT_LE(adjusted_size.width(), image_size.width());
382 EXPECT_LE(adjusted_size.height(), image_size.height());
397 target_size, image_size, computed_size);
399 image_size.width());
400 EXPECT_LE(adjusted_size.height(), image_size.height());
414 image_size.SetSize(1400, 600);
417 target_size, image_size, computed_size);
419 EXPECT_LE(adjusted_size.width(), image_size.width());
420 EXPECT_LE(adjusted_size.height(), image_size.height());
435 target_size, image_size, computed_size);
437 EXPECT_LE(adjusted_size.width(), image_size.width());
438 EXPECT_LE(adjusted_size.height(), image_size.height());
577 gfx::Size image_size(1600, 1200);
578 gfx::Canvas canvas(image_size, ui::SCALE_FACTOR_100P, true);
587 std::vector<bool> rows(image_size.height(), false);
591 std::vector<bool> columns(image_size.width(), false);
627 gfx::Size image_size(1200, 1300);
628 gfx::Canvas canvas(image_size, ui::SCALE_FACTOR_100P, true);
637 canvas.FillRect(gfx::Rect(image_size), SkColorSetRGB(200, 210, 210));
640 image_size.width() - 2 * margin_horizontal,
643 image_size.height() - margin_vertical - 100,
644 image_size.width() - 2 * margin_horizontal,
648 image_size.width() - 2 * margin_horizontal,
719 EXPECT_LT(result.width(), image_size.width());
720 EXPECT_LT(result.height(), image_size.height());