/frameworks/base/core/jni/ |
D | android_graphics_drawable_VectorDrawable.cpp | 28 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 …]
|
D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 32 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/ |
D | PropertyValuesHolder.h | 90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, in GroupPropertyValuesHolder() 98 VectorDrawable::Group* mGroup; 104 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, in FullPathColorPropertyValuesHolder() 115 VectorDrawable::FullPath* mFullPath; 121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, in FullPathPropertyValuesHolder() 131 VectorDrawable::FullPath* mFullPath; 137 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, in PathDataPropertyValuesHolder() 145 VectorDrawable::Path* mPath; 151 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue) in RootAlphaPropertyValuesHolder() 158 VectorDrawable::Tree* mTree;
|
D | DisplayList.h | 24 namespace VectorDrawable { 27 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
D | PropertyValuesHolder.cpp | 27 using namespace VectorDrawable;
|
D | VectorDrawable.h | 52 namespace VectorDrawable { 722 typedef VectorDrawable::Path::Data PathData; 723 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
D | Android.bp | 228 "VectorDrawable.cpp",
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedVectorDrawable.java | 549 VectorDrawable vectorDrawable = (VectorDrawable) res.getDrawable( in inflate() 597 VectorDrawable vectorDrawable, boolean ignoreInvalidAnim) { in updateAnimatorProperty() 609 if (targetNameObj instanceof VectorDrawable.VObject) { in updateAnimatorProperty() 610 property = ((VectorDrawable.VObject) targetNameObj).getProperty(propertyName); in updateAnimatorProperty() 611 } else if (targetNameObj instanceof VectorDrawable.VectorDrawableState) { in updateAnimatorProperty() 612 property = ((VectorDrawable.VectorDrawableState) targetNameObj) in updateAnimatorProperty() 686 final VectorDrawable vectorDrawable = mAnimatedVectorState.mVectorDrawable; in applyTheme() 704 VectorDrawable mVectorDrawable; 726 mVectorDrawable = (VectorDrawable) cs.newDrawable(res); in AnimatedVectorDrawableState() 728 mVectorDrawable = (VectorDrawable) cs.newDrawable(); in AnimatedVectorDrawableState() [all …]
|
D | VectorDrawable.java | 317 public class VectorDrawable extends Drawable { class 318 private static final String LOGTAG = VectorDrawable.class.getSimpleName(); 350 public VectorDrawable() { in VectorDrawable() method in VectorDrawable 358 private VectorDrawable(@NonNull VectorDrawableState state, @Nullable Resources res) { in VectorDrawable() method in VectorDrawable 624 state.mThemeAttrs, R.styleable.VectorDrawable); in applyTheme() 675 public static VectorDrawable create(Resources resources, int rid) { in create() 688 final VectorDrawable drawable = new VectorDrawable(); in create() 727 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.VectorDrawable); in inflate() 1076 return new VectorDrawable(this, null); in newDrawable() 1081 return new VectorDrawable(this, res); in newDrawable()
|
D | DrawableInflater.java | 171 return new VectorDrawable(); in inflateFromTag()
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | VectorDrawablePerformance.java | 18 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()
|
D | BoundsCheckTest.java | 24 import android.graphics.drawable.VectorDrawable; 38 private final VectorDrawable mVector1; 44 mVector1 = (VectorDrawable) res.getDrawable(R.drawable.vector_drawable28); in BitmapsView()
|
D | VectorDrawable01.java | 17 import android.graphics.drawable.VectorDrawable; 86 VectorDrawable vd = (VectorDrawable) button.getBackground(); in onCreate()
|
D | VectorDrawableStaticPerf.java | 18 import android.graphics.drawable.VectorDrawable;
|
D | VectorCheckbox.java | 17 import android.graphics.drawable.VectorDrawable;
|
D | AnimatedVectorDrawableDupPerf.java | 19 import android.graphics.drawable.VectorDrawable;
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 112 VectorDrawableRoot vectorDrawable(new VectorDrawable::Group()); in TEST() 158 VectorDrawableRoot cleanVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 171 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 229 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 253 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 273 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 294 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 315 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 333 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 348 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | VectorDrawableTests.cpp | 358 TEST(VectorDrawable, groupProperties) { in TEST() argument 360 VectorDrawable::Group group; in TEST() 361 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties(); in TEST() 392 TEST(VectorDrawable, drawPathWithoutIncrementingShaderRefCount) { in TEST() argument 393 VectorDrawable::FullPath path("m1 1", 4); in TEST()
|
D | RenderNodeTests.cpp | 300 VectorDrawable::Group* group = new VectorDrawable::Group(); in RENDERTHREAD_TEST()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | VectorDrawablePerfTest.java | 25 import android.graphics.drawable.VectorDrawable; 61 VectorDrawable vd = (VectorDrawable) activity.getDrawable(resId); in testBitmapDrawPerf()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawableTest.java | 22 import android.graphics.drawable.VectorDrawable; 52 assertThat(drawable.getDrawable(0)).isInstanceOf(VectorDrawable.class); in testCreateLayerDrawable_configCorrect() 65 assertThat(drawable.getDrawable(0)).isInstanceOf(VectorDrawable.class); in testCreateLayerDrawable_withIconScale_configCorrect()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 38 namespace VectorDrawable { 41 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 77 namespace VectorDrawable { 81 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 43 import android.graphics.drawable.VectorDrawable; 212 final VectorDrawable d = (VectorDrawable) mContext.getDrawable(R.drawable.rounded); in testRoundingMultipleRadius()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 53 import android.graphics.drawable.VectorDrawable; 583 final VectorDrawable d = (VectorDrawable) mContext.getDrawable(R.drawable.rounded); in updateRoundedCornerRadii()
|