History log of /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdStartDialog.java
Revision Date Author Comments
ae6a209f6f4030e1ebe20118f9455547e4cd50fc 17-Aug-2012 Xavier Ducrohet <xav@android.com> Unify all loggers in the sdk tools.

Removed ILogger from ide_common
Removed ISdkLog (and implementations) from sdklib

Moved all existing code to com.android.utils.ILogger
which is located in common.

Change-Id: Icd674d4b8d10f6ae8b60a83acb43cc53c7a52137
e657bb8af7b8e75665bb745b2b9b363dea024c00 09-Aug-2012 Michael Wright <michaelwr@google.com> Set default scaled screen size to device's screen size

Change-Id: I6b169f0ef21d8f45da35dd10a7f76b30f3defcbb
547c7761208632134d33eace29c81a4e60cd0a69 31-May-2012 Tor Norbye <tnorbye@google.com> Fix "Resource leak: <Foo> is never closed"

This changeset fixes various code fragments opening
resources without closing them.

Change-Id: I6ed48a32dc5de4c11cab394dd3883ebbb54d2938
b681e01f17149c0ab1da96eabbc6d121e9e8b9d0 18-May-2012 Raphael Moll <ralf@android.com> SDK Manager: Settings to control download cache.

SDK Manager > Tools > Options now has a checkbox to
deactivate the download cache. It also indicates the
path to the cache directory, its size and a button
to clear the cache immediately.

This only affects the sdk manager files for the download
cache, it doesn't clear other cached files such as the
lint binaries.

Also restructured the settings controller a tiny bit.
There's more that could be restructured here but it's
not a priority right now.

Change-Id: I474e6155bdc041770f3f7664366d0d92bd96d9b0
ab36f4e7488358dea4ab6b54ee2b7bef3da0232b 21-Dec-2011 Tor Norbye <tnorbye@google.com> Update SDK codebase to JDK 6

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
afb6e4b4183c78131d7504ddb5395b769f1bf36e 26-Apr-2011 Raphael Moll <ralf@android.com> Fix SdkManager unit tests. Refactor AvdInfo.

A couple issues with the current unit tests:
- It was correctly allocating a temporary SDK folder.
- It was correctly creating temporary AVDs in a temp folder.
- However it was still using the regular AVD root for the
AVD ini files and leaving them behind.
- Minor windows dir-sep issue.

This replaces the SdkManagerTestUtils class by a
new base TestClass specific to SDK testing that creates
both the temporary SDK and AVD manager and correctly overrides
the AVD root.

One issue is that we have different ways to find what the
correct AVD Root is and the default paths used for an AvdInfo
where setup using static methods, making them impossible to
override in unit tests.
This refactors AvdInfo out of AvdManager and most important
there's a single non-static method, AvdManager.getBaseAvdFolder(),
that is used to know where AVDs should be stored.

Change-Id: I4270203f52de15ca9418e9b4f1bf61dbc843c218
57aa211a4bff699d81f755c0d827b496ad7eef26 30-Nov-2010 Tim Baverstock <weasel@google.com> Merge 74f725db from master: Add snapshot handling for AVD creation, details, and launch

Also respect 'Wipe User Data' by disabling snapshot launch, and support 'Edit AVD'.

Change-Id: I2fee9361d78d70b80314523e36b48fbd80b03ca7
74f725db7520285e69245060ad2c03d212e40fd7 30-Nov-2010 Tim Baverstock <weasel@google.com> Add snapshot handling for AVD creation, details, and launch

Also respect 'Wipe User Data' by disabling snapshot launch, and support 'Edit AVD'.

Change-Id: I5bc94c316e550b2585ca80185a02ffbe6d3e8401
d4963dc4347c871be5faa76920709001490e1d2a 24-Feb-2010 The Android Open Source Project <initial-contribution@android.com> snapshot
e13151727c63786342cddc3ea355425582bd4e7a 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
312c9ed171a7fff530b3b7a4e6a87ead9b0d6522 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
ac3e39b9ffd56739b117aa34c28223b3e99d7769 06-Nov-2009 Raphael <raphael@google.com> SDK: fix NPE in AVD Manager > Start when skin.path is missing.

Change-Id: I0e42d3f110cfc4e313972f3021b7d2d84dfbd64d
6894ae6d8af8a30c7137fe01831a57fc0fc24695 29-Oct-2009 Raphael <raphael@google.com> SDK Manager: fix NPE in AVD > Start when there's no skin name.

Also log missing config.ini path.

SDK BUG 2223760

Change-Id: I4517005e03e90c0b5a52bcb40b0d32eddd03c1f3
cdb1c673ed1489bc3a07cf3005abe4b741d54cac 29-Oct-2009 Raphael <raphael@google.com> SDK Manager > AVD > Start: print computed scale. DO NOT MERGE.

This displays the scale computed by AVD Start.
I find it more intuitive to use if I see what the
emulator will be called with.

Change-Id: I6b97fee06bd4e6dc36c977ffef3c25315469b766
05710678abc46d824c2bd35449ae8e2fc376b639 25-Oct-2009 Raphael <raphael@google.com> SDK Manager > AVD > Start: print computed scale.

This displays the scale computed by AVD Start.
I find it more intuitive to use if I see what the
emulator will be called with.

Change-Id: I337b264437dee81aed1bb9a1fbd11ccc9f506e88
1224e7387f3da93a567f440779ef220843ee42bb 21-Oct-2009 Raphael <raphael@google.com> AVD Manager: Properly disable AVD > Start > ? under Windows

SDK BUG 2201546

Change-Id: I5b1f8bcaf57f2e7f94b4109cb62a3a5eadcd24a9
a366aaa0ae73cfacba1a9657fdf38ed319f5a969 09-Oct-2009 Xavier Ducrohet <xav@android.com> Minor label change (size -> resolution)

Also remove unused imports

Change-Id: Ib18a32c126bc913e3e0c14546d2ce693190be1d1
0186efbaba4340cec53f0800c80fd3c900cb8a22 07-Oct-2009 Xavier Ducrohet <xav@android.com> New based dialog class.

This simply (for now) extends the jface dialog to properly
set it up.

Change-Id: I0d2bc2d10aad3811201f9d1df3efbfc87be50cb4
a0c4971c698d05fbcc13d9700bef01a6b83fa704 02-Oct-2009 Xavier Ducrohet <xav@android.com> Monintor resolution/size chooser dialog

This simple dialog lets the user choose a screen size (from a fixed list) and
a resolution (as returned by SWT's Display class).

This is used by the AVD start options dialog to help users figure out
the pixel density of their monitor.

Change-Id: I3eec0e7fac850c82e836d2bc0291a491f29f516e
029f98d69605e322c8f8592ab59d2f89814872c8 02-Oct-2009 Xavier Ducrohet <xav@android.com> Emulator launch options dialog.

This is displayed when clicking the Start button in the AVD manager.

The dialog allows to easily scale the emulator to match an arbitrary screen size
and to wipe the user data if needed.

The required monitor dpi is computed using java.awt.Toolkit, but (at least
on MacOS) it doesn't return the correct value, so it can be user supplied.
It's stored at least while the app is running and if possible in the settings
of the ADV/SDK Manager/Updater.

The wipe-data and scale flags are stored and reused while the app keeps
running as well.

Change-Id: Ia2f3ff5f4de285a3d505c6914d6b89cc663be284