A
UiCollection
that supports searching for items in scrollable layout elements. This class can
be used with horizontally or vertically scrollable controls.
Summary
[Expand]
Inherited Constants
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.android.uiautomator.core.UiObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Performs a backwards fling action with the default number of fling
steps (5).
|
||||||||||
|
Performs a forward fling with the default number of fling steps (5).
|
||||||||||
|
Performs a fling gesture to reach the beginning of a scrollable layout element.
|
||||||||||
|
Performs a fling gesture to reach the end of a scrollable layout element.
|
||||||||||
|
Searches for a child element in the present scrollable container.
|
||||||||||
|
Searches for a child element in the present scrollable container.
|
||||||||||
|
Searches for a child element in the present scrollable container that
matches the selector you provided.
|
||||||||||
|
Searches for a child element in the present scrollable container.
|
||||||||||
|
Searches for a child element in the present scrollable
container.
|
||||||||||
|
Gets the maximum number of scrolls allowed when performing a
scroll action in search of a child element.
|
||||||||||
|
Returns the percentage of a widget's size that's considered as a no-touch
zone when swiping.
|
||||||||||
|
Performs a backward scroll.
|
||||||||||
|
Performs a backward scroll with the default number of scroll steps (55).
|
||||||||||
|
Performs a forward scroll action on the scrollable layout element until
the content-description is found, or until swipe attempts have been exhausted.
|
||||||||||
|
Performs a forward scroll with the default number of scroll steps (55).
|
||||||||||
|
Performs a forward scroll.
|
||||||||||
|
Perform a scroll forward action to move through the scrollable layout
element until a visible item that matches the selector is found.
|
||||||||||
|
Perform a forward scroll action to move through the scrollable layout element until
a visible item that matches the
UiObject
is found.
|
||||||||||
|
Performs a forward scroll action on the scrollable layout element until
the text you provided is visible, or until swipe attempts have been exhausted.
|
||||||||||
|
Scrolls to the beginning of a scrollable layout element.
|
||||||||||
|
Scrolls to the beginning of a scrollable layout element.
|
||||||||||
|
Scrolls to the end of a scrollable layout element.
|
||||||||||
|
Scrolls to the end of a scrollable layout element.
|
||||||||||
|
Set the direction of swipes to be horizontal when performing scroll actions.
|
||||||||||
|
Set the direction of swipes to be vertical when performing scroll actions.
|
||||||||||
|
Sets the maximum number of scrolls allowed when performing a
scroll action in search of a child element.
|
||||||||||
|
Sets the percentage of a widget's size that's considered as no-touch
zone when swiping.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Used privately when performing swipe searches to decide if an element has become
visible or not.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.android.uiautomator.core.UiCollection
|
|||||||||||
From class
com.android.uiautomator.core.UiObject
|
|||||||||||
From class
java.lang.Object
|