Searched refs:VectorDrawable (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp22 #include "VectorDrawable.h"
28 using namespace uirenderer::VectorDrawable;
31 * VectorDrawable's pre-draw construction.
34 VectorDrawable::Group* rootGroup = reinterpret_cast<VectorDrawable::Group*>(groupPtr);
35 VectorDrawable::Tree* tree = new VectorDrawable::Tree(rootGroup);
40 VectorDrawable::Group* rootGroup = reinterpret_cast<VectorDrawable::Group*>(groupPtr);
41 VectorDrawable
[all...]
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp27 #include "VectorDrawable.h"
31 using namespace VectorDrawable;
101 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(vectorDrawablePtr);
108 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(nativePtr);
116 VectorDrawable::Path* path = reinterpret_cast<VectorDrawable::Path*>(nativePtr);
126 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable
[all...]
/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.h19 #include "VectorDrawable.h"
90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue,
99 VectorDrawable::Group* mGroup;
105 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId,
115 VectorDrawable::FullPath* mFullPath;
121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue,
130 VectorDrawable::FullPath* mFullPath;
136 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue,
144 VectorDrawable::Path* mPath;
150 RootAlphaPropertyValuesHolder(VectorDrawable
[all...]
H A DDisplayList.h72 namespace VectorDrawable { namespace in namespace:android::uirenderer
75 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
H A DPropertyValuesHolder.cpp26 using namespace VectorDrawable;
H A DRecordedOp.h43 namespace VectorDrawable { namespace in namespace:android::uirenderer
351 VectorDrawableOp(VectorDrawable::Tree* tree, BASE_PARAMS_PAINTLESS)
354 VectorDrawable::Tree* vectorDrawable;
H A DVectorDrawable.h42 namespace VectorDrawable { namespace in namespace:android::uirenderer
49 /* A VectorDrawable is composed of a tree of nodes.
718 } // namespace VectorDrawable
720 typedef VectorDrawable::Path::Data PathData;
H A DAndroid.mk103 VectorDrawable.cpp \
H A DVectorDrawable.cpp17 #include "VectorDrawable.h"
32 namespace VectorDrawable { namespace in namespace:android::uirenderer
590 }; // namespace VectorDrawable
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DBoundsCheckTest.java24 import android.graphics.drawable.VectorDrawable;
38 private final VectorDrawable mVector1;
44 mVector1 = (VectorDrawable) res.getDrawable(R.drawable.vector_drawable28);
H A DVectorDrawableStaticPerf.java18 import android.graphics.drawable.VectorDrawable;
H A DVectorDrawable01.java17 import android.graphics.drawable.VectorDrawable;
86 VectorDrawable vd = (VectorDrawable) button.getBackground();
H A DVectorDrawablePerformance.java18 import android.graphics.drawable.VectorDrawable;
84 public static VectorDrawable create(Resources resources, int rid) {
97 final VectorDrawable drawable = new VectorDrawable();
118 VectorDrawable []d = new VectorDrawable[icon.length];
H A DVectorCheckbox.java17 import android.graphics.drawable.VectorDrawable;
H A DAnimatedVectorDrawableDupPerf.java19 import android.graphics.drawable.VectorDrawable;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java68 * This class animates properties of a {@link android.graphics.drawable.VectorDrawable} with
89 * <li><h4>XML for the VectorDrawable containing properties to be animated</h4>
92 * have unique names in the same VectorDrawable. Groups and paths without animations do not need to
95 * Below is an example of a VectorDrawable defined in vectordrawable.xml. This VectorDrawable is
120 * An AnimatedVectorDrawable element has a VectorDrawable attribute, and one or more target
126 * groups and paths in the <a href="#VDExample">VectorDrawable XML above</a>.
285 * In order to avoid breaking old apps, we only throw exception on invalid VectorDrawable
319 * VectorDrawable's property changes during RenderThread animations.
471 VectorDrawable vectorDrawabl
[all...]
H A DDrawableInflater.java155 return new VectorDrawable();
H A DVectorDrawable.java64 * for each VectorDrawable. Therefore, referring to the same VectorDrawable means sharing the same
66 * and redrawn every time size is changed. In other words, if a VectorDrawable is used for
69 * VectorDrawable can be defined in an XML file with the <code>&lt;vector></code> element.
225 * <li>Here is a simple VectorDrawable in this vectordrawable.xml file.
265 public class VectorDrawable extends Drawable { class in inherits:Drawable
266 private static final String LOGTAG = VectorDrawable.class.getSimpleName();
295 public VectorDrawable() { method in class:VectorDrawable
303 private VectorDrawable(@NonNull VectorDrawableState state, @Nullable Resources res) { method in class:VectorDrawable
552 state.mThemeAttrs, R.styleable.VectorDrawable);
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DVectorDrawableTests.cpp20 #include "VectorDrawable.h"
102 // Check box VectorDrawable path data
350 TEST(VectorDrawable, matrixScale) {
390 float actualMatrixScale = VectorDrawable::Path::getMatrixScale(matrix);
395 TEST(VectorDrawable, groupProperties) {
397 VectorDrawable::Group group;
398 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties();
446 TEST(VectorDrawable, drawPathWithoutIncrementingShaderRefCount) {
447 VectorDrawable::FullPath path("m1 1", 4);
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h58 namespace VectorDrawable { namespace in namespace:android::uirenderer
62 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
221 * Draws a VectorDrawable onto the canvas.
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationColorUtil.java33 import android.graphics.drawable.VectorDrawable;
131 } else if (d instanceof VectorDrawable) {
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java38 import android.graphics.drawable.VectorDrawable;
63 * For API 24 and above, this class is delegating to the framework's {@link VectorDrawable}.
73 * will be recreated and redrawn every time size is changed. In other words, if a VectorDrawable is
908 * Instead of creating a VectorDrawable, create a VectorDrawableCompat instance which contains
909 * a delegated VectorDrawable instance.
921 drawableCompat.mDelegateDrawable = (VectorDrawable) mDelegateState.newDrawable();
928 drawableCompat.mDelegateDrawable = (VectorDrawable) mDelegateState.newDrawable(res);
936 (VectorDrawable) mDelegateState.newDrawable(res, theme);
/frameworks/base/
H A Dcompiled-classes-phone1354 android.graphics.drawable.VectorDrawable
1355 android.graphics.drawable.VectorDrawable$VClipPath
1356 android.graphics.drawable.VectorDrawable$VFullPath
1357 android.graphics.drawable.VectorDrawable$VFullPath$1
1358 android.graphics.drawable.VectorDrawable$VGroup
1359 android.graphics.drawable.VectorDrawable$VGroup$1
1360 android.graphics.drawable.VectorDrawable$VObject
1361 android.graphics.drawable.VectorDrawable$VPath
1362 android.graphics.drawable.VectorDrawable$VectorDrawableState

Completed in 667 milliseconds