Lines Matching refs:scaled_width
112 int scaled_width, scaled_height; in TEST() local
115 ComputeScale(2560, 1600, 5, &scaled_width, &scaled_height); in TEST()
116 EXPECT_EQ(2560, scaled_width); in TEST()
120 ComputeScale(4096, 2560, 5, &scaled_width, &scaled_height); in TEST()
121 EXPECT_EQ(2048, scaled_width); in TEST()
125 ComputeScale(16000, 10000, 5, &scaled_width, &scaled_height); in TEST()
126 EXPECT_EQ(2000, scaled_width); in TEST()
130 ComputeScale(5120, 1600, 5, &scaled_width, &scaled_height); in TEST()
131 EXPECT_EQ(2560, scaled_width); in TEST()
135 ComputeScale(8192, 1024, 5, &scaled_width, &scaled_height); in TEST()
136 EXPECT_EQ(4096, scaled_width); in TEST()
140 ComputeScale(1024, 8192, 5, &scaled_width, &scaled_height); in TEST()
141 EXPECT_EQ(256, scaled_width); in TEST()
147 int scaled_width, scaled_height; in TEST() local
150 ComputeScale(2560, 1600, 15, &scaled_width, &scaled_height); in TEST()
151 EXPECT_EQ(1280, scaled_width); in TEST()
155 ComputeScale(4096, 2560, 15, &scaled_width, &scaled_height); in TEST()
156 EXPECT_EQ(2048, scaled_width); in TEST()
160 ComputeScale(64000, 40000, 15, &scaled_width, &scaled_height); in TEST()
161 EXPECT_EQ(4000, scaled_width); in TEST()
165 ComputeScale(5120, 1600, 15, &scaled_width, &scaled_height); in TEST()
166 EXPECT_EQ(2560, scaled_width); in TEST()
170 ComputeScale(8192, 1024, 15, &scaled_width, &scaled_height); in TEST()
171 EXPECT_EQ(4096, scaled_width); in TEST()
175 ComputeScale(1024, 8192, 15, &scaled_width, &scaled_height); in TEST()
176 EXPECT_EQ(256, scaled_width); in TEST()
301 int scaled_width, scaled_height; in TEST() local
307 &scaled_width, &scaled_height); in TEST()
308 EXPECT_EQ(640, scaled_width); in TEST()
317 &scaled_width, &scaled_height); in TEST()
318 EXPECT_EQ(640, scaled_width); in TEST()