• Home
  • History
  • Annotate
  • only in /external/droiddriver/src/com/google/android/droiddriver/scroll/
History log of /external/droiddriver/src/com/google/android/droiddriver/scroll/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cf1203b8078bed407ed0035c201746fae136439a 27-Jun-2014 Kevin Jin <kjin@google.com> add validators for exmpted classes and scroll action

Change-Id: Iad22351b46df771e7a9f92edb9d84df44b5fe572
ccessibilityEventScrollStepStrategy.java
27b635e33f18c439d6e511d71c762ae1352b1bc8 26-Jun-2014 Kevin Jin <kjin@google.com> Clean up some toString methods

fix DefaultAccessibilityValidator
remove dead/wrong code in StepBasedScroller

Change-Id: I2b847fda53e759f4eada975791fd45b7b22847a8
ccessibilityEventScrollStepStrategy.java
orwardingScrollStepStrategy.java
tepBasedScroller.java
74676fdd3c8a9e599eddd13bea56898674d9916a 12-Jun-2014 Kevin Jin <kjin@google.com> add Validator interface and DefaultAccessibilityValidator

refactor for cleaner implementation

Change-Id: I6ba13c5a46e444806f492bc7de365405fecae0d5
ccessibilityEventScrollStepStrategy.java
a738fe74f57f48dde2dd7a28479bab3f5441dadb 30-May-2014 Kevin Jin <kjin@google.com> add AccessibilityDriver for testing Accessibility

This is the first cut with known issues, e.g. needs to handle
click on EditText differently, etc. Thic cl sets up the architecture
of AccessibilityDriver; details will be filled in follow-up cls.

Change-Id: I2881b28075eba478a5aad9d7e945b5d55e78da89
ccessibilityEventScrollStepStrategy.java
b4e825291041d963c5bda0349638565949d999f6 16-May-2014 Jake Slack <jaslack@google.com> Roll back change to doScroll and add comment on why.

Change-Id: I3cbe232df929ca48bea81817a86782f9e1b684b4
ccessibilityEventScrollStepStrategy.java
18e55387b4fc6b062d8630dd100be0cb58b03693 13-May-2014 Jake Slack <jaslack@google.com> Simplify scroll call in doScroll.

Change-Id: I0d64f9f5aaade6a14143d924a4357412fb5e3adf
ccessibilityEventScrollStepStrategy.java
e0ad7adf66e62e536a0ce66fcb099a3518cda010 23-Apr-2014 Kevin Jin <kjin@google.com> consolidate ByAttribute, MatchStrategy by Predicate

also simplified SentinelStrategy using Predicate.
fix TestRunner when no activities are on back stack.
remove deprecated UnrecoverableFailure since callers on
old branches have been fixed.

Change-Id: Ib9f59a6a0cd733eecec2e414588286f173628516
aseSentinelStrategy.java
ynamicSentinelStrategy.java
entinelStrategy.java
taticSentinelStrategy.java
17342a5115d7575d44a99fed9c7032e3ab316dcc 19-Apr-2014 Kevin Jin <kjin@google.com> remove deps on Guava

This is to simplify the build and deployment set-up
for DroidDriver clients.

Change-Id: I02238d8721d4d3a505a851138c40cb086d2ff11f
ynamicSentinelStrategy.java
entinelStrategy.java
d9ecc536e454bd4c23d6e0bbf5af1328e34b1748 01-Apr-2014 Kevin Jin <kjin@google.com> move ProgressBarScrollStepStrategy to Scrollers

Change-Id: I928c86024f8f498dde46298804969998eeb56ba2
orwardingScrollStepStrategy.java
crollers.java
df66b27599d3679de93f14ef972a32100d231683 29-Mar-2014 Kevin Jin <kjin@google.com> add two new scroll APIs

ForwardingScrollStepStrategy and NullAccessibilityEventScrollStepStrategy

Change-Id: I16efb179f35d3fc178801c596a1d896c8b1e7644
ccessibilityEventScrollStepStrategy.java
orwardingScrollStepStrategy.java
147f9cda75b8f258435c53bf73f058f09ca0134d 27-Mar-2014 Kevin Jin <kjin@google.com> Add comment on why scroll returns true even on null event

Change-Id: If61d43ddcd088eac5260a416553a8d8c6f4b539a
ccessibilityEventScrollStepStrategy.java
1d0f3c02fc3673159f2b6496823fd7b9228b7891 11-Mar-2014 Kevin Jin <kjin@google.com> Wraps calls to UiAutomation API.

