aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ICS clipart from Roman. Also re-enable clipart option in UI.Tor Norbye2012-01-2744-3/+2
| | | | Change-Id: Icd4fe670bbabc9413256b3b5b4631b45dbcc3134
* Merge "Support annotations for backward compatibility."Xavier Ducrohet2012-01-274-0/+68
|\
| * Support annotations for backward compatibility.Xavier Ducrohet2012-01-274-0/+68
| | | | | | | | Change-Id: I7f592876b02c8859781a3b52e422dbebfa92ae8d
* | Merge "Win SDK: fix build; build find_java for tools.atree"Raphael Moll2012-01-272-5/+9
|\ \
| * | Win SDK: fix build; build find_java for tools.atreeRaphael Moll2012-01-272-5/+9
| |/ | | | | | | Change-Id: I400ea2af6f749c1c4b2048a8cb4f7e2f173b5cf4
* | gltrace: color glDraw() functions differentlySiva Velusamy2012-01-272-20/+66
|/ | | | | | | | | | | | | This patch makes the glDraw*() calls stand out in the table and in the duration minimap by coloring them differently than the rest of the functions. This patch also changes displays the contents of the framebuffer in the framebuffer view as soon as a frame is selected (as opposed to updating the view only when the eglSwapBuffer function is selected). Change-Id: I749e277e468003612895c45d90a5874b2a84e4d3
* Merge "Move the tools/ADT to r17"Xavier Ducrohet2012-01-2724-37/+37
|\
| * Move the tools/ADT to r17Xavier Ducrohet2012-01-2724-37/+37
| | | | | | | | Change-Id: I4989ce98d4c6a600ca075ee919e5a0e1a40a4497
* | Merge "Support $BLOB query that transfers an arbitrary array of data"Vladimir Chtchetkine2012-01-273-15/+102
|\ \
| * | Support $BLOB query that transfers an arbitrary array of dataVladimir Chtchetkine2012-01-263-15/+102
| | | | | | | | | | | | Change-Id: I452287af81c86d6c64e25c6efba368ef826282ed
* | | SDK: use new find_java.exe in SDK bat filesRaphael2012-01-264-125/+66
| | | | | | | | | | | | Change-Id: I9f3fc572c3af6d8457a75cebae1aa6a850511afc
* | | SDK find_java, fix mingw build.Raphael2012-01-261-0/+18
| | | | | | | | | | | | Change-Id: Ic2bfe71de73ee27d44b6004dd66893374e140bba
* | | Merge "Update asset studio unit test golden files"Tor Norbye2012-01-2664-7/+9
|\ \ \ | |_|/ |/| |
| * | Update asset studio unit test golden filesTor Norbye2012-01-2664-7/+9
| | | | | | | | | | | | | | | | | | | | | This tracks the recent upgrades to the asset studio asset generators (c83ea5b06bf11d511ea26de1ec0ac1e9023732ea) Change-Id: I27c7da25ac704ac82f7eed90f1e36896b0b5124d
* | | Merge "Suppress one more java error from Lombok"Tor Norbye2012-01-261-1/+6
|\ \ \
| * | | Suppress one more java error from LombokTor Norbye2012-01-261-1/+6
| |/ / | | | | | | | | | Change-Id: Ic4131738e505861c8308f386c2673d9ee304f158
* | | Merge "Fix bug in WrongViewCast detector"Tor Norbye2012-01-264-2/+14
|\ \ \
| * | | Fix bug in WrongViewCast detectorTor Norbye2012-01-264-2/+14
| |/ / | | | | | | | | | Change-Id: I671fe960fe61afc80ec305e05f7ffe7cbb5933c5
* | | Merge "rcp: support per platform builds."Siva Velusamy2012-01-263-51/+66
|\ \ \
| * | | rcp: support per platform builds.Siva Velusamy2012-01-263-51/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ant script now takes an option that controls which platforms to build the RCP for. If no option is given, the RCP is built for all platforms. Change-Id: I433ae41cd65af820e2d21f25f1324844512a63da
* | | | Merge "Projects whitelisted for Windows SDK compilation."Raphael Moll2012-01-261-0/+62
|\ \ \ \ | |_|/ / |/| | |
| * | | Projects whitelisted for Windows SDK compilation.Raphael Moll2012-01-261-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the list maintained in build/core/main.mk There's a similar change in development.git at Change Ie6f728bee Change-Id: Ifa8111dbae177258e7d6c7f8058ee1d6edbdc8ce
* | | | Merge "Fix a few misc Lint issues"Tor Norbye2012-01-265-53/+109
|\ \ \ \
| * | | | Fix a few misc Lint issuesTor Norbye2012-01-265-53/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, stop reporting Java-related parser errors as lint errors. Lombok fails to parse a few files (see http://code.google.com/p/projectlombok/issues/detail?id=311) and even when it fails, the error messages aren't useful (see http://code.google.com/p/projectlombok/issues/detail?id=313). Second, the XML parser could throw an exception in some circumstances, because it passes invalid column numbers at the end of the file. This CL guards against that (and against any other potential errors by wrapping all exceptions during parsing as a SAXEception). Finally, fix the positions reported in text nodes for the ExtraText check such that it points to the line containing the extra text, not the beginning of the text node (which is frequently the previous line). Change-Id: I9630ea49d30d8afdc8bd9cf2c87ca0a0306b8ec5
* | | | | Merge "Add file resource lookup to the Lint Client API"Tor Norbye2012-01-269-11/+149
|\ \ \ \ \
| * | | | | Add file resource lookup to the Lint Client APITor Norbye2012-01-269-11/+149
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows lint detector code to load file resources bundled with the tools (such as a permissions database file). Change-Id: If740206e8e0c5feeaf0e908bf823135114c9bd0d
* | | | | Merge "Add quick fix for the UseCompoundDrawable lint warning"Tor Norbye2012-01-2632-23/+1095
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add quick fix for the UseCompoundDrawable lint warningTor Norbye2012-01-2332-23/+1095
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds a quickfix for the "Use Compound Drawable" lint warning. That warning identifies a LinearLayout which contains exactly one TextView and one ImageView (in either order, and the linear layout can be in either orientation), and suggests replacing it by just the single TextView along with a drawable attribute. The description alone wasn't clear, so the quickfix performs the conversion automatically. In addition to the conversion it also needs to transfer any layout param references from the old LinearLayout to the TextView (and assign it an id if necessary), so the quickfix is implemented as a visual refactoring. It's also made available from the Visual Refactoring menu. This changeset also updates a couple of unrelated golden files in the refactoring unit tests to track a message change a few months back. Change-Id: Iecb544d196fdd4bcabf13a3fdb82ef1ea063f4c2
* | | | Merge "Add support for multi-pass lint checks, and chained locations"Tor Norbye2012-01-2620-234/+868
|\ \ \ \ | |_|/ / |/| | |
| * | | Add support for multi-pass lint checks, and chained locationsTor Norbye2012-01-2420-234/+868
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds support for multi-pass lint checking. A detector can indicate that it is interested in a second pass through the source code. A good example of where this is needed is the Unused Resource detector. In the first pass, it tracks declarations and references, and at the end of the first pass it knows which resources are unused. However, at this point it's too late to compute detailed location information about each unused resource. Without multi-pass checks, it would have to track detailed location information for *all* resources, and computing locations can be costly. With multi-pass support, it just computes the unused resource names in the first pass, and then in the second pass it computes details about the locations of those resources found to be unused. This now includes *chained locations*. For example, for an unused string, all the different translations of the unused string are marked. These do not generate separate unused messages, it simply adds to the location chain for the original unused warning. This changeset also updates all the error reporters (text, HTML and XML) to include all the locations, not just the ones with messages. This changeset also cleans up the API a little: context classes now track the lint runner instead of the lint client (which can point to the lint client), and the SDK info lives with the project rather than with the context. Change-Id: I14ca3310bd1165b7dff655486157d770a36c4eff
* | | | Merge "First version of the ApiChecker."Xavier Ducrohet2012-01-2617-0/+49806
|\ \ \ \
| * | | | First version of the ApiChecker.Xavier Ducrohet2012-01-2617-0/+49806
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Reads frameworks/base/api xml/txt file to build a representation of package/class/method/field to figure out at what API level they were added. - Writes down (and read back) this in a simpler XML format (only the info we need). - Simple API to query when a class/method/field was added to the API. Change-Id: Ie854ed6d0c8c371990a913f949039f4c14c0b9cb
* | | | Merge "ADT: Asset Studio library updates for ICS"Roman Nurik2012-01-257-84/+58
|\ \ \ \
| * | | | ADT: Asset Studio library updates for ICSRoman Nurik2012-01-237-84/+58
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the action bar and status bar icon generators to better conform to the design guidelines. Also switches scaling logic to use an MDPI baseline rather than an HDPI baseline. Change-Id: I21c23d308f57157f1d2c02ddded143a5da188f85
* | | | SDK: remove find_java.exe from SDK.Raphael Moll2012-01-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | That's just temporary till I fix the build. Change-Id: I27c5a9556265467d5317f1775703d7401ed1e079
* | | | SDK: fix makefile for find_javaRaphael2012-01-251-4/+4
| | | | | | | | | | | | | | | | Change-Id: I7a7cdd38edfd6cc0d4272faad3df4c1c34b724cd
* | | | SDK: fix build by removing obsolete makefile referenceRaphael Moll2012-01-251-1/+1
| | | | | | | | | | | | | | | | Change-Id: I026347f1b81643eecd685e60cb5a35428aaaba62
* | | | Merge "Windows: "find_java" exe and lib for android.bat"Raphael2012-01-2515-426/+302
|\ \ \ \
| * | | | Windows: "find_java" exe and lib for android.batRaphael2012-01-2515-426/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a "find_java.exe" that will be packages in SDK/tools/lib. It will be used by android.bat and the other launchers to locate the best version of java to use for our tools (currently we have a find_java.bat that uses DOS commands to achieve something similar but more limited). In addition this creates a static "findjavalib" that is used by the NSIS installer to locate java and get its version (to complain in case we only find a Java 1.4 or lesser). The goal is for the installer to use the same logic as the tools will use to locate the java binary. Change-Id: Ic2efb388135087bab9687c3332882047fd041b1c
* | | | | Merge "SDK Windows: more ways to find java."Raphael2012-01-255-30/+371
|\ \ \ \ \ | |/ / / /
| * | | | SDK Windows: more ways to find java.Raphael2012-01-235-30/+371
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also properly redirect command-line output to the parent shell console. This is experimental. This CL removes "android.exe" from the Windows tools and only keeps android.bat. However in a next CL android.bat will be changed to use 'find_java' to locate the best Java exe around (this is currently done in a bat script) Change-Id: I6e5485fdf59fde9838cf929ff333e1c611ea7bb4
* | | | Add render logger hyperlinks to define layout_width and heightTor Norbye2012-01-245-43/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a layout requires the layout_width or layout_height to be defined (which all layouts except GridLayout do), and an XML layout does not define it, then the view will throw an exception during render, which states that the attribute must be defined, but does not state which element is missing it. This changeset adds recognition code in the RenderLogger which detects when this render failure happens, and when listing the render errors it performs a check in the XML to identify the offending element(s) and lists them. It also adds hyperlinks to directly set the value to either wrap_content or fill_parent (or match_parent if the API level >= 8). This addresses 24624: ADT GLE tells me to supply layout_width/height attributes... but to what? Change-Id: I967a72e61dc7d494c213111a86bd5865943e07fe
* | | | gltrace: add a texture view to display the texture imageSiva Velusamy2012-01-248-77/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new view that displays the texture image in an ImageCanvas. The code shared between the FrameBufferView and the TextureView have now been moved to an abstract ImageViewPart class. The GL state view provides selection events that are listened to by the texture view. When a texture property is selected, the appropriate texture image is displayed in the texture view. Change-Id: I5f192c88ace447e267d1b3c110ab9bfd39864321
* | | | gltrace: separate out ImageCanvas from GLFrameBufferView.Siva Velusamy2012-01-242-181/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch performs a simple refactoring: extract out a ImageCanvas widget from within the GLFrameBuffer View. Change-Id: I840ae499e7de79e98437379b5ddf97777899daa6
* | | | gltrace: manage texture image state changesSiva Velusamy2012-01-2415-29/+463
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Texture Data is provided via glTexImage2D. Parts of a created texture may then be updated using glTexSubImage2D. This patch adds a GL state variable that maintains a path to the current texture image for each texture. This patch also includes a few other misc. changes: - Duration minimap: do not create back buffer image of size 0. In such a case, just don't draw anything. - In the function trace view, selecting a particular item in the table doesn't also scroll it into view on Mac. Add a setTopIndex to fix this. - add Guava is a dependency - Apply the state transformations in a separate Eclipse job. Change-Id: I53f5a0438217d9d086b844f7d333306f7c9fbccd
* | | Merge "Fix resource formatting of string values containing markup"Tor Norbye2012-01-242-0/+46
|\ \ \
| * | | Fix resource formatting of string values containing markupTor Norbye2012-01-232-0/+46
| |/ / | | | | | | | | | Change-Id: I033f2d298f418c3588a31946691312e48934e565
* | | Merge "Fix RelativeLayout margin feedback: convert from px to dp"Tor Norbye2012-01-241-1/+2
|\ \ \ | |/ / |/| |
| * | Fix RelativeLayout margin feedback: convert from px to dpTor Norbye2012-01-231-1/+2
| | | | | | | | | | | | Change-Id: Idf39c08f8970161ecf63d12745cb6ad34e84ec61
* | | ADT: fix missing supportsFormatOnGuiEdit delegate method.Raphael2012-01-235-7/+29
| | | | | | | | | | | | | | | | | | | | | Also makes the base xmlModelChanged(doc) abstract since there is no useful base implementation. Change-Id: I2fbe4c9c8f261c983c76c6ff1b60fb11c9e10b97