History log of /external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
988386cd9cc46bf5399846a414c09e0af48b1e5a 17-Jun-2014 Kevin Jin <kjin@google.com> expose setAccessibilityNodeInfoCacheClearer

Change-Id: I39780422d66133738978b028252c960765490623
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
74676fdd3c8a9e599eddd13bea56898674d9916a 12-Jun-2014 Kevin Jin <kjin@google.com> add Validator interface and DefaultAccessibilityValidator

refactor for cleaner implementation

Change-Id: I6ba13c5a46e444806f492bc7de365405fecae0d5
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.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
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.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
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.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
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.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
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
c39b04e0e5d3962153cd860d1430857fe625da90 07-Nov-2013 Kevin Jin <kjin@google.com> consolidate XPath code into ByXPath
dumpUiElementTree now includes invisible UiElements

Change-Id: Ib7e1346e4e16dac0a05bb911aec4389483daaf8a
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.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
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
7c8b54f99e678a1b40b98fc3069217877ec5199c 02-Oct-2013 Kevin Jin <kjin@google.com> adjust steps in SwipeAction for faster execution

Change-Id: Id46e7343f26bd7880e66dd88975688011fb4d126
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
f50519233078e65a056cff49d7b4989d57c3e750 09-Aug-2013 Kevin Jin <kjin@google.com> merge Screenshotter to UiDevice
rename Abstract* to Base*
move InputInjector to actions subpackage

Change-Id: I3e119b4052bc032f2d09d630da51b38670239da9
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.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
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
21a0001e2426644dd68e6140b5873ebaeafcc3dc 06-Aug-2013 Kevin Jin <kjin@google.com> clear internal data while refreshing root
wait for AccessibilityEvent after injecting events
via UiAutomation

Change-Id: I3d56e07cf2e7912a21de12d1a7bacd4f33e1bc5a
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
0b9344441daed36d371df59ca4735d1e0e008189 18-Jul-2013 Kevin Jin <kjin@google.com> fix memory leak in Contexts UiElement cache
UiElement values need to be WeakReference as well

Change-Id: I31f6e833216154a3d3da7ebabc856d8ce8221631
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
7dde4b200c490587409e0301e58261210e7a5896 19-Jun-2013 Tony Wickham <twickham@google.com> Fixed issue with clicking on partially visible elements.

Because UiElement.click() was performed on the center of elements, it didn't
work when the element's center was off screen. To fix this, I added a
getVisibleBounds() method to UiElement, which is implemented by ViewElement
and UiAutomationElement. This method is used in ClickAction to make sure that
the click is performed on the visible portion of the element.

DeviceUtils was added with getDisplayBounds().

Lastly, UiAutomationContext now holds Instrumentation instead of UiAutomation,
which also forced other files to change accordingly.
Change-Id: Ic2fd163a9759a0d95bd413b557976ee8a3d044f9
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
0337ecab63fbdf2775eb8d1d86bb96d59a8f9712 30-Mar-2013 Kevin Jin <kjin@google.com> if an attribute is boolean, add it only if true
log dom xml to file because logcat has limit
cache UiElements
improve Logs

Change-Id: Ib505046f9ddfe474d3ee30ad20fdbafcf5b73c2a
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
7b2b76255593f0ecfbe2d7f996712fefb391dfed 18-Mar-2013 Kevin Jin <kjin@google.com> support xpath
Build a virtual DOM tree that maps UiAutomationElement or
InstrumentationElement tree, respectively. Then use XPath
on the DOM tree.
TODO: filter insignificant nodes to make use of uiautomatorviewer
TODO: add all attrs

Change-Id: I2f9e289b77350f1e920a492ce438ebfd67882058
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
acde362144222864329ad64d7e746b717103c806 16-Mar-2013 Kevin Jin <kjin@google.com> fix run-time error: newProxy enforce interface

Change-Id: I8d5c6798fc90754553b90c4fab6aa51a75ce8334
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java
52107c27b6b0f2b0fdfec995784c73746bb95c4e 15-Mar-2013 Kevin Jin <kjin@google.com> introduce *Context to manage instances and dependency

Change-Id: Ice759c2791a41df1b80dd06b6a339833cb4a7979
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/UiAutomationContext.java