Lines Matching defs:drawable
23 import android.graphics.drawable.Drawable;
87 * Adds a Drawable to the overlay. The bounds of the drawable should be relative to
88 * the host view. Any drawable added to the overlay should be removed when it is no longer
91 * @param drawable The Drawable to be added to the overlay. This drawable will be
95 public void add(Drawable drawable) {
96 mOverlayViewGroup.add(drawable);
102 * @param drawable The Drawable to be removed from the overlay.
105 public void remove(Drawable drawable) {
106 mOverlayViewGroup.remove(drawable);
125 * ViewGroupOverlay. These drawable and view objects are
186 public void add(Drawable drawable) {
191 if (!mDrawables.contains(drawable)) {
192 // Make each drawable unique in the overlay; can't add it more than once
193 mDrawables.add(drawable);
194 invalidate(drawable.getBounds());
195 drawable.setCallback(this);
199 public void remove(Drawable drawable) {
201 mDrawables.remove(drawable);
202 invalidate(drawable.getBounds());
203 drawable.setCallback(null);
262 public void invalidateDrawable(Drawable drawable) {
263 invalidate(drawable.getBounds());