Lines Matching refs:scale_factor
14 void LoadImage(CefRefPtr<CefImage> image, double scale_factor) { in LoadImage() argument
15 image_util::LoadIconImage(image, scale_factor); in LoadImage()
18 void VerifyScaleEmpty(CefRefPtr<CefImage> image, float scale_factor) { in VerifyScaleEmpty() argument
23 EXPECT_FALSE(image->HasRepresentation(scale_factor)); in VerifyScaleEmpty()
24 EXPECT_FALSE(image->GetRepresentationInfo(scale_factor, actual_scale_factor, in VerifyScaleEmpty()
29 EXPECT_FALSE(image->RemoveRepresentation(scale_factor)); in VerifyScaleEmpty()
33 float scale_factor, in VerifyScaleExists() argument
41 if (scale_factor == expected_scale_factor) in VerifyScaleExists()
42 EXPECT_TRUE(image->HasRepresentation(scale_factor)); in VerifyScaleExists()
44 EXPECT_FALSE(image->HasRepresentation(scale_factor)); in VerifyScaleExists()
47 EXPECT_TRUE(image->GetRepresentationInfo(scale_factor, actual_scale_factor, in VerifyScaleExists()
54 if (scale_factor == expected_scale_factor) { in VerifyScaleExists()
55 EXPECT_TRUE(image->RemoveRepresentation(scale_factor)); in VerifyScaleExists()
56 EXPECT_FALSE(image->HasRepresentation(scale_factor)); in VerifyScaleExists()
58 EXPECT_FALSE(image->RemoveRepresentation(scale_factor)); in VerifyScaleExists()
63 float scale_factor, in VerifySaveAsBitmap() argument
71 scale_factor, CEF_COLOR_TYPE_RGBA_8888, CEF_ALPHA_TYPE_PREMULTIPLIED, in VerifySaveAsBitmap()
92 float scale_factor, in VerifySaveAsPNG() argument
99 image->GetAsPNG(scale_factor, true, pixel_width, pixel_height); in VerifySaveAsPNG()
116 float scale_factor, in VerifySaveAsJPEG() argument
123 image->GetAsJPEG(scale_factor, 80, pixel_width, pixel_height); in VerifySaveAsJPEG()