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

12

/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.cpp28 #include "VectorDrawable.h"
32 using namespace VectorDrawable;
102 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(vectorDrawablePtr);
109 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(nativePtr);
117 VectorDrawable::Path* path = reinterpret_cast<VectorDrawable::Path*>(nativePtr);
127 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.h62 namespace VectorDrawable { namespace in namespace:android::uirenderer
65 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
H A DPropertyValuesHolder.cpp27 using namespace VectorDrawable;
H A DRecordedOp.h44 namespace VectorDrawable { namespace in namespace:android::uirenderer
351 VectorDrawableOp(VectorDrawable::Tree* tree, BASE_PARAMS_PAINTLESS)
354 VectorDrawable::Tree* vectorDrawable;
H A DVectorDrawable.h50 namespace VectorDrawable { namespace in namespace:android::uirenderer
57 /* A VectorDrawable is composed of a tree of nodes.
718 } // namespace VectorDrawable
720 typedef VectorDrawable::Path::Data PathData;
/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;
85 public static VectorDrawable create(Resources resources, int rid) {
98 final VectorDrawable drawable = new VectorDrawable();
119 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/apct-tests/perftests/core/src/android/graphics/perftests/
H A DVectorDrawablePerfTest.java23 import android.graphics.drawable.VectorDrawable;
63 VectorDrawable vd = (VectorDrawable) activity.getDrawable(resId);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java70 * This class animates properties of a {@link android.graphics.drawable.VectorDrawable} with
91 * <li><h4>XML for the VectorDrawable containing properties to be animated</h4>
94 * {@link android.graphics.drawable.VectorDrawable}. These attributes will be animated by
97 * the same VectorDrawable. Elements without animation do not need to be named.
100 * Here are all the animatable attributes in {@link android.graphics.drawable.VectorDrawable}:
165 * Below is an example of a VectorDrawable defined in vectordrawable.xml. This VectorDrawable is
190 * An AnimatedVectorDrawable element has a VectorDrawable attribute, and one or more target
195 * groups and paths in the <a href="#VDExample">VectorDrawable XML above</a>.
355 * In order to avoid breaking old apps, we only throw exception on invalid VectorDrawable
[all...]
H A DDrawableInflater.java169 return new VectorDrawable();
H A DVectorDrawable.java65 * for each VectorDrawable. Therefore, referring to the same VectorDrawable means sharing the same
67 * and redrawn every time size is changed. In other words, if a VectorDrawable is used for
70 * VectorDrawable can be defined in an XML file with the <code>&lt;vector></code> element.
195 * <li>Here is a simple VectorDrawable in this vectordrawable.xml file.
235 public class VectorDrawable extends Drawable { class in inherits:Drawable
236 private static final String LOGTAG = VectorDrawable.class.getSimpleName();
265 public VectorDrawable() { method in class:VectorDrawable
273 private VectorDrawable(@NonNull VectorDrawableState state, @Nullable Resources res) { method in class:VectorDrawable
528 state.mThemeAttrs, R.styleable.VectorDrawable);
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaDisplayListTests.cpp18 #include <VectorDrawable.h>
97 VectorDrawableRoot vectorDrawable(new VectorDrawable::Group());
127 VectorDrawableRoot cleanVD(new VectorDrawable::Group());
139 VectorDrawableRoot dirtyVD(new VectorDrawable::Group());
H A DVectorDrawableTests.cpp20 #include "VectorDrawable.h"
102 // Check box VectorDrawable path data
350 TEST(VectorDrawable, groupProperties) {
352 VectorDrawable::Group group;
353 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties();
401 TEST(VectorDrawable, drawPathWithoutIncrementingShaderRefCount) {
402 VectorDrawable::FullPath path("m1 1", 4);
H A DSkiaRenderPropertiesTests.cpp18 #include <VectorDrawable.h>
H A DRenderNodeTests.cpp18 #include <VectorDrawable.h>
308 VectorDrawable::Group* group = new VectorDrawable::Group();
H A DSkiaPipelineTests.cpp18 #include <VectorDrawable.h>
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaRecordingCanvas.cpp120 class VectorDrawable : public SkDrawable { class in namespace:android::uirenderer::skiapipeline
122 VectorDrawable(VectorDrawableRoot* tree) : mRoot(tree) {} function in class:android::uirenderer::skiapipeline::VectorDrawable
138 * 2) fix VectorDrawable.cpp's Path::draw to not make a temporary path
152 drawDrawable(mDisplayList->allocateDrawable<VectorDrawable>(tree));
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h64 namespace VectorDrawable { namespace in namespace:android::uirenderer
68 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
259 * Draws a VectorDrawable onto the canvas.
/frameworks/base/
H A Dpreloaded-classes1098 android.graphics.drawable.VectorDrawable
1099 android.graphics.drawable.VectorDrawable$VFullPath
1100 android.graphics.drawable.VectorDrawable$VFullPath$1
1101 android.graphics.drawable.VectorDrawable$VFullPath$10
1102 android.graphics.drawable.VectorDrawable$VFullPath$2
1103 android.graphics.drawable.VectorDrawable$VFullPath$3
1104 android.graphics.drawable.VectorDrawable$VFullPath$4
1105 android.graphics.drawable.VectorDrawable$VFullPath$5
1106 android.graphics.drawable.VectorDrawable$VFullPath$6
1107 android.graphics.drawable.VectorDrawable
[all...]

Completed in 2639 milliseconds

12