/frameworks/base/core/jni/ |
H A D | android_graphics_drawable_VectorDrawable.cpp | 22 #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 D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 28 #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 D | PropertyValuesHolder.h | 19 #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 D | DisplayList.h | 62 namespace VectorDrawable { namespace in namespace:android::uirenderer 65 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
H A D | PropertyValuesHolder.cpp | 27 using namespace VectorDrawable;
|
H A D | RecordedOp.h | 44 namespace VectorDrawable { namespace in namespace:android::uirenderer 351 VectorDrawableOp(VectorDrawable::Tree* tree, BASE_PARAMS_PAINTLESS) 354 VectorDrawable::Tree* vectorDrawable;
|
H A D | VectorDrawable.h | 50 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 D | BoundsCheckTest.java | 24 import android.graphics.drawable.VectorDrawable; 38 private final VectorDrawable mVector1; 44 mVector1 = (VectorDrawable) res.getDrawable(R.drawable.vector_drawable28);
|
H A D | VectorDrawableStaticPerf.java | 18 import android.graphics.drawable.VectorDrawable;
|
H A D | VectorDrawable01.java | 17 import android.graphics.drawable.VectorDrawable; 86 VectorDrawable vd = (VectorDrawable) button.getBackground();
|
H A D | VectorDrawablePerformance.java | 18 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 D | VectorCheckbox.java | 17 import android.graphics.drawable.VectorDrawable;
|
H A D | AnimatedVectorDrawableDupPerf.java | 19 import android.graphics.drawable.VectorDrawable;
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
H A D | VectorDrawablePerfTest.java | 23 import android.graphics.drawable.VectorDrawable; 63 VectorDrawable vd = (VectorDrawable) activity.getDrawable(resId);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable.java | 70 * 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 D | DrawableInflater.java | 169 return new VectorDrawable();
|
H A D | VectorDrawable.java | 65 * 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><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 D | SkiaDisplayListTests.cpp | 18 #include <VectorDrawable.h> 97 VectorDrawableRoot vectorDrawable(new VectorDrawable::Group()); 127 VectorDrawableRoot cleanVD(new VectorDrawable::Group()); 139 VectorDrawableRoot dirtyVD(new VectorDrawable::Group());
|
H A D | VectorDrawableTests.cpp | 20 #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 D | SkiaRenderPropertiesTests.cpp | 18 #include <VectorDrawable.h>
|
H A D | RenderNodeTests.cpp | 18 #include <VectorDrawable.h> 308 VectorDrawable::Group* group = new VectorDrawable::Group();
|
H A D | SkiaPipelineTests.cpp | 18 #include <VectorDrawable.h>
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaRecordingCanvas.cpp | 120 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 D | Canvas.h | 64 namespace VectorDrawable { namespace in namespace:android::uirenderer 68 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot; 259 * Draws a VectorDrawable onto the canvas.
|
/frameworks/base/ |
H A D | preloaded-classes | 1098 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...] |