Lines Matching defs:drawable
17 package android.graphics.drawable;
44 * This drawable can be defined in an XML file with the <code>
103 * Add a new drawable to the set of keyframes.
106 * @param drawable The drawable to show when in the specified state, may not be null
109 public void addState(@NonNull int[] stateSet, @NonNull Drawable drawable, int id) {
110 if (drawable == null) {
114 mState.addStateSet(stateSet, drawable, id);
123 * @param transition An {@link Animatable} drawable to use as a transition, may not be null
129 throw new IllegalArgumentException("Transition drawable must not be null");
148 // We need to propagate the state change to the current drawable, but
150 // current drawable.
463 // This allows state list drawable item elements to be themed at
487 + ": <transition> tag requires a 'drawable' attribute or "
488 + "child tag defining a drawable");
499 // This allows state list drawable item elements to be themed at
519 + ": <item> tag requires a 'drawable' attribute or "
520 + "child tag defining a drawable");
601 int addStateSet(@NonNull int[] stateSet, @NonNull Drawable drawable, int id) {
602 final int index = super.addStateSet(stateSet, drawable);
667 // Every animated state list drawable has its own constant state.