Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 5 of 5) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/
DRectTest.java46 Rect r2 = new Rect(r); in testRectRect() local
48 assertNotSame(r2, r); in testRectRect()
49 assertEquals(r2, r); in testRectRect()
54 Rect r2 = r.set(3, 4, 20, 30); in testSetIntIntIntInt() local
56 assertSame(r2, r); in testSetIntIntIntInt()
57 assertEquals(3, r2.x); in testSetIntIntIntInt()
58 assertEquals(4, r2.y); in testSetIntIntIntInt()
59 assertEquals(20, r2.w); in testSetIntIntIntInt()
60 assertEquals(30, r2.h); in testSetIntIntIntInt()
65 Rect r2 = new Rect(3, 4, 20, 30); in testSetRect() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSwtUtilsTest.java204 Rectangle r2 = new Rectangle(3, 4, 20, 30); in testSetRectangle() local
205 SwtUtils.set(r, r2); in testSetRectangle()
215 Rect r2 = SwtUtils.toRect(r); in testRectRectangle() local
217 assertEquals(3, r2.x); in testRectRectangle()
218 assertEquals(4, r2.y); in testRectRectangle()
219 assertEquals(20, r2.w); in testRectRectangle()
220 assertEquals(30, r2.h); in testRectRectangle()
/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.java297 String r2 = m2.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()