History log of /sdk/assetstudio/src/com/android/assetstudiolib/MenuIconGenerator.java
Revision Date Author Comments
c83ea5b06bf11d511ea26de1ec0ac1e9023732ea 24-Jan-2012 Roman Nurik <romannurik@google.com> ADT: Asset Studio library updates for ICS

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
59bddc5b09c091cfae54577ec36b16925b362b55 25-Aug-2011 Tor Norbye <tnorbye@google.com> Add support for remaining asset types in Asset Studio Wizard

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
7208e72d510e1bf5d3860f4a15d135e42d64eaa0 16-Jul-2011 Tor Norbye <tnorbye@google.com> Asset Studio wizard

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