Lines Matching refs:VectorDrawable
66 * for each VectorDrawable. Therefore, referring to the same VectorDrawable means sharing the same
68 * and redrawn every time size is changed. In other words, if a VectorDrawable is used for
71 * VectorDrawable can be defined in an XML file with the <code><vector></code> element.
196 * <li>Here is a simple VectorDrawable in this vectordrawable.xml file.
314 public class VectorDrawable extends Drawable {
315 private static final String LOGTAG = VectorDrawable.class.getSimpleName();
344 public VectorDrawable() {
352 private VectorDrawable(@NonNull VectorDrawableState state, @Nullable Resources res) {
607 state.mThemeAttrs, R.styleable.VectorDrawable);
658 public static VectorDrawable create(Resources resources, int rid) {
671 final VectorDrawable drawable = new VectorDrawable();
688 Trace.traceBegin(Trace.TRACE_TAG_RESOURCES, "VectorDrawable#inflate");
710 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.VectorDrawable);
1058 return new VectorDrawable(this, null);
1063 return new VectorDrawable(this, res);
2099 // Resolve the theme attributes directly referred by the VectorDrawable.
2106 // Resolve the theme attributes in-directly referred by the VectorDrawable, for example,