/external/droiddriver/src/io/appium/droiddriver/scroll/ |
D | StepBasedScroller.java | 81 protected UiElement scrollTo(DroidDriver driver, Finder containerFinder, Finder itemFinder, in scrollTo() argument 83 Logs.call(this, "scrollTo", driver, containerFinder, itemFinder, direction, scrollBack); in scrollTo() 86 itemFinder = By.chain(containerFinder, itemFinder); in scrollTo() 94 if (i < maxScrolls && !scrollStepStrategy.scroll(driver, containerFinder, direction)) { in scrollTo() 107 containerFinder, maxScrolls, scrollStepStrategy); in scrollTo() 112 driver.on(containerFinder).scroll(direction.reverse()); in scrollTo() 119 public UiElement scrollTo(DroidDriver driver, Finder containerFinder, Finder itemFinder, in scrollTo() argument 122 scrollStepStrategy.beginScrolling(driver, containerFinder, itemFinder, direction); in scrollTo() 123 return scrollTo(driver, containerFinder, itemFinder, direction, false); in scrollTo() 125 scrollStepStrategy.endScrolling(driver, containerFinder, itemFinder, direction); in scrollTo() [all …]
|
D | AccessibilityEventScrollStepStrategy.java | 58 public boolean match(Finder containerFinder, PhysicalDirection direction) { in match() argument 59 return containerFinderAtEnd == containerFinder && directionAtEnd == direction; in match() 62 public void set(Finder containerFinder, PhysicalDirection direction) { in set() argument 63 containerFinderAtEnd = containerFinder; in set() 111 public boolean scroll(DroidDriver driver, Finder containerFinder, in scroll() argument 114 if (endData.match(containerFinder, direction)) { in scroll() 118 AccessibilityEvent event = doScrollAndReturnEvent(driver.on(containerFinder), direction); in scroll() 120 endData.set(containerFinder, direction); in scroll() 163 public void beginScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, in beginScrolling() argument 169 public void endScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, in endScrolling() argument
|
D | ForwardingScrollStepStrategy.java | 39 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { in scroll() argument 40 return delegate().scroll(driver, containerFinder, direction); in scroll() 49 public void beginScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, in beginScrolling() argument 51 delegate().beginScrolling(driver, containerFinder, itemFinder, direction); in beginScrolling() 55 public void endScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, in endScrolling() argument 57 delegate().endScrolling(driver, containerFinder, itemFinder, direction); in endScrolling()
|
D | DynamicSentinelStrategy.java | 210 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { in scroll() argument 211 UiElement oldSentinel = getOldSentinel(driver, containerFinder, direction); in scroll() 213 UiElement newSentinel = getSentinel(driver, containerFinder, direction); in scroll() 218 private UiElement getOldSentinel(DroidDriver driver, Finder containerFinder, in getOldSentinel() argument 220 return lastSentinel != null ? lastSentinel : getSentinel(driver, containerFinder, direction); in getOldSentinel() 224 public void beginScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, in beginScrolling() argument 230 public void endScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, in endScrolling() argument
|
D | SentinelStrategy.java | 175 protected UiElement getSentinel(DroidDriver driver, Finder containerFinder, in getSentinel() argument 177 Logs.call(this, "getSentinel", driver, containerFinder, direction); in getSentinel() 181 sentinelFinder = By.chain(containerFinder, backwardGetter); in getSentinel() 183 sentinelFinder = By.chain(containerFinder, forwardGetter); in getSentinel() 194 public void beginScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, in beginScrolling() argument 198 public void endScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, in endScrolling() argument
|
D | ScrollStepStrategy.java | 37 boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction); in scroll() argument 53 void beginScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, in beginScrolling() argument 65 void endScrolling(DroidDriver driver, Finder containerFinder, Finder itemFinder, in endScrolling() argument
|
D | Scroller.java | 38 UiElement scrollTo(DroidDriver driver, Finder containerFinder, Finder itemFinder); in scrollTo() argument 51 UiElement scrollTo(DroidDriver driver, Finder containerFinder, Finder itemFinder, in scrollTo() argument
|
D | StaticSentinelStrategy.java | 51 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { in scroll() argument 52 UiElement sentinel = getSentinel(driver, containerFinder, direction); in scroll()
|
D | Scrollers.java | 39 public boolean scroll(DroidDriver driver, Finder containerFinder, PhysicalDirection direction) { in scroll() argument 40 if (super.scroll(driver, containerFinder, direction)) { in scroll()
|
/external/droiddriver/src/io/appium/droiddriver/helpers/ |
D | ScrollerHelper.java | 31 private final Finder containerFinder; field in ScrollerHelper 34 public ScrollerHelper(Scroller scroller, DroidDriver driver, Finder containerFinder) { in ScrollerHelper() argument 37 this.containerFinder = containerFinder; in ScrollerHelper() 50 return scroller.scrollTo(driver, containerFinder, itemFinder); in scrollTo() 64 return scroller.scrollTo(driver, containerFinder, itemFinder, direction); in scrollTo()
|