/frameworks/base/libs/hwui/jni/ |
D | android_graphics_drawable_VectorDrawable.cpp | 26 using namespace uirenderer::VectorDrawable; 32 VectorDrawable::Group* rootGroup = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in createTree() 33 VectorDrawable::Tree* tree = new VectorDrawable::Tree(rootGroup); in createTree() 38 VectorDrawable::Group* rootGroup = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in createTreeFromCopy() 39 VectorDrawable::Tree* treeToCopy = reinterpret_cast<VectorDrawable::Tree*>(treePtr); in createTreeFromCopy() 40 VectorDrawable::Tree* tree = new VectorDrawable::Tree(treeToCopy, rootGroup); in createTreeFromCopy() 45 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(); in createEmptyFullPath() 50 VectorDrawable::FullPath* srcFullPath = in createFullPath() 51 reinterpret_cast<VectorDrawable::FullPath*>(srcFullPathPtr); in createFullPath() 52 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(*srcFullPath); in createFullPath() [all …]
|
D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 29 using namespace VectorDrawable; 99 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(vectorDrawablePtr); in setVectorDrawableTarget() 106 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(nativePtr); in createGroupPropertyHolder() 114 VectorDrawable::Path* path = reinterpret_cast<VectorDrawable::Path*>(nativePtr); in createPathDataPropertyHolder() 124 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr); in createPathColorPropertyHolder() 132 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr); in createPathPropertyHolder() 140 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 | RecordingCanvas.h | 54 namespace VectorDrawable { 57 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
D | DisplayList.h | 28 namespace VectorDrawable { 31 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
D | PropertyValuesHolder.cpp | 27 using namespace VectorDrawable;
|
D | VectorDrawable.h | 53 namespace VectorDrawable { 690 typedef VectorDrawable::Path::Data PathData; 691 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedVectorDrawable.java | 540 VectorDrawable vectorDrawable = (VectorDrawable) res.getDrawable( in inflate() 588 VectorDrawable vectorDrawable, boolean ignoreInvalidAnim) { in updateAnimatorProperty() 600 if (targetNameObj instanceof VectorDrawable.VObject) { in updateAnimatorProperty() 601 property = ((VectorDrawable.VObject) targetNameObj).getProperty(propertyName); in updateAnimatorProperty() 602 } else if (targetNameObj instanceof VectorDrawable.VectorDrawableState) { in updateAnimatorProperty() 603 property = ((VectorDrawable.VectorDrawableState) targetNameObj) in updateAnimatorProperty() 677 final VectorDrawable vectorDrawable = mAnimatedVectorState.mVectorDrawable; in applyTheme() 703 VectorDrawable mVectorDrawable; 725 mVectorDrawable = (VectorDrawable) cs.newDrawable(res); in AnimatedVectorDrawableState() 727 mVectorDrawable = (VectorDrawable) cs.newDrawable(); in AnimatedVectorDrawableState() [all …]
|
D | VectorDrawable.java | 318 public class VectorDrawable extends Drawable { class 319 private static final String LOGTAG = VectorDrawable.class.getSimpleName(); 351 public VectorDrawable() { in VectorDrawable() method in VectorDrawable 359 private VectorDrawable(@Nullable VectorDrawableState state, @Nullable Resources res) { in VectorDrawable() method in VectorDrawable 628 state.mThemeAttrs, R.styleable.VectorDrawable); in applyTheme() 679 public static VectorDrawable create(Resources resources, int rid) { in create() 692 final VectorDrawable drawable = new VectorDrawable(); in create() 731 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.VectorDrawable); in inflate() 1080 return new VectorDrawable(this, null); in newDrawable() 1085 return new VectorDrawable(this, res); in newDrawable()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | CaptionWindowDecoration.java | 33 import android.graphics.drawable.VectorDrawable; 278 final VectorDrawable backBackground = (VectorDrawable) back.getBackground(); in setCaptionColor() 282 final VectorDrawable minimizeBackground = (VectorDrawable) minimize.getBackground(); in setCaptionColor() 286 final VectorDrawable maximizeBackground = (VectorDrawable) maximize.getBackground(); in setCaptionColor() 290 final VectorDrawable closeBackground = (VectorDrawable) close.getBackground(); in setCaptionColor()
|
/frameworks/base/tests/graphics/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;
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 110 VectorDrawableRoot vectorDrawable(new VectorDrawable::Group()); in TEST() 182 VectorDrawableRoot cleanVD(new VectorDrawable::Group()); in RENDERTHREAD_TEST() 195 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_TEST() 252 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_TEST() 276 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_TEST() 296 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_TEST() 317 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_TEST() 338 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_TEST() 356 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_TEST() 371 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_TEST()
|
D | VectorDrawableTests.cpp | 364 TEST(VectorDrawable, groupProperties) { in TEST() argument 366 VectorDrawable::Group group; in TEST() 367 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties(); in TEST() 398 TEST(VectorDrawable, drawPathWithoutIncrementingShaderRefCount) { in TEST() argument 399 VectorDrawable::FullPath path("m1 1", 4); in 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/core/java/android/view/ |
D | PointerIcon.java | 38 import android.graphics.drawable.VectorDrawable; 471 VectorDrawable vectorDrawable, float pointerScale) { in getBitmapDrawableFromVectorDrawable() 526 final boolean isVectorAnimation = drawable instanceof VectorDrawable; in loadResource() 531 && !(drawableFrame instanceof VectorDrawable)) { in loadResource() 535 if (isVectorAnimation != (drawableFrame instanceof VectorDrawable)) { in loadResource() 548 (VectorDrawable) drawableFrame, pointerScale); in loadResource() 554 if (drawable instanceof VectorDrawable) { in loadResource() 556 drawable = getBitmapDrawableFromVectorDrawable(resources, (VectorDrawable) drawable, in loadResource()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 40 namespace VectorDrawable { 43 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | NumPadButton.java | 26 import android.graphics.drawable.VectorDrawable; 105 ((VectorDrawable) getDrawable()).setTintList(ColorStateList.valueOf(imageColor)); in reloadColors()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderThread.h | 54 namespace VectorDrawable { 198 friend class android::uirenderer::VectorDrawable::Tree;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/ |
D | ImageLoaderTest.kt | 10 import android.graphics.drawable.VectorDrawable 389 assertThat(loadedDrawable).isInstanceOf(VectorDrawable::class.java) in validVectorDrawable_loadDrawable_successfullyLoaded() 405 assertThat(loadedDrawable).isInstanceOf(VectorDrawable::class.java) in validVectorDrawableIcon_loadDrawable_successfullyLoaded()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 53 namespace VectorDrawable { 57 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|