aboutsummaryrefslogtreecommitdiffstats
path: root/assetstudio/src
Commit message (Collapse)AuthorAgeFilesLines
* Ignore xxhigh density in Asset Studio.Xavier Ducrohet2012-07-131-1/+2
| | | | Change-Id: I1cf4c6e2f28759fa87652e44b9343ae985fed9f9
* Asset Studio: Add no-background option, and support embeddingTor Norbye2012-05-082-9/+22
| | | | | | | | | | | | | | | | | This changeset improves the asset studio wizard in two ways: - First, it adds support for having no background shape (which the web version has added) - Second, it adds a "value holder" class which holds the current (as well as initial) state of the various configuration parameters for the icon generator. This allows the same code to be used to generate icons programatically, and also allows reuse of the asset studio wizard pages in different wizards and with custom initial state. For example, the New Project wizard can now embed the asset studio page and preconfigure it to generate launcher icons. Change-Id: I9eac396325214af8309447083ff9dcb9e59645ab
* ICS clipart from Roman. Also re-enable clipart option in UI.Tor Norbye2012-01-2743-0/+0
| | | | Change-Id: Icd4fe670bbabc9413256b3b5b4631b45dbcc3134
* 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
* Update SDK codebase to JDK 6Tor Norbye2011-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | | This changeset makes the SDK codebase compile with source=1.6 (which means it also requires JDK 6). This means that methods implementing an interface requires @Override's. It also means we can start using APIs like the ArrayDeque class and methods like String#isEmpty(). This changeset looks big but the change is trivial: it's basically adding @Override in all the places that need it, along with some other automatic Eclipse cleanup in certain files (such as reordering imports where they were incorrectly ordered (because older versions of Eclipse didn't always handle inner classes right)), as well as cleaning up trailing whitespace and removing some $NON-NLS-1$ markers on lines where there aren't any string literals anymore. This changeset also sets the source and target JDK level to 6 in the Eclipse compiler .settings file, and synchronizes this file to all the other Eclipse SDK projects. Change-Id: I6a9585aa44c3dee9a5c00739ab22fbdbcb9f8275
* Update Asset Studio launcher icon stencils per UX specRoman Nurik2011-09-2831-11/+11
| | | | | | | | | Per discussion with the Android UX team, we've decided to update the spec for launcher icons. In a future update we will change some of the underlying behavior to provide more shapes and allow freeform shapes. Change-Id: Idf575230c7c649299c7368209dfee5e7a0638fad
* Use project minimum SDK to generate fewer iconsTor Norbye2011-09-013-21/+46
| | | | | | | | | | | | | This changeset makes the icon generator consider the project's minimum SDK version, to only create necessary icons. For example, by default the tab icon generator will generate different icons for v5 and newer and folder older icons. With this CL, if the minimum SDK is 5 or higher, then only the newer style icons are created (and they are placed in the default drawable folder instead of a -v5 version of the folder). Similarly, notification icons for v11, v9 and older are also created conditionally. Change-Id: Id96d572d4b8f23cd59d0f1b983c6aea85683eb0f
* Add support for remaining asset types in Asset Studio WizardTor Norbye2011-09-0116-126/+801
| | | | | | | | | | | | | | | | | | | | This changeset ports the remaining graphic generators from the HTML5 version (notifications, tabs, action bar), and hooks up wizard support for them. It also adds unit tests for the generators which generates images and compares them to known good versions. I ran these tests comparing them to the output from the HTML5 version of Asset Studio and all but 3 of the images varied less than 5% (and I verified the remaining manually and they're all fine and the difference is due to the images being aligned slightly differently.) The icon wizard is now also hooked up to the "New" button in the Resource Chooser for drawable resources, and this changeset also fixes a few related issues ("New" didn't work for file-based resources, and newly created resources weren't showing up in the selection list.) Change-Id: I48c49f1d5de452aa5b78e491d9b07e7156397fa9
* Add clipart support to the asset set wizardTor Norbye2011-08-023-0/+80
| | | | | | | | | | | This changeset adds clipart support to the asset set wizard. There is only one placeholder clipart image now but the code reads the available images from the jar dynamically. This changeset also adds "file exists - replace yes, no, always, never" handling for the generated icons. Change-Id: I38d0c40957eff4a9e844e29d61f2c57493bd10f0
* Add a text rendering utility class to the Asset Studio library.Roman Nurik2011-07-282-4/+114
| | | | | | | | | Add a text rendering utility class to the Asset Studio library. Also fix a tiny edge-case bug in image scaling. The text rendering class allows rendering a String with some options to a BufferedImage, for input as the sourceImage to a GraphicGenerator. Change-Id: I8e17e9a25ac2e48fa55e2994706aeb572da54223
* Asset Studio wizardTor Norbye2011-07-2755-0/+725
This is an initial integration of the Android Asset Studio into Eclipse, as a New Asset wizard. It uses the Java port of the Android Asset Studio to generate the assets: https://code.google.com/a/google.com/p/android-asset-studio-java/ It only supports launcher icons, and some of the configurable parameters (file, shape, crop). To run it, put the AssetStudioLib.jar file into the the adt libs directory. There's a new "Asset Set" wizard in the New wizard, which will open up a two page wizard; the first page lets you select the project (which it attempts to pick up from context), as well as the type of asset to create, and the asset output name. In the second page there are the various widgets to tweak the code generator, and a preview area on the right which updates as you tweak the various controls. The main remaining work is to support additional asset types as they are added to the assetstudio generator library. Change-Id: I2e556337f8e5c3bc09e84b35a342ba05110abebc