aboutsummaryrefslogtreecommitdiffstats
path: root/hierarchyviewer2/libs
Commit message (Collapse)AuthorAgeFilesLines
* SDK: Delete projects moved to tools/base or tools/swt.Raphael Moll2013-03-1395-11242/+0
| | | | Change-Id: Iba15f82cb00d19217382c78d8ff37dda1e97ea59
* hv: Fix env var used to select protocolSiva Velusamy2013-01-291-1/+1
| | | | Change-Id: I3b5f4de2d35f6c7fd8ec27bb36c0a4c79b176138
* Support modifying layout properties from hvSiva Velusamy2013-01-2912-9/+681
| | | | | | | | | | | | This CL adds support in the hierarchy viewer's UI for modifying certain view properties. The editable properties are marked with an image next to them. When edited, a command is sent to the device indicating the view method to call and the arguments for it. A free form text box is also added to the UI which allows for users to explicitly specify the view method to call with parameters. Change-Id: Iefd4239e91184fc43c1b4cccfc3896846ab19825
* Fix bug #8054449 hierarchyviewer crashes on connection/disconnectionsFabrice Di Meglio2013-01-223-3/+8
| | | | | | - fix various NPEs Change-Id: I9157b9072c822146874d1c693a81c024fa5fe5f2
* Add support for hv protocol that works via DDMSiva Velusamy2013-01-169-43/+543
| | | | Change-Id: Ia88d107811abd8e36a0f980938c584d79565ac42
* hv: Refactor to interact with the device via IHvDeviceSiva Velusamy2013-01-1320-258/+538
| | | | | | | | | | | | | | | | | | | | Hierarchy Viewer currently interacts with a View Server that is present on the device. This is available only on eng devices due to security restrictions on the View Server. Rather than use this custom view server, we ought to use DDM for communication with the device. Such a scheme has a number of benefits apart from security. This CL is primarily just a refactoring of the existing host side code. The main objective is to hide the communication to the device behind a IHvDevice interface. The ViewServerDevice implementation of this interface allows communicating with existing devices that use the ViewServer implementation on the device. A subsequent CL will provide a new implementation of this interface that communicates via DDM. Change-Id: I7d63e5a59c6ec9c96dbd07af9dc03f93779fd2ec
* 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
* hv: Add more logging for when things go wrong.Siva Velusamy2012-08-092-0/+4
| | | | Change-Id: Idbb0a32507c19aadb11544342d73e1be7d1d4272
* Fix warningsTor Norbye2012-06-011-0/+5
| | | | | | | | | | | | | | | | | First, update our various project-specific Eclipse compiler settings configuration files to include the new Eclipse 4 flags. Second, turn off the "Unchecked conversion from non-annotated type to @NonNull" warnings; there are hundreds or thousands of these, and there isn't much we can do about them when they're coming from platform and library APIs. Third, make the lint projects warning-clean again by addressing various warnings Eclipse found (such as some unclosed resources and some null handling issues; yesterday's null annotation fixes only addressed errors, not warnings.) Change-Id: If75f7401a1cbeef1bf58b47ccaa9ad17bede7f91
* Switch libraries from Eclipse 3.4 to Eclipse 3.6.2Tor Norbye2012-04-053-6/+6
| | | | | | This reverts commit f3d3fa912a10e20cadae813b80a66e538f77131d. Change-Id: I72e28e21db3c7f959040c1fbb9df14e4d85d0df4
* Update classpath for eclipse project due to prebuilt move.Xavier Ducrohet2012-04-051-1/+4
| | | | | | | Don't use User Libraries. It's easier to just hardcode them with a classpath variable. Change-Id: If8c1236199dd6766d48cf9b553fa2a9ee0d236e6
* Revert "Switch libraries from Eclipse 3.4 to Eclipse 3.6.2"Tor Norbye2012-04-032-3/+3
| | | | This reverts commit b0c819f896b3c579633849e3fa674a30e6978dd7.
* Switch libraries from Eclipse 3.4 to Eclipse 3.6.2Tor Norbye2012-04-022-3/+3
| | | | | | | | | | | This updates the org.eclipse.core.command, org.eclipse.jface and org.eclipse.equinox libraries from Eclipse 3.4 to Eclipse 3.6.2. It also updates SWT from 3.4 to 3.6.2 (and this drops the Carbon support from the SwtMenuBar library since SWT 3.5 switched to Cocoa by default.) Change-Id: I7e8a6e3b8cb473f90eca3b90e3f3dc5fa5099b71
* hierarchyviewer: Use System Font.Siva Velusamy2012-02-061-19/+0
| | | | | | | | Hierarchy Viewer explicitly sets the property tree to use a size 8 font which happens to be too small on OSX Lion. This patch removes that setting - so the tree will just use the default system font. Change-Id: I98aba45937b34e612324803a7662f9a4b24b41a5
* Make some SDK project compile under Java 1.6Xavier Ducrohet2012-02-0238-6/+386
| | | | Change-Id: I97189bda85530decff2ef8c4da3c43f186a6dba0
* Prevent NPE when server is not running.Romain Guy2011-05-241-2/+5
| | | | Change-Id: Iea1ba8fd78aca61611e73a29fe8b08b96783b248
* Allow HV to work on user builds.Romain Guy2011-05-201-0/+3
| | | | Change-Id: If0f2a79b54abf9a9d8782827b083f10d5d2f2a7e
* hierarchyviewer can dump displaylists for selected nodes.Chet Haase2011-05-044-7/+117
| | | | | | | | In hierarchyviewer (and hierarchyviewer1): The displaylist for the selected node (if there is one) is output into logcat when the "Dump DisplayList" button is clicked. Change-Id: I1996bbd1cbe32d8bc25708453c777800385fe444
* Fix image reousrces in HierarchyViewer application.Raphael Moll2011-04-2835-1/+1
| | | | | | | | | | | | | | | | | | | Currently the HierarchyViewer application crashes when trying to run it from Eclipse. The issue is that the code looks for all the images in /images/ whereas the source code places them in /resources/images/ and the makefile was setup to "erase" the /resources part. The fix is: - move all images back to hierarchyviewerlib/src/images. - adjust the makefile accordingly. Another issue is that the about box JPEG files failed to load (at least on Eclipse 3.5 under Win7). That's OK we had a real icon in PNG that works, so we should be using it for the about box anyway. Change-Id: Id3edc3d714480d4251b190706371db2481a14b63
* New application icons for the various SDK toolsTor Norbye2011-04-051-0/+0
| | | | | | | | | | | | | | | | This changeset integrates a new set of application icons by Roman Nurik for the various SDK tools: DDMS, Hierarchyviewer, Traceview, the SDK manager, and the Eclipse about box icon. We have new icons with the same visual look for draw9patch and emulator as well, which are not integrated here. Draw9patch is written in Swing, so it doesn't have a way to set a dock icon on the Mac (other than with a startup script modification to pass -Xdock:icon, which means we also need to bundle the .icns image outside its .jar). I couldn't find the place the emulator dock image is set so I will ask around and file a separate CL for that. Change-Id: Idbb2212b8d0d5f1bd2d41b3576079ff409c7e9c8
* Add missing notice files.Xavier Ducrohet2011-03-151-0/+190
| | | | | | | | | | Also fix some makefiles to make sure the notices are picked up. - move the makefile outside of the source folder. - resources are now in the source folder directly instead of being inside src/resources. It's much simpler. Change-Id: Ica8ee4c2bc8a9b035d23fc914d4137cdca7e567d
* DDMS now receives the adb location through an extension point.Xavier Ducrohet2010-09-032-24/+8
| | | | | | | | | | | | | | | | | | Previously DDMS received the adb location through a normal Java API which requires the other plug-in to be actually running (This was done in the the start method of ADT). The new change allows DDMS to start a plug-in (by loading an extension provided by the plug-in) to query for the location of adb. This allows us to have plug-ins with no UI able to provide the location of ADB (ie a "platform" plug-in that has no UI besides a pref page, that is started by DDMS indirectly). Also cleaned up how HierarchyViewer use the AndroidDebugBridge. Change-Id: I8e842a294eea94c06417149144a2ce435e719cfd
* Fix HierarchyViewer2 to run on MacOS X correctly.Xavier Ducrohet2010-08-312-0/+3
| | | | | | | | | | This also fix the issue with the app never closing correctly (throwing an exception). Also updated the launcher script to match the new ones we use in the other Java based tools. Change-Id: I851f0732a78c6e6c072728f05e611f01eee8fc19
* Make the HierarchyViewer plug-in not screw up DDMS.Xavier Ducrohet2010-08-312-2/+50
| | | | | | | | | | | The HV plug-in behaved like the standalone app and initialized the AndroidDebugBridge with no client support (even though this init is handled by DDMS) and would recreate the bridge object destroying the one created by DDMS. This completely broke DDMS. Change-Id: Ife1187c74daef69607d508aabb1f7234507a170f
* Adding a smaller timeout to capturing nodes. This is so that it doesn't get ↵Konstantin Lopyrev2010-08-271-0/+1
| | | | | | stuck. Change-Id: Ie2fd89d74a2a044334b45ba050f2c3150f63a8e7
* Renaming and adding //$NON-NLS-?$Konstantin Lopyrev2010-08-2741-1553/+1553
| | | | Change-Id: I9f5fa1625af4b35499cfc87996d0b3a39841ba31
* Refactoring and integrating into EclipseKonstantin Lopyrev2010-08-2736-38/+1731
| | | | Change-Id: I1fd3c3828fb2474f2f7394ee2831fcd7eb675878
* Making the profiling box slightly transparentKonstantin Lopyrev2010-08-271-1/+5
| | | | Change-Id: I886a8b1c61db11d521657ec776152b07e7f9fabb
* Bug fixes and reducing timeout.Konstantin Lopyrev2010-08-272-2/+4
| | | | Change-Id: Ibfa23734679d0337aa7f6e250a621026b13a70f0
* Commentary, getting rid of bad about image, and some clean-up.Konstantin Lopyrev2010-08-2712-146/+169
| | | | Change-Id: I9dad056de8e7e208f156bbedbced47dd49b61fcb
* Making the profiling stuff appear in a cool place.Konstantin Lopyrev2010-08-275-84/+356
| | | | Change-Id: Id28e1a2a01ec88210a7024e2ad115131c9e4d34e
* Creating the applicationKonstantin Lopyrev2010-08-2753-521/+1840
| | | | Change-Id: I8f2fce7328cc1d93caed1cf003f04e41204f864c
* Tweaking and moving.Konstantin Lopyrev2010-08-2730-646/+1757
| | | | Change-Id: I9906268a91c53c7b9e938b9c969cedeae2a4303a
* Adding property and profile viewers + miscKonstantin Lopyrev2010-08-1711-42/+656
| | | | Change-Id: I04b7e6045047d303b3434dc64662ffeb36c48c24
* Increasing the changes of a device connecting properly and making sure ↵Konstantin Lopyrev2010-08-178-61/+112
| | | | | | things are disposed of properly. Change-Id: Ib1190c65c8ac9795fc0b97beacd7fd102cb95abf
* Adding the new tree view.Konstantin Lopyrev2010-08-1713-73/+1257
| | | | Change-Id: I490f475fadaec5625352a49524ec8cb3a6e9b7d4
* Adding pixel perfect view, loupe and tree.Konstantin Lopyrev2010-08-179-11/+1289
| | | | Change-Id: I9be3e9037dec5eeb240608ba8c6329fd77689bbe
* Handling adb exceptions properlyKonstantin Lopyrev2010-07-261-0/+20
| | | | Change-Id: I1209ee81adc99c232280371aa6206345e87a1094
* Device Selector code.Konstantin Lopyrev2010-07-2316-8/+1356
| | | | Change-Id: I944315e75b72ef285bed53e5801761886f48cb24
* First commit... Ignore *.java files, they are there just so it builds.Konstantin Lopyrev2010-07-1611-0/+151
Change-Id: Ibf159c32cee7a770f1c36f387fe646d9ecabe168