Home
last modified time | relevance | path

Searched refs:VectorDrawable (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp28 using namespace uirenderer::VectorDrawable;
34 VectorDrawable::Group* rootGroup = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in createTree()
35 VectorDrawable::Tree* tree = new VectorDrawable::Tree(rootGroup); in createTree()
40 VectorDrawable::Group* rootGroup = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in createTreeFromCopy()
41 VectorDrawable::Tree* treeToCopy = reinterpret_cast<VectorDrawable::Tree*>(treePtr); in createTreeFromCopy()
42 VectorDrawable::Tree* tree = new VectorDrawable::Tree(treeToCopy, rootGroup); in createTreeFromCopy()
47 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(); in createEmptyFullPath()
52 VectorDrawable::FullPath* srcFullPath = in createFullPath()
53 reinterpret_cast<VectorDrawable::FullPath*>(srcFullPathPtr); in createFullPath()
54 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(*srcFullPath); in createFullPath()
[all …]
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp32 using namespace VectorDrawable;
102 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(vectorDrawablePtr); in setVectorDrawableTarget()
109 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(nativePtr); in createGroupPropertyHolder()
117 VectorDrawable::Path* path = reinterpret_cast<VectorDrawable::Path*>(nativePtr); in createPathDataPropertyHolder()
127 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr); in createPathColorPropertyHolder()
135 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr); in createPathPropertyHolder()
143 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(nativePtr); in createRootAlphaPropertyHolder()
/frameworks/base/libs/hwui/
DPropertyValuesHolder.h90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, in GroupPropertyValuesHolder()
99 VectorDrawable::Group* mGroup;
105 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, in FullPathColorPropertyValuesHolder()
115 VectorDrawable::FullPath* mFullPath;
121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, in FullPathPropertyValuesHolder()
130 VectorDrawable::FullPath* mFullPath;
136 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, in PathDataPropertyValuesHolder()
144 VectorDrawable::Path* mPath;
150 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue) in RootAlphaPropertyValuesHolder()
157 VectorDrawable::Tree* mTree;
DDisplayList.h62 namespace VectorDrawable {
65 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
DRecordedOp.h44 namespace VectorDrawable {
351 VectorDrawableOp(VectorDrawable::Tree* tree, BASE_PARAMS_PAINTLESS) in VectorDrawableOp()
354 VectorDrawable::Tree* vectorDrawable;
DPropertyValuesHolder.cpp27 using namespace VectorDrawable;
DAndroid.mk120 VectorDrawable.cpp \
DVectorDrawable.h50 namespace VectorDrawable {
720 typedef VectorDrawable::Path::Data PathData;
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java541 VectorDrawable vectorDrawable = (VectorDrawable) res.getDrawable( in inflate()
589 VectorDrawable vectorDrawable, boolean ignoreInvalidAnim) { in updateAnimatorProperty()
601 if (targetNameObj instanceof VectorDrawable.VObject) { in updateAnimatorProperty()
602 property = ((VectorDrawable.VObject) targetNameObj).getProperty(propertyName); in updateAnimatorProperty()
603 } else if (targetNameObj instanceof VectorDrawable.VectorDrawableState) { in updateAnimatorProperty()
604 property = ((VectorDrawable.VectorDrawableState) targetNameObj) in updateAnimatorProperty()
677 final VectorDrawable vectorDrawable = mAnimatedVectorState.mVectorDrawable; in applyTheme()
695 VectorDrawable mVectorDrawable;
717 mVectorDrawable = (VectorDrawable) cs.newDrawable(res); in AnimatedVectorDrawableState()
719 mVectorDrawable = (VectorDrawable) cs.newDrawable(); in AnimatedVectorDrawableState()
[all …]
DVectorDrawable.java235 public class VectorDrawable extends Drawable { class
236 private static final String LOGTAG = VectorDrawable.class.getSimpleName();
265 public VectorDrawable() { in VectorDrawable() method in VectorDrawable
273 private VectorDrawable(@NonNull VectorDrawableState state, @Nullable Resources res) { in VectorDrawable() method in VectorDrawable
528 state.mThemeAttrs, R.styleable.VectorDrawable); in applyTheme()
579 public static VectorDrawable create(Resources resources, int rid) { in create()
592 final VectorDrawable drawable = new VectorDrawable(); in create()
628 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.VectorDrawable); in inflate()
966 return new VectorDrawable(this, null); in newDrawable()
971 return new VectorDrawable(this, res); in newDrawable()
DDrawableInflater.java169 return new VectorDrawable(); in inflateFromTag()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawablePerformance.java18 import android.graphics.drawable.VectorDrawable;
85 public static VectorDrawable create(Resources resources, int rid) { in create()
98 final VectorDrawable drawable = new VectorDrawable(); in create()
119 VectorDrawable []d = new VectorDrawable[icon.length]; in onCreate()
DBoundsCheckTest.java24 import android.graphics.drawable.VectorDrawable;
38 private final VectorDrawable mVector1;
44 mVector1 = (VectorDrawable) res.getDrawable(R.drawable.vector_drawable28); in BitmapsView()
DVectorDrawable01.java17 import android.graphics.drawable.VectorDrawable;
86 VectorDrawable vd = (VectorDrawable) button.getBackground(); in onCreate()
DVectorDrawableStaticPerf.java18 import android.graphics.drawable.VectorDrawable;
DVectorCheckbox.java17 import android.graphics.drawable.VectorDrawable;
DAnimatedVectorDrawableDupPerf.java19 import android.graphics.drawable.VectorDrawable;
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DVectorDrawablePerfTest.java23 import android.graphics.drawable.VectorDrawable;
63 VectorDrawable vd = (VectorDrawable) activity.getDrawable(resId); in testBitmapDrawPerf()
/frameworks/support/graphics/drawable/static/
Dbuild.gradle29 name 'Android Support VectorDrawable'
31 description 'Android Support VectorDrawable'
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp350 TEST(VectorDrawable, groupProperties) { in TEST() argument
352 VectorDrawable::Group group; in TEST()
353 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties(); in TEST()
401 TEST(VectorDrawable, drawPathWithoutIncrementingShaderRefCount) { in TEST() argument
402 VectorDrawable::FullPath path("m1 1", 4); in TEST()
DSkiaDisplayListTests.cpp97 VectorDrawableRoot vectorDrawable(new VectorDrawable::Group()); in TEST()
127 VectorDrawableRoot cleanVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
139 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
DRenderNodeTests.cpp308 VectorDrawable::Group* group = new VectorDrawable::Group(); in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp120 class VectorDrawable : public SkDrawable { class
122 VectorDrawable(VectorDrawableRoot* tree) : mRoot(tree) {} in VectorDrawable() function in android::uirenderer::skiapipeline::VectorDrawable
152 drawDrawable(mDisplayList->allocateDrawable<VectorDrawable>(tree)); in drawVectorDrawable()
/frameworks/base/libs/hwui/hwui/
DCanvas.h64 namespace VectorDrawable {
68 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
/frameworks/base/
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$VFullPath$7
[all …]

12