Searched refs:insets2 (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | InsetsTest.java | 68 Insets insets2 = Insets.of(10, 20, 30, 40); in testInsetsEquality() local 69 assertEquals(insets1, insets2); in testInsetsEquality() 75 Insets insets2 = Insets.of(50, 60, 70, 80); in testAdd() local 76 assertEquals(Insets.add(insets1, insets2), Insets.of(60, 80, 100, 120)); in testAdd() 82 Insets insets2 = Insets.of(50, 70, 90, 110); in testSubtract() local 83 assertEquals(Insets.subtract(insets2, insets1), Insets.of(40, 50, 60, 70)); in testSubtract() 89 Insets insets2 = Insets.of(1000, 100, 10, 1); in testMin() local 90 assertEquals(Insets.min(insets2, insets1), Insets.of(1, 10, 10, 1)); in testMin() 96 Insets insets2 = Insets.of(1000, 100, 10, 1); in testMax() local 97 assertEquals(Insets.max(insets2, insets1), Insets.of(1000, 100, 100, 1000)); in testMax()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsTest.java | 284 final WindowInsets insets2 = new WindowInsets.Builder() in testEquality() local 293 insets, insets2); in testEquality() 295 assertEquals(insets, insets2); in testEquality() 296 assertEquals(insets.hashCode(), insets2.hashCode()); in testEquality()
|