aboutsummaryrefslogtreecommitdiffstats
path: root/uiautomatorviewer
Commit message (Collapse)AuthorAgeFilesLines
* Update compiler flags.Tor Norbye2012-10-261-2/+2
| | | | | | | | | | Turns off the ability to use @SuppressWarnings with optional errors is available, but off by default (see Eclipse issue 392875). This turns that off, makes missing enums in switch statements a warning, and synchronizes the settings file to all projects (except tests.) Change-Id: Iad7060523b6ee2cbbca97e0a6ffedb264b185222
* 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
* Remove unnecessary fileTor Norbye2012-09-131-2/+0
| | | | | | This file shouldn't have been part of d7c3e89de6712d Change-Id: I8bdc7c8190ac6d48543785b97ca98dd023d0754b
* Add standard compiler flags to the uiautomatorviewer projectTor Norbye2012-09-132-0/+100
| | | | Change-Id: I19b639e0cbf1fe75c695e1e56f307e7b5af13f13
* 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
* uiautomator: Build, Release for SDKSiva Velusamy2012-08-141-0/+63
| | | | Change-Id: Iec38ea5ff95c47da77b9deccda807251d8cd608f
* Fix build.Xavier Ducrohet2012-08-133-3/+3
| | | | | | 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-063-18/+22
| | | | Change-Id: I9bc5007f1267dddaae351e8003d14d89f1fd26c9
* uitest-automator: Use ddmlib for device communications.Siva Velusamy2012-08-025-162/+222
| | | | Change-Id: I2983399832a8f64b8ac0447587233baba4774311
* uitest-automator: Add Eclipse project filesSiva Velusamy2012-08-014-0/+28
| | | | Change-Id: Id22761bbe26158439e1d107826e48d8c66ffb87b
* moving uiautomatorviewer into sdkGuang Zhu2012-07-2723-0/+2054
It's currently under frameworks/testing Change-Id: I8444f5c375a605c8c6480a33cee19a6d3d5ad7ca