aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Fix ADT test compile error.Raphael Moll2013-03-141-0/+7
| | | | Change-Id: Ib897ae33d2bb0797ad8da94abedcfa55e6a85787
* Build SDK using prebuilts/devtools.Raphael Moll2013-03-132-2/+2
| | | | Change-Id: I4c1979f8f07d24573b3ff7d7a1fa22d6ea87e5e3
* 53031 and 53032: XML formatting line separator fixTor Norbye2013-03-131-2/+13
| | | | Change-Id: I62208c275eb13ec18e3c5f8078fd4aad524534df
* Merge "Fix nullness annotation"Tor Norbye2013-03-131-1/+1
|\
| * Fix nullness annotationTor Norbye2013-03-061-1/+1
| | | | | | | | | | | | | | Method which is marked @NonNull delegates to a different method in tools/base which is marked @Nullable. Change-Id: I45810dc805e5d638d2d03929ceb580f6d7ec58f9
* | 52887: Unable to format xml documents that begin with commentsTor Norbye2013-03-121-0/+16
| | | | | | | | Change-Id: Ia3bb2658474760de51b8af4d2f74d3c4771151c7
* | Use the SDK common XmlPrettyPrinterTor Norbye2013-03-1227-1528/+400
|/ | | | | | | | | | | | | | The XML pretty printer was moved up from the Eclipse plugin into common (such that for example the resource merger can use it). This CL removes the old XML pretty printer and replaces it by a subclass which customizes the formatter slightly (in particular, taking advantage of the Eclipse DOM's ability to remember whether an XML tag was an empty tag such at <this/> rather than <this></this>.) Change-Id: Ie0865c3c35f1340fa4dcaf42253599f278ce4997
* Fix ADT after FullRevision package change.Raphael Moll2013-02-151-1/+1
| | | | Change-Id: Ia533b1ebf15dce8510654fb1c3838f38ee6fd122
* Update nullness annotationsTor Norbye2013-02-084-5/+6
| | | | | | Also remove test dependency on ddmuilib project Change-Id: I90c62bcfeca86110a6604ebda4425369aa3cc889
* Track tools/base API changesTor Norbye2013-02-088-16/+37
| | | | Change-Id: I97f785fdeafebf7c87d180e6b9905b08f7e3b72e
* Fix sdkcommon/lint API usage in ADT.Raphael Moll2013-02-084-10/+17
| | | | Change-Id: I4672ec7504daf1bf1e5c0880e5aa2003c082e7da
* Fix import paths for LogCatMessageSiva Velusamy2013-02-082-2/+2
| | | | Change-Id: If1068713f3faa60db2a22e7dc6464a2af4928743
* Fix ADT after sdkuilib->sdklib reorgRaphael Moll2013-02-061-1/+1
| | | | Change-Id: I92a353806e942227af1f49df8de5dd976766f567
* Fix generation of R classes for libraries to support any package name.Xavier Ducrohet2013-02-013-85/+39
| | | | Change-Id: I0e4f2c0d56285b911f0210a3cddbed0f5ec05ecc
* Merge "43194: Fix NPE when preferred avd is null"Siva Velusamy2013-01-301-0/+3
|\
| * 43194: Fix NPE when preferred avd is nullSiva Velusamy2013-01-291-0/+3
| | | | | | | | Change-Id: If80929f0cf90bbc15f8bb1b065450058f1fb2e96
* | Merge "Add dependency from hv plugin to base plugin"Siva Velusamy2013-01-291-1/+2
|\ \ | |/ |/|
| * Add dependency from hv plugin to base pluginSiva Velusamy2013-01-291-1/+2
| | | | | | | | | | | | hierarchy viewer now requires guava Change-Id: Ice7bacdde9ec4692b75ff59dec5ca083bf72a9cc
* | 43409: NPE when trying to rename the application package identifierTor Norbye2013-01-291-4/+4
|/ | | | Change-Id: I909048c37553b2c0ac8292e31f13933e8b103862
* Merge "Displaying the debug certificate MD5&SHA1 fingerprint on Build ↵Xavier Ducrohet2013-01-216-19/+299
|\ | | | | | | preference. Printing the created certificate fingerprint to Android Console. Showing the certificate fingerprint on ExportWizard."
| * Displaying the debug certificate MD5&SHA1 fingerprint on Build preference.Keiji Ariyama2013-01-136-19/+299
| | | | | | | | | | | | | | | | | | Printing the created certificate fingerprint to Android Console. Showing the certificate fingerprint on ExportWizard. Related issue: http://code.google.com/p/android/issues/detail?id=19035 Change-Id: Ie88760f19d5d20a4660035dae1e9598c636e25da
* | Add support for hv protocol that works via DDMSiva Velusamy2013-01-161-0/+3
| | | | | | | | Change-Id: Ia88d107811abd8e36a0f980938c584d79565ac42
* | Update Eclipse Add Target API annotations for new InlinedApi checkTor Norbye2013-01-142-2/+4
| | | | | | | | Change-Id: I180cba4a0f71d86ae7b61643bd0b36cc8c4c6b28
* | 39612: Question Mark causes Eclipse Graphical Layout Editor to Freak OutTor Norbye2013-01-146-147/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle string values starting with ? and @ even if they do not correspond to actual theme or resource URLs. Also fix the code which handles processing strings read from XML files; apply unescaping rules (for unicode, newlines and tabs, removing quotes, etc). Also make the style warning include the full resource URI (it was only logging the stripped URI). Change-Id: I9b9a87ac4841faeacd1d94a43fa091702e60f4d8
* | hv: Refactor to interact with the device via IHvDeviceSiva Velusamy2013-01-131-3/+3
|/ | | | | | | | | | | | | | | | | | | | 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
* Fix attribute validationTor Norbye2013-01-042-5/+23
| | | | | | | This is used when incrementally validating XML attributes when a file is saved in the IDE. Change-Id: I37d37ab8ac64aec72455c3bfbabc7bbd65595a94
* Merge "Update master version from 21.0.0 to 22.0.0"Tor Norbye2013-01-0416-16/+16
|\
| * Update master version from 21.0.0 to 22.0.0Tor Norbye2012-11-2616-16/+16
| | | | | | | | Change-Id: I3cff176281b4949f814023f0c7ecda897bc1354b
* | 42051: Subversion folder causes NPE in PreCompilerBuilderTor Norbye2013-01-031-4/+5
| | | | | | | | Change-Id: Ie2846fdd25a4ea05b798c62ec6512bffa84819f9
* | Ensure streams are closed after parsingTor Norbye2013-01-032-8/+12
| | | | | | | | | | | | | | | | | | | | | | Just read in full contents of XML file up front such that the stream can be closed. Also switch from InputStream to Reader since that's the native format KXml wants anyway (inside setInput() it creates one from the input stream if it doesn't already have one) Change-Id: I69e1602702ac771d29f988169cb7adafefc0198c
* | Merge "Template unit test fix"Tor Norbye2012-12-271-2/+2
|\ \
| * | Template unit test fixTor Norbye2012-12-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | When iterating over all the possible API versions, include the max version too, not just all versions smaller than it. Change-Id: I8f7bfa18dafff445bc2f9080ed6275355342a6c5
* | | Unit test fixTor Norbye2012-12-271-1/+0
|/ / | | | | | | Change-Id: Iaaede955589ce962b33eb4e326fc012a4fa7b591
* | 41782: Graphical Layout Editor can't handle TabWidgetTor Norbye2012-12-211-1/+1
| | | | | | | | Change-Id: Ifc450a7ba91714be30a8fac6802fb28f72128822
* | Merge "ddmlib: Add controls for OpenGL tracing via jdwp"Siva Velusamy2012-12-2010-101/+432
|\ \
| * | ddmlib: Add controls for OpenGL tracing via jdwpSiva Velusamy2012-12-2010-101/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, applications have to be launched with gltrace enabled for OpenGL tracing to work. This patch provides the host side support for dynamically enabling/disabling tracing on running apps. At a high level, the functionality is similar to traceview: - ClientData#FEATURE_OPENGL_TRACING indicates whether the VM on the device supports this feature. - If the feature is supported, then JDWP is used to send the enable or disable messages. - Users can trigger OpenGL tracing via a toolbar item in the DDMS device view. Change-Id: Icf5e5eade74f94cf6a74ff793533f75f1853731f
* | | Merge "New "Notification" ADT template."Roman Nurik2012-12-201-1/+1
|\ \ \
| * | | New "Notification" ADT template.Roman Nurik2012-12-201-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a new Notification template in the 'other' category, that creates a helper class to show and hide a notification with optional expanded styles for Android 4.1+ devices. The template also includes example resources relevant to notifications and leads the user through the notification icon wizard. Change-Id: I9765021ea66844f6f8887e1f1f27d6d262ee89a1
* | | 41681: "class|unique|nonempty" contraint doesn't check uniquenessTor Norbye2012-12-202-5/+51
| | | | | | | | | | | | | | | | | | Also added unique constraint on some of the activity templates. Change-Id: I2af181d9d2d716505c80bb4f487920166594625f
* | | Fix package renaming for Manifest and BuildConfig classesTor Norbye2012-12-203-26/+173
|/ / | | | | | | | | | | | | | | | | | | Fixes 41685: Rename Package Breaks BuildConfig and Manifest. It also cleans up the refactoring in that it now only adds import R statements to classes that actually contain an R reference. Change-Id: Ia0e2833bc9e25f92be33994047c4527c9e3e9dc1
* | Update Asset Studio launcher and icon generators. Also removes LDPI.Roman Nurik2012-12-182-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change updates the Asset Studio launcher icon generator to the new visual style described in the Android Design guidelines. It also adds XXHDPI icon creation for launcher icons, which is important for some newer devices such as Nexus 10. The change also removes shape selection for notification icons, since this only affected pre-Gingerbread devices. Pre-Gingerbread icons are still generated, but they now always have a square shape for simplicity. Finally, this change removes LDPI for all icon generators. LDPI is much less relevant today than it was a few years ago, and allowing platform scaling of MDPI resources is normally an acceptable alternative to providing LDPI specific resources. Change-Id: I65afc5b38b25170604cf69ba355816288d30d6d5
* | Remove category explanationTor Norbye2012-12-131-2/+2
| | | | | | | | | | | | It's always null. Change-Id: I2a465dd41653398fc747f531f963414964c9da14
* | Merge "Refactoring fixes"Tor Norbye2012-12-1113-145/+572
|\ \
| * | Refactoring fixesTor Norbye2012-12-1013-145/+572
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL contains a couple of tweaks to the refactoring support. First, update <declare-styleable> declarations for renamed custom views. Second, update XML in downstream projects from library projects. Third, allow invoking the rename refactoring from XML files from class attributes and custom view tags as well (until now it applied only to resource names.) Finally, update unit test golden file format to include whether each change is enabled, and tweak the code to disable R class changes to handle some additional scenarios. Change-Id: I74ccbe1b0f15ec10429f8dda7674f51f9a6f83cd
* | | Merge "systrace: Support newer atrace options."Siva Velusamy2012-12-107-12/+529
|\ \ \
| * | | systrace: Support newer atrace options.Siva Velusamy2012-12-107-12/+529
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The atrace executable on the device now provides a list of supported categories with the command atrace --list_categories. This CL first tries to determine which version of atrace is present on the device by running the list categories command and attempting to parse its output. For the older version, existing static "Capture Options" dialog is displayed. For the newer version, only the supported categories are displayed. Change-Id: I300e7e652a9ae99f47d61a1669604802b74054a4
* | | gltrace: Refresh tree view in a separate task.Siva Velusamy2012-12-072-32/+106
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | When the currently displayed frame is changed, we immediately refresh the tree displaying the list of calls, and the frame summary view displaying the frame buffer as part of the frame change event handler. This CL moves these two operations to a separate task that is scheduled after a short delay (250 ms). This allows us to combine multiple frame change events and respond just once for all of them together. Change-Id: I4edade1e55cbd7394cba03d97b2ee61ca3a258b6
* | Merge "monitor: Prefer using bundled SDK rather than lastSdk"Siva Velusamy2012-12-061-13/+17
|\ \
| * | monitor: Prefer using bundled SDK rather than lastSdkSiva Velusamy2012-12-061-13/+17
| | | | | | | | | | | | | | | | | | | | | Also fix the path to bundled SDK: monitor is in tools/lib/monitor, not tools/monitor Change-Id: Ia47112b8358076a8d93cc6492bc67490386459e7
* | | Merge "Findbugs cleanup"Tor Norbye2012-12-063-3/+24
|\ \ \ | |/ / |/| |