Lines Matching refs:VectorDrawable

71  * This class animates properties of a {@link android.graphics.drawable.VectorDrawable} with
92 * <li><h4>XML for the VectorDrawable containing properties to be animated</h4>
95 * {@link android.graphics.drawable.VectorDrawable}. These attributes will be animated by
98 * the same VectorDrawable. Elements without animation do not need to be named.
101 * Here are all the animatable attributes in {@link android.graphics.drawable.VectorDrawable}:
169 * Below is an example of a VectorDrawable defined in vectordrawable.xml. This VectorDrawable is
194 * An AnimatedVectorDrawable element has a VectorDrawable attribute, and one or more target
199 * groups and paths in the <a href="#VDExample">VectorDrawable XML above</a>.
359 * In order to avoid breaking old apps, we only throw exception on invalid VectorDrawable
393 * VectorDrawable's property changes during RenderThread animations.
545 VectorDrawable vectorDrawable = (VectorDrawable) res.getDrawable(
593 VectorDrawable vectorDrawable, boolean ignoreInvalidAnim) {
605 if (targetNameObj instanceof VectorDrawable.VObject) {
606 property = ((VectorDrawable.VObject) targetNameObj).getProperty(propertyName);
607 } else if (targetNameObj instanceof VectorDrawable.VectorDrawableState) {
608 property = ((VectorDrawable.VectorDrawableState) targetNameObj)
681 final VectorDrawable vectorDrawable = mAnimatedVectorState.mVectorDrawable;
699 VectorDrawable mVectorDrawable;
721 mVectorDrawable = (VectorDrawable) cs.newDrawable(res);
723 mVectorDrawable = (VectorDrawable) cs.newDrawable();
725 mVectorDrawable = (VectorDrawable) mVectorDrawable.mutate();
744 mVectorDrawable = new VectorDrawable();
844 + "\" cannot be found in the VectorDrawable to be animated.");
845 } else if (!(target instanceof VectorDrawable.VectorDrawableState)
846 && !(target instanceof VectorDrawable.VObject)) {
909 ((VectorDrawable.VectorDrawableState) ((AnimatedVectorDrawableState)
921 ((VectorDrawable.VectorDrawableState) ((AnimatedVectorDrawableState)
944 ((VectorDrawable.VectorDrawableState) ((AnimatedVectorDrawableState)
1321 if (target instanceof VectorDrawable.VGroup) {
1322 createRTAnimatorForGroup(values, animator, (VectorDrawable.VGroup) target,
1324 } else if (target instanceof VectorDrawable.VPath) {
1329 createRTAnimatorForPath(animator, (VectorDrawable.VPath) target,
1331 } else if (target instanceof VectorDrawable.VFullPath) {
1332 createRTAnimatorForFullPath(animator, (VectorDrawable.VFullPath) target,
1339 } else if (target instanceof VectorDrawable.VectorDrawableState) {
1341 (VectorDrawable.VectorDrawableState) target, startTime);
1346 ObjectAnimator animator, VectorDrawable.VGroup target,
1354 propertyId = VectorDrawable.VGroup.getPropertyIndex(mTmpValues.propertyName);
1379 private void createRTAnimatorForPath( ObjectAnimator animator, VectorDrawable.VPath target,
1393 VectorDrawable.VFullPath target, long startTime) {
1438 ObjectAnimator animator, VectorDrawable.VectorDrawableState target,
1664 ((VectorDrawable.VectorDrawableState) ((AnimatedVectorDrawableState)
1680 ((VectorDrawable.VectorDrawableState) ((AnimatedVectorDrawableState)