diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-12-03 14:46:23 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-12-03 16:32:50 -0800 |
commit | 8c7a580b34d67fefd5f777c7bd6247b2d3960608 (patch) | |
tree | 0d4c48ccc8c813f8202193c799b5fdb2bc6d3e16 /graphics | |
parent | 988f382308f4d6c743a3d85462184ed077c3a36e (diff) | |
download | frameworks_base-8c7a580b34d67fefd5f777c7bd6247b2d3960608.zip frameworks_base-8c7a580b34d67fefd5f777c7bd6247b2d3960608.tar.gz frameworks_base-8c7a580b34d67fefd5f777c7bd6247b2d3960608.tar.bz2 |
Some theme cleanup.
- Add new dialog themes without a title bar.
- Add new Theme.Holo.NoActionBar.DialogWhenLarge.
- Remove old Extended and Theme.Light.Holo themes.
- Reorder the public definitions to keep things nice.
Also @hide the MipmapDrawable class.
Change-Id: Ic69a56e9b28aacf441780633f37f0bc6a475d08a
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/drawable/Drawable.java | 2 | ||||
-rw-r--r-- | graphics/java/android/graphics/drawable/MipmapDrawable.java | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/drawable/Drawable.java b/graphics/java/android/graphics/drawable/Drawable.java index 2f13bef..6cdafdb 100644 --- a/graphics/java/android/graphics/drawable/Drawable.java +++ b/graphics/java/android/graphics/drawable/Drawable.java @@ -770,8 +770,10 @@ public abstract class Drawable { drawable = new StateListDrawable(); } else if (name.equals("level-list")) { drawable = new LevelListDrawable(); + /* Probably not doing this. } else if (name.equals("mipmap")) { drawable = new MipmapDrawable(); + */ } else if (name.equals("layer-list")) { drawable = new LayerDrawable(); } else if (name.equals("transition")) { diff --git a/graphics/java/android/graphics/drawable/MipmapDrawable.java b/graphics/java/android/graphics/drawable/MipmapDrawable.java index 75fdeed..cd39719 100644 --- a/graphics/java/android/graphics/drawable/MipmapDrawable.java +++ b/graphics/java/android/graphics/drawable/MipmapDrawable.java @@ -27,6 +27,9 @@ import android.util.AttributeSet; import java.io.IOException; /** + * @hide -- we are probably moving to do MipMaps in another way (more integrated + * with the resource system). + * * A resource that manages a number of alternate Drawables, and which actually draws the one which * size matches the most closely the drawing bounds. Providing several pre-scaled version of the * drawable helps minimizing the aliasing artifacts that can be introduced by the scaling. |