Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 15 of 15) sorted by relevance

/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/internal/
DModels.kt27 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>()
DUtils.kt85 depth = 0,
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DByMatcher.java135 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 …]
DBy.java355 public static @NonNull BySelector depth(int depth) { in depth() argument
356 return new BySelector().depth(depth); in depth()
DBySelector.java605 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
DUiObject2.java260 return findObjects(By.depth(1)); in getChildren()
/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DBySelectorTest.java354 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()
DUiObject2Test.java312 UiObject2 objectAtDepth1 = mDevice.findObject(By.depth(1)); in testGetParent()
/test/uiautomator/uiautomator/src/androidTest/java/androidx/test/uiautomator/
DBySelectorTest.java165 By.depth(1).depth(2); in testDepth_alreadyDefined()
170 By.depth(-1); in testDepth_negativeValue()
/test/uiautomator/uiautomator/api/
D2.2.0.txt13 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);
Drestricted_2.2.0.txt13 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);
Drestricted_2.3.0-beta01.txt13 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);
D2.3.0-beta01.txt13 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);
Dcurrent.txt65 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);
Drestricted_current.txt65 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);