Lines Matching refs:r2
240 const Rect &r2, int tolerance=1) {
244 if (abs(r1.left - r2.left) > tolerance) {
245 msg += String8::format("left(%d isn't %d)", r1.left, r2.left);
247 if (abs(r1.top - r2.top) > tolerance) {
251 msg += String8::format("top(%d isn't %d)", r1.top, r2.top);
253 if (abs(r1.right - r2.right) > tolerance) {
257 msg += String8::format("right(%d isn't %d)", r1.right, r2.right);
259 if (abs(r1.bottom - r2.bottom) > tolerance) {
263 msg += String8::format("bottom(%d isn't %d)", r1.bottom, r2.bottom);
268 r2.left, r2.top, r2.right, r2.bottom);