Lines Matching defs:VectorDrawable
61 * for each VectorDrawable. Therefore, referring to the same VectorDrawable means sharing the same
63 * and redrawn every time size is changed. In other words, if a VectorDrawable is used for
66 * VectorDrawable can be defined in an XML file with the <code><vector></code> element.
183 * <li>Here is a simple VectorDrawable in this vectordrawable.xml file.
204 public class VectorDrawable extends Drawable {
205 private static final String LOGTAG = VectorDrawable.class.getSimpleName();
234 public VectorDrawable() {
242 private VectorDrawable(@NonNull VectorDrawableState state, @Nullable Resources res) {
491 state.mThemeAttrs, R.styleable.VectorDrawable);
542 public static VectorDrawable create(Resources resources, int rid) {
555 final VectorDrawable drawable = new VectorDrawable();
591 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.VectorDrawable);
898 return new VectorDrawable(this, null);
903 return new VectorDrawable(this, res);
1639 // Resolve the theme attributes directly referred by the VectorDrawable.
1646 // Resolve the theme attributes in-directly referred by the VectorDrawable, for example,