/aosp12/frameworks/base/libs/hwui/jni/ |
H A D | android_graphics_drawable_VectorDrawable.cpp | 33 VectorDrawable::Tree* tree = new VectorDrawable::Tree(rootGroup); in createTree() 40 VectorDrawable::Tree* tree = new VectorDrawable::Tree(treeToCopy, rootGroup); in createTreeFromCopy() 45 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(); in createEmptyFullPath() 52 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(*srcFullPath); in createFullPath() 57 VectorDrawable::ClipPath* newPath = new VectorDrawable::ClipPath(); in createEmptyClipPath() 64 VectorDrawable::ClipPath* newPath = new VectorDrawable::ClipPath(*srcClipPath); in createClipPath() 69 VectorDrawable::Group* newGroup = new VectorDrawable::Group(); in createEmptyGroup() 75 VectorDrawable::Group* newGroup = new VectorDrawable::Group(*srcGroup); in createGroup() 80 VectorDrawable::Node* node = reinterpret_cast<VectorDrawable::Node*>(nodePtr); in setNodeName() 93 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(treePtr); in setAllowCaching() [all …]
|
H A 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()
|
/aosp12/frameworks/base/libs/hwui/ |
H A 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;
|
H A D | RecordingCanvas.h | 44 namespace VectorDrawable { 47 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
H A D | DisplayList.h | 28 namespace VectorDrawable { 31 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/ |
H A 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() 695 VectorDrawable mVectorDrawable; 719 mVectorDrawable = (VectorDrawable) cs.newDrawable(); in AnimatedVectorDrawableState() 740 mVectorDrawable = new VectorDrawable(); in AnimatedVectorDrawableState() 842 && !(target instanceof VectorDrawable.VObject)) { in prepareLocalAnimator() 1318 if (target instanceof VectorDrawable.VGroup) { in createRTAnimator() 1321 } else if (target instanceof VectorDrawable.VPath) { in createRTAnimator() 1343 ObjectAnimator animator, VectorDrawable.VGroup target, in createRTAnimatorForGroup() [all …]
|
H A 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()
|
/aosp12/frameworks/base/libs/hwui/tests/unit/ |
H A D | SkiaDisplayListTests.cpp | 112 VectorDrawableRoot vectorDrawable(new VectorDrawable::Group()); in TEST() 157 VectorDrawableRoot cleanVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 170 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 227 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 251 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 271 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 292 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 313 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 331 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 346 VectorDrawableRoot dirtyVD(new VectorDrawable::Group()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
H A 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()
|
/aosp12/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A 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()
|
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); in BitmapsView()
|
H A D | VectorDrawable01.java | 17 import android.graphics.drawable.VectorDrawable; 86 VectorDrawable vd = (VectorDrawable) button.getBackground(); in onCreate()
|
H A D | VectorDrawableStaticPerf.java | 18 import android.graphics.drawable.VectorDrawable;
|
H A D | VectorCheckbox.java | 17 import android.graphics.drawable.VectorDrawable;
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
H A D | VectorDrawablePerfTest.java | 25 import android.graphics.drawable.VectorDrawable; 61 VectorDrawable vd = (VectorDrawable) activity.getDrawable(resId); in testBitmapDrawPerf()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
H A 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()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
H A D | DefaultAppUtils.java | 23 import android.graphics.drawable.VectorDrawable; 34 if ((icon != null) && !(icon instanceof VectorDrawable)) { in getSafeIcon()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | NumPadButton.java | 24 import android.graphics.drawable.VectorDrawable; 98 ((VectorDrawable) getDrawable()).setTintList(ColorStateList.valueOf(imageColor)); in reloadColors()
|
/aosp12/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaDisplayList.h | 38 namespace VectorDrawable { 41 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
H A D | PowerGaugePreferenceTest.java | 22 import android.graphics.drawable.VectorDrawable; 85 assertThat(drawables[0]).isInstanceOf(VectorDrawable.class); in testOnBindViewHolder_showAnomaly_bindAnomalyIcon()
|
/aosp12/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
H A D | LaneView.java | 28 import android.graphics.drawable.VectorDrawable; 136 VectorDrawable icon = (VectorDrawable) getLaneIcon(laneDir); in drawToCanvas()
|
/aosp12/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
H A D | LaneView.java | 25 import android.graphics.drawable.VectorDrawable; 135 VectorDrawable icon = (VectorDrawable) getLaneIcon(laneDir); in drawToCanvas()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
H A D | UtilsTest.java | 42 import android.graphics.drawable.VectorDrawable; 224 final VectorDrawable drawable = VectorDrawable.create(mContext.getResources(), in createIconWithDrawable_VectorDrawable()
|
/aosp12/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderThread.h | 56 namespace VectorDrawable { 196 friend class android::uirenderer::VectorDrawable::Tree;
|
/aosp12/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.h | 52 namespace VectorDrawable { 56 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|