History log of /external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/instrumentation/ViewElement.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/instrumentation/ViewElement.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/instrumentation/ViewElement.java
5c9d7f7e2db9c7dd52543e455abff0449e21a90b 04-Apr-2014 Kevin Jin <kjin@google.com> add selection-[start|end} attributes for TextView

Change-Id: I0fb7214437c450ffcccc7fb2ce94e32d7ec759dc
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
eacc6c8c1f05ad4c6d9ca4c612204240b9dc1d4e 07-Mar-2014 Kevin Jin <kjin@google.com> add a time-limited version of runOnMainSync

Change-Id: I40b23d4f6cdbf05fb34d7252f1b98eef9d442a43
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.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/instrumentation/ViewElement.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
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
8d19bb634c670a49f7a58636a2a535c86b57d538 14-Nov-2013 Kevin Jin <kjin@google.com> adjust fling steps for GingerBread
fix NoSuchMethodError for GingerBread

Change-Id: I4883c8b90a5e6aee6a4392e67f038139edb85fe5
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.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
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
07401c162d1957a497ab08937f1188cc602f29c6 05-Nov-2013 Kevin Jin <kjin@google.com> Adjust the screenshot origin if the root view is not at (0,0).
Move comments on immutable UiElement attributes to the ctors.

Change-Id: I3936c11342511c0d843a5096e954d8f754f8e931
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.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/instrumentation/ViewElement.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
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.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/instrumentation/ViewElement.java
c91cb19438c6ef8ecd794664bf1f879725866bb9 09-Jul-2013 Kevin Jin <kjin@google.com> fix InstrumentationDriver for multiple root views

Change-Id: I50c4c1b10025296b70d8fc5bebcf4bfc12d41417
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
ad7d747c3cd738e15413040fa15d0c2924753c05 09-Jul-2013 Jiexi Cao <jiexic@google.com> Fixed ViewElement.getVisibleBounds()

Previously, getVisibleBounds was only getting the coordinates of an
element relative to the topmost view, which is not the screen in the
case that there is a pop-up dialog. By using view.getLocationOnScreen,
we can adjust the relative coordinates to apply to the entire screen and
have the driver click on the correct place.

Bug: b/9743953
Change-Id: I51a2f7fc8974fba9d08c660b6e7926eb0e305abb
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
b27621ff6e9da190454da80b93bc1a7544904909 04-Jul-2013 Kevin Jin <kjin@google.com> check view.getResources != null in getResourceId

Change-Id: Ib90d4058b6f3b0dca2d3ab922a045e3279eaee19
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
5838b1a067427865c3ec8cc33a5dfa64ba05407f 28-Jun-2013 Kevin Jin <kjin@google.com> wait for RunningActivity in InstrumentationDriver

Change-Id: Ic4cb68fc46cec433a7989187ed64f73e2c5aa6e8
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
9f81086b618594cb080adf33548edd0c999e388e 27-Jun-2013 Kevin Jin <kjin@google.com> add ViewElement#overrideClassName
for consistent results no matter which driver is used

Change-Id: I4f73bb194b2c652645622ba19c880fd539b74918
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.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/instrumentation/ViewElement.java
022f444db92ed15a90b025626d88b3f351695b9f 25-Jun-2013 Tony Wickham <twickham@google.com> getClassName() doesn't work below API 14; handled more gracefully

Change-Id: I0ff6d68be7ecc4e9f5555a32ed09aa4dd633f236
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
6b3044b3bb260efec4b9c4cfe0fd8920841a6e7d 22-Jun-2013 Kevin Jin <kjin@google.com> fix ViewElement.getClassName: runOnMainSync

Change-Id: Ie13e6f41fc9a8783ed7ee77809b06951f7c0f8e7
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
394b364bfa602c0bbe813229ad099e8075a20c9d 21-Jun-2013 Kevin Jin <kjin@google.com> getClassName returns the class name as seen by AccessibilityService

Change-Id: I520f249680c72e4fa2b752de4bf4013815ff8970
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
49eb778a47b1b7630e5f3ec8d02b7e5bed58f7b9 21-Jun-2013 Kevin Jin <kjin@google.com> ViewElement.isVisible checks isShown in addition to Rect

Change-Id: Ie7e508d9a67629bf871d05887d26b9d3db645c32
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
e2660726a43b1a68729d736f6ffa0332ab152498 20-Jun-2013 Kevin Jin <kjin@google.com> add takeScreenshot to InstrumentationDriver

Change-Id: I347532ed9f4e4aa59ac045a83ee7b4f25735c251
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
6316362de61fca700d7d5a455ad5c0ac9717c365 31-May-2013 Kevin Jin <kjin@google.com> add Screenshotter
move dumpDom from UiElement to DroidDriver
uniform toString in AbstractUiElement instead of subclasses

Change-Id: Ic78b812a206e73d23a47c94d9e9fe79a99c23d6c
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
0858f7292b7e7f32c25662d853c9d8ed8db1403f 28-May-2013 Kevin Jin <kjin@google.com> rename getRect -> getBounds
This follows uiautomatorviewer convention, making it
easier for DD users to use that tool.
Skip invisible children -- this is critical; e.g. ViewPager
keeps all invisible pages in memory. If users use
uiautomatorviewer to define matchers, the invisible nodes
may match surprisingly.

Change-Id: Idc4298bf18931978e2e9fd3c27e273f0e49c2f1f
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
0d7b67b43f83536708a6ae0330e739744049a48e 15-May-2013 Kevin Jin <kjin@google.com> expose getChild and getParent
remove Logs.wrap

Change-Id: I4d6d58b58fdb70fee168d1a357767683fae11490
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
f9c2a591497874769b87bf492a0666cf853e0ae5 09-May-2013 Kevin Jin <kjin@google.com> add longClick and doubleClick
add hasElement
add By.allOf and anyOf

Change-Id: I2456c3291d4a4398a413603830f809efe4a429cb
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java
07704975f91b729d9be3a13d6a2d3dfdbbd7d426 29-Mar-2013 Kevin Jin <kjin@google.com> add all attributes to UiElement

Change-Id: I900747906851dd66c705b7cd0f4a9c65d4788cec
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.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/instrumentation/ViewElement.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/instrumentation/ViewElement.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/instrumentation/ViewElement.java
cddda72410c992a12db61cef26713b498e31fea4 14-Mar-2013 Thanh Le <thanhle@google.com> Add an instrumentation driver.

Move common code out of UiautomationDriver to AbstractDriver.

Change-Id: Icf749b76d82a4bc10ea00f4668e251adcc652ba6
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ViewElement.java