Lines Matching defs:drawable
17 package android.graphics.drawable;
37 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p>
83 * @param drawable -The image to show.
85 public void addState(int[] stateSet, Drawable drawable) {
86 if (drawable != null) {
87 mStateListState.addStateSet(stateSet, drawable);
161 if (stateResId == com.android.internal.R.attr.drawable) {
180 + ": <item> tag requires a 'drawable' attribute or "
181 + "child tag defining a drawable");
197 * Gets the number of states contained in this drawable.
199 * @return The number of states contained in this drawable.
222 * Gets the drawable at an index.
224 * @param index The index of the drawable.
225 * @return The drawable at the index.
235 * Gets the index of the drawable with the provided state set.
287 int addStateSet(int[] stateSet, Drawable drawable) {
288 final int pos = addChild(drawable);