HomeSort by relevance Sort by last modified time
    Searched refs:VectorDrawableCompat (Results 1 - 6 of 6) sorted by null

  /frameworks/support/samples/SupportVectorDrawableDemos/src/main/java/com/example/android/support/vectordrawable/app/
SimpleStaticVectorDrawable.java 29 import androidx.vectordrawable.graphics.drawable.VectorDrawableCompat;
36 * Simple demo for VectorDrawableCompat.
91 VectorDrawableCompat[] d = new VectorDrawableCompat[mIcons.length];
94 d[i] = VectorDrawableCompat.create(res, mIcons[i], getTheme());
106 VectorDrawableCompat[] extras = new VectorDrawableCompat[EXTRA_TESTS];
108 extras[0] = (VectorDrawableCompat) state.newDrawable();
109 extras[1] = (VectorDrawableCompat) state.newDrawable();
130 private void addDrawableButtons(LinearLayout container, VectorDrawableCompat[] d)
    [all...]
  /frameworks/support/graphics/drawable/static/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
VectorDrawableTest.java 38 import androidx.vectordrawable.graphics.drawable.VectorDrawableCompat;
133 private VectorDrawableCompat mVectorDrawable;
160 mVectorDrawable = VectorDrawableCompat.create(mResources, resIds[i], mTheme);
283 VectorDrawableCompat vectorDrawable =
284 VectorDrawableCompat.create(mResources, TEST_ICON, mTheme);
308 VectorDrawableCompat vectorDrawable =
309 VectorDrawableCompat.create(mResources, R.drawable.vector_icon_delete, mTheme);
322 VectorDrawableCompat d1 =
323 VectorDrawableCompat.create(mResources, TEST_ICON, mTheme);
324 VectorDrawableCompat d2
    [all...]
  /frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/
VectorDrawableCompat.java 67 * You can always create a VectorDrawableCompat object and use it as a Drawable by the Java API.
68 * In order to refer to VectorDrawableCompat inside a XML file, you can use app:srcCompat attribute
72 * for each VectorDrawableCompat. Therefore, referring to the same VectorDrawableCompat means
78 * VectorDrawableCompat can be defined in an XML file with the <code>&lt;vector></code> element.
80 * The VectorDrawableCompat has the following elements:
200 public class VectorDrawableCompat extends VectorDrawableCommon {
201 static final String LOGTAG = "VectorDrawableCompat";
244 VectorDrawableCompat() {
248 VectorDrawableCompat(@NonNull VectorDrawableCompatState state)
    [all...]
  /frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
AnimatedVectorDrawableCompat.java 60 * {@link VectorDrawableCompat} to create an animated drawable.
65 * Here are all the animatable attributes in {@link VectorDrawableCompat}:
462 VectorDrawableCompat vectorDrawable = VectorDrawableCompat.create(res,
531 * Instead of creating a VectorDrawable, create a VectorDrawableCompat instance which contains
582 VectorDrawableCompat mVectorDrawable;
595 mVectorDrawable = (VectorDrawableCompat) cs.newDrawable(res);
597 mVectorDrawable = (VectorDrawableCompat) cs.newDrawable();
599 mVectorDrawable = (VectorDrawableCompat) mVectorDrawable.mutate();
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
Utils.java 43 import android.support.graphics.drawable.VectorDrawableCompat;
496 public static VectorDrawableCompat getVectorDrawable(Context context, @DrawableRes int resId) {
497 return VectorDrawableCompat.create(context.getResources(), resId, context.getTheme());
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
AppCompatDrawableManager.java 55 import androidx.vectordrawable.graphics.drawable.VectorDrawableCompat;
94 // VectorDrawableCompat before Nougat to utilize the bug fixes in VectorDrawableCompat.
757 + "configuration. Please configure your build for VectorDrawableCompat.");
762 return d instanceof VectorDrawableCompat
774 return VectorDrawableCompat
    [all...]

Completed in 116 milliseconds