Currently supports fail-fast if UiAutomation throws IllegalStateException.

Change-Id: I1e6472d113a63b14d3615ef0084ea00d209f7e63
ccessibilityEventScrollStepStrategy.java
82b6ee7292ed134982416fedb0a10ac2ff310416 25-Feb-2014 Jake Slack <jaslack@google.com> AccessibilityEventScrollStepStrategy needs to be retrieving the last
event in the queue after scrolling.

Change-Id: I27e07dab6f9f004f4ce11d008f3ee973f7f8d277
ccessibilityEventScrollStepStrategy.java
a6749c6913f014416419850a9fb5235a745fdeb8 24-Feb-2014 Kevin Jin <kjin@google.com> fix the hanging when the app is constantly busy (no idle)

The main thread may not enter the idle state when animation is playing, for example, the ProgressBar. Do not call waitForIdleSync in UiAutomationDriver.

Change-Id: If3c355c8aa302a076895fd62a6428874b24f5d39
crollers.java
39b609194aea07e7f1d8ead084d48d1171198f02 05-Feb-2014 Kevin Jin <kjin@google.com> delete DroidDriver samples to remove dep on actionbarsherlock

add sync on UI thread idle in UiAutomationDriver
refine AccessibilityEventScrollStepStrategy api

Change-Id: I176eb1a40f0a914121c60b887784760ebe354ae4
ccessibilityEventScrollStepStrategy.java
5d6ce8025e73d9f7f1631bfe05cff32b055d1939 03-Feb-2014 Mingyu Wu <mwu@google.com> Add more method for the class and also open up the event variable to be
able to access from inheritted class.

Change-Id: If247d6a8d411ffebdee246e0cd0932c693055b7a
ccessibilityEventScrollStepStrategy.java
9031ed9b636ccd3b942eefb85dbfae2aed9e4f11 03-Dec-2013 Kevin Jin <kjin@google.com> add ScrollStepStrategy.doScroll for customization
make SwipeAction margin ratios adjustable

Change-Id: I848471d1d72d0e1d7009f64ff242ff281cff7017
ccessibilityEventScrollStepStrategy.java
aseSentinelStrategy.java
ynamicSentinelStrategy.java
crollStepStrategy.java
taticSentinelStrategy.java
5cf5f03c64b65b1f1ecd2140b8d6605ac05b6199 22-Nov-2013 Kevin Jin <kjin@google.com> add driver as a parameter to the ScrollStepStrategy hooks in order to allow
more customization

Change-Id: If50126e82bdeb18511379e6e588c14fa66e28562
ccessibilityEventScrollStepStrategy.java
aseSentinelStrategy.java
ynamicSentinelStrategy.java
crollStepStrategy.java
tepBasedScroller.java
026e2d0318ee13637adbc71365592705c149c157 21-Nov-2013 Kevin Jin <kjin@google.com> add hooks in ScrollStepStrategy: beginScrolls and endScrolls
A possible usage is the implementations can use the hooks to set/reset internal data

Change-Id: I882faf2a6f35098ef6742d9a61a9351533ab9cf9
ccessibilityEventScrollStepStrategy.java
aseSentinelStrategy.java
ynamicSentinelStrategy.java
crollStepStrategy.java
tepBasedScroller.java
ef176eeb3b29df478522c46cc100f421365b008e 14-Nov-2013 Kevin Jin <kjin@google.com> warn the brittle SwipeAction.toFling and remove its use in StepBasedScroller
optimize AccessibilityEventScrollStepStrategy to match UiAutomator

Change-Id: Iacac499659ca6d94daf82f5889700234b231e4d9
ccessibilityEventScrollStepStrategy.java
tepBasedScroller.java
c39b04e0e5d3962153cd860d1430857fe625da90 07-Nov-2013 Kevin Jin <kjin@google.com> consolidate XPath code into ByXPath
dumpUiElementTree now includes invisible UiElements

Change-Id: Ib7e1346e4e16dac0a05bb911aec4389483daaf8a
crollers.java
tepBasedScroller.java
9c92f46280cf3943701e75349833c68b584992e2 06-Nov-2013 Kevin Jin <kjin@google.com> introduce AccessibilityEventScrollStepStrategy which is
a simple ScrollStepStrategy for UiAutomation and behaves like UiScrollable.
rename SentinelScroller to StepBasedScroller

