Searched refs:VectorDrawable (Results 1 - 25 of 32) 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,
98 VectorDrawable::Group* mGroup;
104 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId,
115 VectorDrawable::FullPath* mFullPath;
121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue,
131 VectorDrawable::FullPath* mFullPath;
137 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue,
145 VectorDrawable::Path* mPath;
151 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
331 VectorDrawableOp(VectorDrawable::Tree* tree, BASE_PARAMS_PAINTLESS)
333 VectorDrawable::Tree* vectorDrawable;
H A DVectorDrawable.h52 namespace VectorDrawable { namespace in namespace:android::uirenderer
69 /* 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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
H A DBluetoothDeviceLayerDrawableTest.java22 import android.graphics.drawable.VectorDrawable;
52 assertThat(drawable.getDrawable(0)).isInstanceOf(VectorDrawable.class);
65 assertThat(drawable.getDrawable(0)).isInstanceOf(VectorDrawable.class);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java71 * 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
[all...]
H A DDrawableInflater.java169 return new VectorDrawable();
H A DVectorDrawable.java66 * for each VectorDrawable. Therefore, referring to the same VectorDrawable means sharing the same
68 * and redrawn every time size is changed. In other words, if a VectorDrawable is used for
71 * VectorDrawable can be defined in an XML file with the <code>&lt;vector></code> element.
196 * <li>Here is a simple VectorDrawable in this vectordrawable.xml file.
314 public class VectorDrawable extends Drawable { class in inherits:Drawable
315 private static final String LOGTAG = VectorDrawable.class.getSimpleName();
344 public VectorDrawable() { method in class:VectorDrawable
352 private VectorDrawable(@NonNull VectorDrawableState state, @Nullable Resources res) { method in class:VectorDrawable
607 state.mThemeAttrs, R.styleable.VectorDrawable);
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaDisplayListTests.cpp17 #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"
92 // Check box VectorDrawable path data
355 TEST(VectorDrawable, groupProperties) {
357 VectorDrawable::Group group;
358 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties();
389 TEST(VectorDrawable, drawPathWithoutIncrementingShaderRefCount) {
390 VectorDrawable::FullPath path("m1 1", 4);
H A DSkiaRenderPropertiesTests.cpp17 #include <VectorDrawable.h>
H A DRenderNodeTests.cpp17 #include <VectorDrawable.h>
299 VectorDrawable::Group* group = new VectorDrawable::Group();
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaRecordingCanvas.cpp125 class VectorDrawable : public SkDrawable { class in namespace:android::uirenderer::skiapipeline
127 VectorDrawable(VectorDrawableRoot* tree) function in class:android::uirenderer::skiapipeline::VectorDrawable
143 drawDrawable(mDisplayList->allocateDrawable<VectorDrawable>(tree));
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h69 namespace VectorDrawable { namespace in namespace:minikin::Bidi::uirenderer
73 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
263 * Draws a VectorDrawable onto the canvas.
/frameworks/base/config/
H A Ddirty-image-objects159 android.graphics.drawable.VectorDrawable$VGroup

Completed in 6166 milliseconds

12