Lines Matching refs:rect

61     MinikinRect rect;  in TEST_F()  local
75 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
76 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
77 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
78 EXPECT_EQ(70.0f, rect.mRight); in TEST_F()
79 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
94 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
95 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
96 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
97 EXPECT_EQ(90.0f, rect.mRight); in TEST_F()
98 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
113 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
114 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
115 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
116 EXPECT_EQ(160.0f, rect.mRight); in TEST_F()
117 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
132 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
133 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
134 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
135 EXPECT_EQ(110.0f, rect.mRight); in TEST_F()
136 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
148 MinikinRect rect; in TEST_F() local
163 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
164 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
165 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
166 EXPECT_EQ(70.0f, rect.mRight); in TEST_F()
167 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
182 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
183 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
184 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
185 EXPECT_EQ(95.0f, rect.mRight); in TEST_F()
186 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
202 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
203 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
204 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
205 EXPECT_EQ(170.0f, rect.mRight); in TEST_F()
206 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
223 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
224 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
225 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
226 EXPECT_EQ(120.0f, rect.mRight); in TEST_F()
227 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
241 MinikinRect rect; in TEST_F() local
257 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
258 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
259 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
260 EXPECT_EQ(70.0f, rect.mRight); in TEST_F()
261 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
276 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
277 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
278 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
279 EXPECT_EQ(85.0f, rect.mRight); in TEST_F()
280 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
296 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
297 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
298 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
299 EXPECT_EQ(140.0f, rect.mRight); in TEST_F()
300 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()
317 getBounds(text, Bidi::LTR, paint, &rect); in TEST_F()
318 EXPECT_EQ(0.0f, rect.mLeft); in TEST_F()
319 EXPECT_EQ(-10.0f, rect.mTop); in TEST_F()
320 EXPECT_EQ(100.0f, rect.mRight); in TEST_F()
321 EXPECT_EQ(0.0f, rect.mBottom); in TEST_F()