OSDN Git Service

Deprecate DrawableStateList.getChildren() and add getChild().
authorAlan Viverette <alanv@google.com>
Thu, 6 Jun 2013 00:12:19 +0000 (17:12 -0700)
committerAlan Viverette <alanv@google.com>
Thu, 6 Jun 2013 00:12:19 +0000 (17:12 -0700)
commit72146433322588c1116ee06c27ac758ad09d869c
tree57c43e9b49fb268371e2f3b935a376665c0d689d
parent83ad439c5e0f9b505bcc9a1cfbdd5ce4da1d8a7b
Deprecate DrawableStateList.getChildren() and add getChild().

Moves from exposing the internal structure of a drawable state list
to only exposing the data. Adds getCapacity() and mutate() as
package-private APIs to support various drawable subclasses.

Change-Id: Id08743f979287e1a305f069ccc3c0085a7da6f7b
api/current.txt
graphics/java/android/graphics/drawable/AnimationDrawable.java
graphics/java/android/graphics/drawable/DrawableContainer.java
graphics/java/android/graphics/drawable/LevelListDrawable.java
graphics/java/android/graphics/drawable/StateListDrawable.java