Home
last modified time | relevance | path

Searched refs:r1 (Results 1 – 4 of 4) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/
DRectTest.java169 Rect r1 = new Rect(0, 0, 10, 10); in testIntersects() local
176 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() local
282 assertFalse(r1.hashCode() == r.hashCode()); in testHashCode()
283 assertEquals(r2.hashCode(), r1.hashCode()); in testHashCode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSwtUtils.java359 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;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DSourceRevealer.java296 String r1 = m1.getResource().getName(); in filterMatchByFileName()
298 return r1.compareTo(r2); in filterMatchByFileName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java558 public int compare(IndexedRegion r1, IndexedRegion r2) { in stripTopLayoutAttributes()
559 return r1.getStartOffset() - r2.getStartOffset(); in stripTopLayoutAttributes()