Home
last modified time | relevance | path

Searched refs:result (Results 1 – 10 of 10) sorted by relevance

/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/internal/
DModels.kt146 var result = depth in <lambda>() variable
147 result = 31 * result + text.hashCode() in <lambda>()
148 result = 31 * result + viewIdResourceName.hashCode() in <lambda>()
149 result = 31 * result + className.hashCode() in <lambda>()
150 result = 31 * result + packageName.hashCode() in <lambda>()
151 result = 31 * result + contentDescription.hashCode() in <lambda>()
152 result = 31 * result + isCheckable.hashCode() in <lambda>()
153 result = 31 * result + isChecked.hashCode() in <lambda>()
154 result = 31 * result + isClickable.hashCode() in <lambda>()
155 result = 31 * result + isEnabled.hashCode() in <lambda>()
[all …]
/test/screenshot/screenshot/src/androidTest/java/androidx/test/screenshot/
DMSSIMMatcherTest.kt37 val result = in performDiff_sameBitmaps() constant
45 assertThat(result).isEqualTo(1) in performDiff_sameBitmaps()
54 val result = in performDiff_checkedAgainstUnchecked() constant
62 assertThat(result).isWithin(0.001).of(0.516) in performDiff_checkedAgainstUnchecked()
71 val result = in performDiff_differentBorders() constant
79 assertThat(result).isWithin(0.001).of(0.951) in performDiff_differentBorders()
88 val result = in performDiff_fullscreen_differentBorders_dark() constant
96 assertThat(result).isWithin(0.001).of(0.990) in performDiff_fullscreen_differentBorders_dark()
105 val result = in performDiff_differentBorders_dark() constant
113 assertThat(result).isWithin(0.001).of(0.960) in performDiff_differentBorders_dark()
[all …]
DPixelPerfectMatcherTest.kt37 val result = in performDiff_sameBitmaps() constant
45 assertThat(result.matches).isTrue() in performDiff_sameBitmaps()
54 val result = in performDiff_sameSize_differentBorders() constant
62 assertThat(result.matches).isFalse() in performDiff_sameSize_differentBorders()
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DWaitMixin.java40 U result = condition.apply(mObject); in wait() local
41 for (long elapsedTime = 0; result == null || result.equals(false); in wait()
49 result = condition.apply(mObject); in wait()
51 return result; in wait()
DUiObject.java1027 StringBuilder result = new StringBuilder(); in touchesToString() local
1028 result.append("["); in touchesToString()
1030 result.append("["); in touchesToString()
1033 result.append(String.format("(%f, %f)", point.x, point.y)); in touchesToString()
1034 if (j + 1 < touches[i].length) result.append(", "); in touchesToString()
1036 result.append("]"); in touchesToString()
1037 if (i + 1 < touches.length) result.append(", "); in touchesToString()
1039 result.append("]"); in touchesToString()
1040 return result.toString(); in touchesToString()
DUiObject2.java825 U result = condition.apply(this); in scrollUntil() local
826 if (result != null && !Boolean.FALSE.equals(result)) { in scrollUntil()
828 return result; in scrollUntil()
860 U result = condition.apply(this); in scrollUntil() local
863 if (result != null && !Boolean.FALSE.equals(result) in scrollUntil()
867 return result; in scrollUntil()
902 U result = condition.getResult(); in scrollUntil()
903 return result != null && !Boolean.FALSE.equals(result); in scrollUntil()
/test/screenshot/screenshot/src/main/java/androidx/test/screenshot/matchers/
DMSSIMMatcher.kt57 val result = PixelPerfectMatcher().compareBitmaps(expected, given, width, height) in compareBitmaps() constant
58 return MatchResult(matches = false, diff = result.diff, comparisonStatistics = stats) in compareBitmaps()
/test/uiautomator/uiautomator/
Dbuild.gradle57 * in JDK21 that result in r8 compilation failures (b/281536562). While the r8 issue has been fixed
/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DUiDeviceTest.java89 for (UiObject2 result : results) { in testFindObjects()
90 resultTexts.add(result.getText()); in testFindObjects()
DUiObject2Test.java737 Integer result = scrollView.scrollUntil(Direction.DOWN, in testScrollUntil_eventConditionNotSatisfied() local
759 assertNull(result); in testScrollUntil_eventConditionNotSatisfied()