Change-Id: I424140817d53c63165a66a5fffb5cae24c47288b
bstractSentinelStrategy.java
ccessibilityEventScrollStepStrategy.java
aseSentinelStrategy.java
ynamicSentinelStrategy.java
crollStepStrategy.java
crollers.java
entinelScroller.java
entinelStrategy.java
taticSentinelStrategy.java
tepBasedScroller.java
dfc316e1bfb37148c50947c46f5aaed5cb2e708a 30-Oct-2013 Kevin Jin <kjin@google.com> Take snapshot of the underlying View or AccessibilityNodeInfo tree.
This improves reliability.
Add JavaDoc on order of getChildren.

Change-Id: Iec4a4b693ef29eea1e067d538bab0078699e3d50
bstractSentinelStrategy.java
ynamicSentinelStrategy.java
entinelScroller.java
a5bb27d69e8501b7c8321b838646d0b8f6fa0d05 05-Sep-2013 Kevin Jin <kjin@google.com> cosmetic changes for JavaDoc and logging for scroll

Change-Id: I5bf1044c51b642d682d4a0b3b4dc18aabe3a12cd
ynamicSentinelStrategy.java
b5194043e9f0a1319dc7251f829febab3c76e277 16-Aug-2013 Kevin Jin <kjin@google.com> add methods to Direction classes for symmetry
add optimization to SentinelScroller:
optionally start search from beginning by flinging or KEYCODE_MOVE_HOME
This seems to gain 5% speed

Change-Id: I1b303b209c5a43929314fa070398a52d776ac74a
bstractSentinelStrategy.java
irection.java
ynamicSentinelStrategy.java
entinelScroller.java
entinelStrategy.java
taticSentinelStrategy.java
0319e7c14a536a11851cc30cfa57241ce90fec11 14-Aug-2013 Kevin Jin <kjin@google.com> Enforce childFinder is relative to parentFinder in SentinelScroller
clarify the terms of child and descendant
add XPaths.withDescendant
some cosmetic changes

Change-Id: Iaf6b7c699ccca5464db7e451d3c11715c18d4c69
ynamicSentinelStrategy.java
croller.java
entinelScroller.java
taticSentinelStrategy.java
1edf859ee1da92a5d03289c6398f982679c77049 10-Aug-2013 Kevin Jin <kjin@google.com> extract matches method from MatchFinder:
Instead of inheritance by overriding matches, use composition of
a predicate.

organize imports.

Change-Id: I1aa95cb14822fb27151cda8bdffd61580b49c5e3
bstractSentinelStrategy.java
ynamicSentinelStrategy.java
taticSentinelStrategy.java
6f160bb942de53103e4f4ed54acaafe2da629fcf 10-Aug-2013 Kevin Jin <kjin@google.com> remove getChild and getChildCount in UiElement
wait for sentinel in the corner cases when parent updates slowly

Change-Id: I9bbe36c6566dca8453ec12030d17703790ae9a25
bstractSentinelStrategy.java
ynamicSentinelStrategy.java
taticSentinelStrategy.java
29d66eeee5d30f7db747cceeb84defec961b4125 09-Aug-2013 Kevin Jin <kjin@google.com> rename ScrollDirection to scroll.Direction.PhysicalDirection
rename PressKeyAction to SingleKeyAction
rename TypeAction to TextAction

Change-Id: I433e2fbd466143da48ab0b9d6094509560c01eca
bstractSentinelStrategy.java
irection.java
ynamicSentinelStrategy.java
croller.java
entinelScroller.java
entinelStrategy.java
taticSentinelStrategy.java
70e34108e0fc19277e642aef3b36b65b8e254899 08-Aug-2013 Kevin Jin <kjin@google.com> add UiDevice for global actions
add UiAutomationDriver#clearAccessibilityNodeInfoCache
to work around an Accessibility bug

Change-Id: I42db1d61944240520cc34f1ccb4537f572adecf9
ynamicSentinelStrategy.java
f9c6c5063b38b623679e47d7095cccddb0481319 27-Jul-2013 Kevin Jin <kjin@google.com> add scroll API
clean up Events usage
revise some JavaDoc

Change-Id: Ib67fa6ecea5d7a3ef8325bc4e1778645c46d6741
bstractSentinelStrategy.java
irection.java
ynamicSentinelStrategy.java
croller.java
entinelScroller.java
entinelStrategy.java
taticSentinelStrategy.java