Searched refs:r1 (Results 1 – 4 of 4) sorted by relevance
169 Rect r1 = new Rect(0, 0, 10, 10); in testIntersects() local176 assertTrue(r1.intersects(r2)); in testIntersects()177 assertTrue(r2.intersects(r1)); in testIntersects()178 assertTrue(r1.intersects(r4)); in testIntersects()179 assertFalse(r1.intersects(r3)); in testIntersects()180 assertFalse(r1.intersects(r5)); in testIntersects()181 assertFalse(r1.intersects(r6)); in testIntersects()279 Rect r1 = new Rect(3, 4, 20, 30); in testHashCode() local282 assertFalse(r1.hashCode() == r.hashCode()); in testHashCode()283 assertEquals(r2.hashCode(), r1.hashCode()); in testHashCode()
359 public static boolean equals(Rect r1, Rectangle r2) {360 return r1.x == r2.x && r1.y == r2.y && r1.w == r2.width && r1.h == r2.height;
296 String r1 = m1.getResource().getName(); in filterMatchByFileName()298 return r1.compareTo(r2); in filterMatchByFileName()
558 public int compare(IndexedRegion r1, IndexedRegion r2) { in stripTopLayoutAttributes()559 return r1.getStartOffset() - r2.getStartOffset(); in stripTopLayoutAttributes()