Searched refs:w2 (Results 1 – 2 of 2) sorted by relevance
38 AccessibilityWindowInfo w2 = AccessibilityWindowInfo.obtain(w1); in testObtain() local39 assertNotSame(w1, w2); in testObtain()40 assertTrue(areWindowsEqual(w1, w2)); in testObtain()49 AccessibilityWindowInfo w2 = AccessibilityWindowInfo.CREATOR.createFromParcel(parcel); in testParceling() local50 assertNotSame(w1, w2); in testParceling()51 assertTrue(areWindowsEqual(w1, w2)); in testParceling()95 private boolean areWindowsEqual(AccessibilityWindowInfo w1, AccessibilityWindowInfo w2) { in areWindowsEqual() argument96 boolean equality = w1.equals(w2); in areWindowsEqual()97 equality &= TextUtils.equals(w1.getTitle(), w2.getTitle()); in areWindowsEqual()98 equality &= w1.isAccessibilityFocused() == w2.isAccessibilityFocused(); in areWindowsEqual()[all …]
143 final int w2 = actual.getWidth(); in createDiff() local145 final int width = Math.max(w1, w2); in createDiff()155 final boolean inBounds2 = i < w2 && j < h2; in createDiff()