| /test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/internal/ |
| D | Models.kt | 27 val depth: Int, in <lambda>() constant in androidx.test.uiautomator.internal.ViewNode 54 depth: Int, in <lambda>() 68 depth = depth + 1 in <lambda>() 86 depth = depth, in <lambda>() 119 if (depth != other.depth) return false in <lambda>() 146 var result = depth in <lambda>()
|
| D | Utils.kt | 85 depth = 0,
|
| /test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/ |
| D | ByMatcher.java | 135 private List<AccessibilityNodeInfo> findMatches(AccessibilityNodeInfo node, int depth, in findMatches() argument 146 partialMatches = partialMatch.matchChildren(node, depth, partialMatches); in findMatches() 151 mTargetSelector, mRootSelector, node, depth, depth); in findMatches() 171 ret.addAll(findMatches(child, depth + 1, partialMatches)); in findMatches() 229 private PartialMatch(BySelector target, BySelector selector, int depth, in PartialMatch() argument 233 mMatchDepth = depth; in PartialMatch() 264 BySelector selector, AccessibilityNodeInfo node, int depth) { in matchesSelector() argument 265 return (selector.mMinDepth == null || depth >= selector.mMinDepth) in matchesSelector() 266 && (selector.mMaxDepth == null || depth <= selector.mMaxDepth) in matchesSelector() 315 PartialMatchList matchChildren(AccessibilityNodeInfo node, int depth, in matchChildren() argument [all …]
|
| D | By.java | 355 public static @NonNull BySelector depth(int depth) { in depth() argument 356 return new BySelector().depth(depth); in depth()
|
| D | BySelector.java | 605 public @NonNull BySelector depth(int exactDepth) { in depth() method in BySelector 606 return depth(exactDepth, exactDepth); in depth() 610 public @NonNull BySelector depth(int min, int max) { in depth() method in BySelector
|
| D | UiObject2.java | 260 return findObjects(By.depth(1)); in getChildren()
|
| /test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/ |
| D | BySelectorTest.java | 354 assertTrue(mDevice.hasObject(By.res(TEST_APP, "tree_N1").depth(5))); in testDepth() 355 assertTrue(mDevice.hasObject(By.res(TEST_APP, "tree_N2").depth(6))); in testDepth() 356 assertTrue(mDevice.hasObject(By.res(TEST_APP, "tree_N3").depth(6))); in testDepth() 357 assertTrue(mDevice.hasObject(By.res(TEST_APP, "tree_N4").depth(7))); in testDepth() 358 assertTrue(mDevice.hasObject(By.res(TEST_APP, "tree_N5").depth(7))); in testDepth() 361 assertFalse(mDevice.hasObject(By.res(TEST_APP, "tree_N1").depth(0))); in testDepth() 362 assertFalse(mDevice.hasObject(By.res(TEST_APP, "tree_N1").depth(1))); in testDepth() 363 assertFalse(mDevice.hasObject(By.res(TEST_APP, "tree_N2").depth(1))); in testDepth() 364 assertFalse(mDevice.hasObject(By.res(TEST_APP, "tree_N3").depth(1))); in testDepth() 365 assertFalse(mDevice.hasObject(By.res(TEST_APP, "tree_N4").depth(2))); in testDepth()
|
| D | UiObject2Test.java | 312 UiObject2 objectAtDepth1 = mDevice.findObject(By.depth(1)); in testGetParent()
|
| /test/uiautomator/uiautomator/src/androidTest/java/androidx/test/uiautomator/ |
| D | BySelectorTest.java | 165 By.depth(1).depth(2); in testDepth_alreadyDefined() 170 By.depth(-1); in testDepth_negativeValue()
|
| /test/uiautomator/uiautomator/api/ |
| D | 2.2.0.txt | 13 method public static androidx.test.uiautomator.BySelector! depth(int); 48 method public androidx.test.uiautomator.BySelector! depth(int); 49 method public androidx.test.uiautomator.BySelector! depth(int, int);
|
| D | restricted_2.2.0.txt | 13 method public static androidx.test.uiautomator.BySelector! depth(int); 48 method public androidx.test.uiautomator.BySelector! depth(int); 49 method public androidx.test.uiautomator.BySelector! depth(int, int);
|
| D | restricted_2.3.0-beta01.txt | 13 method public static androidx.test.uiautomator.BySelector depth(int); 57 method public androidx.test.uiautomator.BySelector depth(int); 58 method public androidx.test.uiautomator.BySelector depth(int, int);
|
| D | 2.3.0-beta01.txt | 13 method public static androidx.test.uiautomator.BySelector depth(int); 57 method public androidx.test.uiautomator.BySelector depth(int); 58 method public androidx.test.uiautomator.BySelector depth(int, int);
|
| D | current.txt | 65 method public static androidx.test.uiautomator.BySelector depth(int); 109 method public androidx.test.uiautomator.BySelector depth(int); 110 method public androidx.test.uiautomator.BySelector depth(int, int);
|
| D | restricted_current.txt | 65 method public static androidx.test.uiautomator.BySelector depth(int); 109 method public androidx.test.uiautomator.BySelector depth(int); 110 method public androidx.test.uiautomator.BySelector depth(int, int);
|