Lines Matching refs:drawable
17 package android.graphics.drawable;
42 * href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p>
78 * @param drawable -The image to show.
80 public void addState(int[] stateSet, Drawable drawable) {
81 if (drawable != null) {
82 mStateListState.addStateSet(stateSet, drawable);
166 // This allows state list drawable item elements to be themed at
184 + ": <item> tag requires a 'drawable' attribute or "
185 + "child tag defining a drawable");
209 case R.attr.drawable:
228 * Gets the number of states contained in this drawable.
230 * @return The number of states contained in this drawable.
253 * Gets the drawable at an index.
255 * @param index The index of the drawable.
256 * @return The drawable at the index.
266 * Gets the index of the drawable with the provided state set.
327 int addStateSet(int[] stateSet, Drawable drawable) {
328 final int pos = addChild(drawable);
384 // Every state list drawable has its own constant state.