| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Iba15f82cb00d19217382c78d8ff37dda1e97ea59
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Non-root device needs to do dexopt into alternative dalvik
cache when uiautomator is called for the very first time; This
may incidentally lead to long response time from XML dump via
UI Automator Viewer; The 40s timeout is long enough but it was
actually not passed into IDevice#executeShellCommand()
* Dumped XML has "rotation" attribute on root node since API
Level 17, we now make use of this to rotate captured screenshot
image
* Fixed an Eclipse warning on unclosed InputStream
Bug: 7564716
Bug: 7564146
Change-Id: Ie46968aff323ed392990febfd89e18f2dbd099de
|
|
|
|
|
|
|
| |
Also increased timeout since it seems to take a while longer
on the first attempt.
Change-Id: Ib005408f428dd083cc058a8594d4f6d55a0eead6
|
|
|
|
| |
Change-Id: I1106162c48763d82ec56381f8fb5ce240a204550
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL integrates uiautomatorviewer into Eclipse. There are two
components to this:
1. Take UI Hierarchy Dump from a device: This is added as an action
to the device view in the DDMS perspective.
2. Viewing the resulting UI hierarchy: This is added as an editor,
associated with the .uix extension. The editor simply wraps a
UiAutomatorView.
The UiAutomatorView is modified slightly to allow for opening just
the hierarchy file without the associated screenshot. This is to
enable opening the .uix file via standard Eclipse Open File Dialog.
When opened this way, the canvas displaying the screenshot is replaced
with a button that allows the user to specify the actual screenshot
to be displayed.
Change-Id: I0f31fe95b2728123ff6f0f748478c18c0c2f1b48
|
|
|
|
|
|
| |
For some reason "make sdk" doesn't build uiautomatorviewer?
Change-Id: Ie390b8c517d4e5da1fbc9b13f56bf60812efecba
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL performs a bunch of minor cleanups to allow reusing the
UiAutomatorView from within an Eclipse view/editor. In particular:
- The model is not a singleton anymore. It can be constructed
based on an XML file, and is stored within the view.
- References to the view from the model have all been removed.
- All the view code from the application window class has been
moved into a separate UiAutomatorView class.
There is no new functionality, and from the UI perspective, there
is only one change: The are now two toolbars, a global application
level toolbar for global actions (open file, capture screenshot),
and a toolbar above the view hierarchy that allows setting a couple
of tree viewer options.
Change-Id: Ib4fe98426c2f83de233091c23b080de4f9b7449a
|
|
|
|
| |
Change-Id: I9bc5007f1267dddaae351e8003d14d89f1fd26c9
|
|
|
|
| |
Change-Id: I2983399832a8f64b8ac0447587233baba4774311
|
|
It's currently under frameworks/testing
Change-Id: I8444f5c375a605c8c6480a33cee19a6d3d5ad7ca
|