Lines Matching refs:r1
216 ::testing::AssertionResult GLTest::assertRectEq(const Rect &r1, const Rect &r2,
220 if (abs(r1.left - r2.left) > tolerance) {
221 msg += String8::format("left(%d isn't %d)", r1.left, r2.left);
223 if (abs(r1.top - r2.top) > tolerance) {
227 msg += String8::format("top(%d isn't %d)", r1.top, r2.top);
229 if (abs(r1.right - r2.right) > tolerance) {
233 msg += String8::format("right(%d isn't %d)", r1.right, r2.right);
235 if (abs(r1.bottom - r2.bottom) > tolerance) {
239 msg += String8::format("bottom(%d isn't %d)", r1.bottom, r2.bottom);
243 r1.left, r1.top, r1.right, r1.bottom,