Home
last modified time | relevance | path

Searched refs:w2 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityWindowInfoTest.java38 AccessibilityWindowInfo w2 = AccessibilityWindowInfo.obtain(w1); in testObtain() local
39 assertNotSame(w1, w2); in testObtain()
40 assertTrue(areWindowsEqual(w1, w2)); in testObtain()
49 AccessibilityWindowInfo w2 = AccessibilityWindowInfo.CREATOR.createFromParcel(parcel); in testParceling() local
50 assertNotSame(w1, w2); in testParceling()
51 assertTrue(areWindowsEqual(w1, w2)); in testParceling()
95 private boolean areWindowsEqual(AccessibilityWindowInfo w1, AccessibilityWindowInfo w2) { in areWindowsEqual() argument
96 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 …]
/cts/hostsidetests/theme/src/android/theme/cts/
DComparisonTask.java143 final int w2 = actual.getWidth(); in createDiff() local
145 final int width = Math.max(w1, w2); in createDiff()
155 final boolean inBounds2 = i < w2 && j < h2; in createDiff()