aboutsummaryrefslogtreecommitdiffstats
path: root/uiautomatorviewer/src
Commit message (Collapse)AuthorAgeFilesLines
* uiautomator: Display root cause of exception if possible.Siva Velusamy2012-10-101-1/+1
| | | | | | | Also increased timeout since it seems to take a while longer on the first attempt. Change-Id: Ib005408f428dd083cc058a8594d4f6d55a0eead6
* uiautomator: save hierarchy file in /data/local/tmpSiva Velusamy2012-08-221-1/+1
| | | | Change-Id: I1106162c48763d82ec56381f8fb5ce240a204550
* Integrate uiautomatorviewer into EclipseSiva Velusamy2012-08-146-151/+304
| | | | | | | | | | | | | | | | | | | 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
* Fix build.Xavier Ducrohet2012-08-131-1/+1
| | | | | | For some reason "make sdk" doesn't build uiautomatorviewer? Change-Id: Ie390b8c517d4e5da1fbc9b13f56bf60812efecba
* uiautomator: Misc cleanupsSiva Velusamy2012-08-079-547/+511
| | | | | | | | | | | | | | | | | | 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
* uiautomator: fix launch scriptSiva Velusamy2012-08-061-1/+1
| | | | Change-Id: I9bc5007f1267dddaae351e8003d14d89f1fd26c9
* uitest-automator: Use ddmlib for device communications.Siva Velusamy2012-08-023-162/+218
| | | | Change-Id: I2983399832a8f64b8ac0447587233baba4774311
* moving uiautomatorviewer into sdkGuang Zhu2012-07-2719-0/+1895
It's currently under frameworks/testing Change-Id: I8444f5c375a605c8c6480a33cee19a6d3d5ad7ca