From d8c18e81c0588a4e80bfe72fef769d758ed90f89 Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Wed, 11 Feb 2015 17:49:54 -0800 Subject: API for adding layers to LayerDrawable Change-Id: I859c956a47d95fa1ce65b9eea9bc7be4659486bf --- api/current.txt | 3 +++ api/system-current.txt | 3 +++ 2 files changed, 6 insertions(+) (limited to 'api') diff --git a/api/current.txt b/api/current.txt index cd4f73a..b7d6b17 100644 --- a/api/current.txt +++ b/api/current.txt @@ -11985,8 +11985,10 @@ package android.graphics.drawable { public class LayerDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback { ctor public LayerDrawable(android.graphics.drawable.Drawable[]); + method public int addLayer(android.graphics.drawable.Drawable); method public void draw(android.graphics.Canvas); method public android.graphics.drawable.Drawable findDrawableByLayerId(int); + method public int findIndexByLayerId(int); method public android.graphics.drawable.Drawable getDrawable(int); method public int getId(int); method public int getLayerGravity(int); @@ -11999,6 +12001,7 @@ package android.graphics.drawable { method public void scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long); method public void setAlpha(int); method public void setColorFilter(android.graphics.ColorFilter); + method public void setDrawable(int, android.graphics.drawable.Drawable); method public boolean setDrawableByLayerId(int, android.graphics.drawable.Drawable); method public void setId(int, int); method public void setLayerGravity(int, int); diff --git a/api/system-current.txt b/api/system-current.txt index ce68ca9..e260f07 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -12259,8 +12259,10 @@ package android.graphics.drawable { public class LayerDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback { ctor public LayerDrawable(android.graphics.drawable.Drawable[]); + method public int addLayer(android.graphics.drawable.Drawable); method public void draw(android.graphics.Canvas); method public android.graphics.drawable.Drawable findDrawableByLayerId(int); + method public int findIndexByLayerId(int); method public android.graphics.drawable.Drawable getDrawable(int); method public int getId(int); method public int getLayerGravity(int); @@ -12273,6 +12275,7 @@ package android.graphics.drawable { method public void scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long); method public void setAlpha(int); method public void setColorFilter(android.graphics.ColorFilter); + method public void setDrawable(int, android.graphics.drawable.Drawable); method public boolean setDrawableByLayerId(int, android.graphics.drawable.Drawable); method public void setId(int, int); method public void setLayerGravity(int, int); -- cgit v1.1