aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix package renaming for Manifest and BuildConfig classes"Tor Norbye2012-12-204-27/+180
|\
| * Fix package renaming for Manifest and BuildConfig classesTor Norbye2012-12-204-27/+180
|/ | | | | | | | | | 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
* Merge "Make ddms show Java stacks in the traditional format, for legibility."Elliott Hughes2012-12-193-103/+31
|\
| * Make ddms show Java stacks in the traditional format, for legibility.Elliott Hughes2012-12-183-103/+31
| | | | | | | | | | | | Also remove the need to double-click to see a stack. Change-Id: I076179b09350d1c85614c7325e2faa4848b4e8d8
* | Merge "Move -pre-built target ahead of the lib setup."Xavier Ducrohet2012-12-191-1/+1
|\ \
| * | Move -pre-built target ahead of the lib setup.Xavier Ducrohet2012-12-191-1/+1
| |/ | | | | | | Change-Id: Ia48d41c50269c312784ef7723936af1dabcd4887
* | Merge "Update Asset Studio launcher and icon generators. Also removes LDPI."Roman Nurik2012-12-19134-59/+94
|\ \
| * | Update Asset Studio launcher and icon generators. Also removes LDPI.Roman Nurik2012-12-18134-59/+94
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Lint check for valid class references"Tor Norbye2012-12-199-50/+369
|\ \
| * | Lint check for valid class referencesTor Norbye2012-12-199-50/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lint already checks that classes registered in the manifest (such as activities and services) exist and are instantiatable. This lint check expands this check to also make sure that custom views and fragments referenced in layouts also exist, as well as class names registered in analytics config files (requested in issue 41567). It also fixes the typography detector to not flag IDs as needing em dashes. Change-Id: Idd42be60dae6c0747324d600d15b01d6d8a3240f
* | | Merge "Look for missing commit calls on fragment managers"Tor Norbye2012-12-196-29/+191
|\ \ \ | |/ /
| * | Look for missing commit calls on fragment managersTor Norbye2012-12-196-29/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements 41339: Forgetting .commit() after .beginTransaction() Also renames the RecycleDetector to something more generic since it checks for other types of cleanup as well. Change-Id: I19ca6537ba88745845ad452f87b6562085a47fe5
* | | Merge "Lint: Flag using @dimen where not allowed in manifest"Tor Norbye2012-12-195-4/+161
|\ \ \ | |/ /
| * | Lint: Flag using @dimen where not allowed in manifestTor Norbye2012-12-195-4/+161
|/ / | | | | | | | | | | | | Adds a lint check which flags using resource ids for versionName, versionCode, minSdkVersion and targetSdkVersion in the manifest. Change-Id: I5b4e25d0b114cdf84f446a193fe5d3a095b2f415
* | Merge "Make the run method of lint.Main public."Tor Norbye2012-12-181-1/+1
|\ \ | |/ |/|
| * Make the run method of lint.Main public.Jonathan Rockway2012-12-171-1/+1
|/ | | | | | | | | Subclasses may want to accept constructor arguments, override some of the getters to return them, and then run lint. But since run is private, even subclasses are unable to invoke a customized lint. Change-Id: I0a5db348e206ed3d9402a1b3b60bef3fa201aa15 Signed-off-by: Jonathan Rockway <jrockway@google.com>
* Merge "Fix SettingActivity ADT template."John Spurlock2012-12-142-1/+4
|\
| * Fix SettingActivity ADT template.John Spurlock2012-12-142-1/+4
|/ | | | | | | | pref_headers.xml now goes through variable substitution. Prior to this fix, the generated activity crashes on tablets. Change-Id: Iddff16c5f58ae2414620800fb4f1c34e0e4bb9f5
* Merge "Remove category explanation"Tor Norbye2012-12-131-2/+2
|\
| * Remove category explanationTor Norbye2012-12-131-2/+2
| | | | | | | | | | | | It's always null. Change-Id: I2a465dd41653398fc747f531f963414964c9da14
* | Merge "Update application template display names and descriptions."Roman Nurik2012-12-1310-20/+20
|\ \ | |/ |/|
| * Update application template display names and descriptions.Roman Nurik2012-12-1310-20/+20
|/ | | | Change-Id: Id785c8527eb1602b2b6f29e09fb13f628abaf652
* Merge "Code cleanup"Tor Norbye2012-12-12111-576/+638
|\
| * Code cleanupTor Norbye2012-12-12111-576/+638
| | | | | | | | | | | | | | | | Ran some static analysis on the lint code and fixed various issues - some typos, made some fields final, made some methods static, sorted modifier order etc. Change-Id: Ibdcdec5745f040eb7b0880cf6999c0f0ea7f7e6f
* | Merge "avd creation dialog: warn if ramSize > 768M"Siva Velusamy2012-12-121-2/+4
|\ \ | |/ |/|
| * avd creation dialog: warn if ramSize > 768MSiva Velusamy2012-12-111-2/+4
| | | | | | | | Change-Id: Ib34f56ee1e93534500ab9fcad7d3e111af440a8b
* | 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 "Add lint recycle detector"Tor Norbye2012-12-119-19/+737
|\ \ \
| * | | Add lint recycle detectorTor Norbye2012-12-119-19/+737
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lint check looks for missing recycle() calls on resources such as TypedArrays, MotionEvents, and Messages. 41140 New Lint Check: Check Recycling VelocityTracker 41138 New Lint Check: Check Recycling Message 41137 New Lint Check: Check Recycling MotionEvent 41136 New Lint Check: Check Recycling TypedArray In addition, it also flags cases where a method is called on a resource after the resource has been recycled. Change-Id: Ia06a1779519971d5459f1cd98914a6aededc4b83
* | | Merge "Extend Mac Intel graphics bug workaround to HD 4000"Jesse Hall2012-12-111-8/+11
|\ \ \
| * | | Extend Mac Intel graphics bug workaround to HD 4000Jesse Hall2012-12-101-8/+11
| | | | | | | | | | | | | | | | | | | | Bug: 39835 Change-Id: Ied3f43b76d2bb1bdba478f57122ec0ef4d967ae4
* | | | Merge "fix Eclipse project for dvlib to include the resources."Xavier Ducrohet2012-12-111-0/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | fix Eclipse project for dvlib to include the resources.Xavier Ducrohet2012-12-111-0/+2
|/ / / | | | | | | | | | Change-Id: I8e4bdaf3f9d86060bbe1b2dc6c6d6ec7f2fce3ac
* | | Merge "avd edit dialog: Warn if RAM > 512MB for Windows users."Siva Velusamy2012-12-101-0/+15
|\ \ \
| * | | avd edit dialog: Warn if RAM > 512MB for Windows users.Siva Velusamy2012-12-101-0/+15
|/ / / | | | | | | | | | | | | | | | | | | There is usually a memory allocation failure on Windows with larger amounts of emulated RAM due to the use of a 32 bit emulator. Change-Id: Id0e59739e77c0aaf2776d7d883d6524de7255de2
* | | Merge "AVD edit dialog: Fix equality comparison."Siva Velusamy2012-12-101-2/+4
|\ \ \
| * | | AVD edit dialog: Fix equality comparison.Siva Velusamy2012-12-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fixes http://code.google.com/p/android/issues/detail?id=41188 Change-Id: I568b6c9322ce7ecc2d560999719d79ae68722c06
* | | | 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
* | | | Merge "Fix test makefile for dvlib."Xavier Ducrohet2012-12-101-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix test makefile for dvlib.Xavier Ducrohet2012-12-101-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ic10e356e4a878cb633bf72f7b43ad93c0b834022
* | | | Merge "41154: Handle allowBackup properly for target < 4"Tor Norbye2012-12-103-3/+17
|\ \ \ \
| * | | | 41154: Handle allowBackup properly for target < 4Tor Norbye2012-12-103-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes 41154: Template Android Application Project for API v3 reports AAPT problem with android:allowBackup="true" Change-Id: I74b4cd0f8df9a74fe9221250cc83b1d15821ce51
* | | | | Merge "Unit test fix: make tests more resilient to test jar location"Tor Norbye2012-12-102-11/+16
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Unit test fix: make tests more resilient to test jar locationTor Norbye2012-12-102-11/+16
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Also handle case where $ANDROID_BUILD_TOP is set better. Change-Id: Ib39f275417738af9145697e19f4de085255c1655
* | | | Merge "gltrace: Refresh tree view in a separate task."Siva Velusamy2012-12-102-32/+106
|\ \ \ \ | |/ / / |/| | |
| * | | 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 "Move lint unit tests into lint/cli"Tor Norbye2012-12-07540-18/+18
|\ \ \ | |_|/ |/| |
| * | Move lint unit tests into lint/cliTor Norbye2012-12-07540-18/+18
|/ / | | | | | | | | | | | | | | | | | | | | The unit tests for lint have lived in the lint/libs/lint_checks library, but that's not a natural place since the cli library depends on the lint_checks library, yet the lint_check *tests* also depend on cli. Furthermore, the tests also test stuff in the cli library. Thus, move the test sources over to the cli library, which also pulls in the lint_checks library. Change-Id: Ia8527ea894b287915ad12c04c16daf80ace67bdc