/frameworks/base/core/jni/ |
android_graphics_drawable_VectorDrawable.cpp | 22 #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::Tree* treeToCopy = reinterpret_cast<VectorDrawable::Tree*>(treePtr) [all...] |
android_graphics_drawable_AnimatedVectorDrawable.cpp | 27 #include "VectorDrawable.h" 31 using namespace VectorDrawable; 101 VectorDrawable::Tree* tree = reinterpret_cast<VectorDrawable::Tree*>(vectorDrawablePtr); 108 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(nativePtr); 116 VectorDrawable::Path* path = reinterpret_cast<VectorDrawable::Path*>(nativePtr); 126 VectorDrawable::FullPath* fullPath = reinterpret_cast<VectorDrawable::FullPath*>(nativePtr) [all...] |
/frameworks/base/libs/hwui/ |
PropertyValuesHolder.h | 19 #include "VectorDrawable.h" 90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, 99 VectorDrawable::Group* mGroup; 105 FullPathColorPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, 115 VectorDrawable::FullPath* mFullPath; 121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, 130 VectorDrawable::FullPath* mFullPath; 136 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, 144 VectorDrawable::Path* mPath; 150 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue [all...] |
DisplayList.h | 72 namespace VectorDrawable { 75 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
|
PropertyValuesHolder.cpp | 26 using namespace VectorDrawable;
|
RecordedOp.h | 43 namespace VectorDrawable { 351 VectorDrawableOp(VectorDrawable::Tree* tree, BASE_PARAMS_PAINTLESS) 353 , vectorDrawable(tree) {} 354 VectorDrawable::Tree* vectorDrawable;
|
VectorDrawable.h | 42 namespace VectorDrawable { 49 /* A VectorDrawable is composed of a tree of nodes. 718 } // namespace VectorDrawable 720 typedef VectorDrawable::Path::Data PathData;
|
Android.mk | 103 VectorDrawable.cpp \
|
VectorDrawable.cpp | 17 #include "VectorDrawable.h" 32 namespace VectorDrawable { 590 }; // namespace VectorDrawable
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
BoundsCheckTest.java | 24 import android.graphics.drawable.VectorDrawable; 38 private final VectorDrawable mVector1; 44 mVector1 = (VectorDrawable) res.getDrawable(R.drawable.vector_drawable28);
|
VectorDrawableStaticPerf.java | 18 import android.graphics.drawable.VectorDrawable;
|
VectorDrawable01.java | 17 import android.graphics.drawable.VectorDrawable; 86 VectorDrawable vd = (VectorDrawable) button.getBackground();
|
VectorDrawablePerformance.java | 18 import android.graphics.drawable.VectorDrawable; 84 public static VectorDrawable create(Resources resources, int rid) { 97 final VectorDrawable drawable = new VectorDrawable(); 118 VectorDrawable []d = new VectorDrawable[icon.length];
|
VectorCheckbox.java | 17 import android.graphics.drawable.VectorDrawable;
|
AnimatedVectorDrawableDupPerf.java | 19 import android.graphics.drawable.VectorDrawable;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
VectorDrawableTest.java | 34 import android.graphics.drawable.VectorDrawable; 230 VectorDrawable vectorDrawable = new VectorDrawable(); 231 vectorDrawable.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT); 234 // Setup VectorDrawable from xml file and draw into the bitmap. 250 vectorDrawable.inflate(mResources, parser, attrs, theme); 253 vectorDrawable.setState(stateSet); 257 vectorDrawable.draw(mCanvas); 341 VectorDrawable vectorDrawable = new VectorDrawable() [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
AnimatedVectorDrawable.java | 68 * This class animates properties of a {@link android.graphics.drawable.VectorDrawable} with 89 * <li><h4>XML for the VectorDrawable containing properties to be animated</h4> 92 * have unique names in the same VectorDrawable. Groups and paths without animations do not need to 95 * Below is an example of a VectorDrawable defined in vectordrawable.xml. This VectorDrawable is 120 * An AnimatedVectorDrawable element has a VectorDrawable attribute, and one or more target 126 * groups and paths in the <a href="#VDExample">VectorDrawable XML above</a>. 129 * android:drawable="@drawable/vectordrawable" > 285 * In order to avoid breaking old apps, we only throw exception on invalid VectorDrawable [all...] |
DrawableInflater.java | 155 return new VectorDrawable();
|
VectorDrawable.java | 64 * for each VectorDrawable. Therefore, referring to the same VectorDrawable means sharing the same 66 * and redrawn every time size is changed. In other words, if a VectorDrawable is used for 69 * VectorDrawable can be defined in an XML file with the <code><vector></code> element. 225 * <li>Here is a simple VectorDrawable in this vectordrawable.xml file. 265 public class VectorDrawable extends Drawable { 266 private static final String LOGTAG = VectorDrawable.class.getSimpleName(); 295 public VectorDrawable() { 303 private VectorDrawable(@NonNull VectorDrawableState state, @Nullable Resources res) [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
VectorDrawableTests.cpp | 20 #include "VectorDrawable.h" 102 // Check box VectorDrawable path data 350 TEST(VectorDrawable, matrixScale) { 390 float actualMatrixScale = VectorDrawable::Path::getMatrixScale(matrix); 395 TEST(VectorDrawable, groupProperties) { 397 VectorDrawable::Group group; 398 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties(); 446 TEST(VectorDrawable, drawPathWithoutIncrementingShaderRefCount) { 447 VectorDrawable::FullPath path("m1 1", 4);
|
/frameworks/base/libs/hwui/hwui/ |
Canvas.h | 58 namespace VectorDrawable { 62 typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot; 221 * Draws a VectorDrawable onto the canvas.
|
/frameworks/base/core/java/com/android/internal/util/ |
NotificationColorUtil.java | 33 import android.graphics.drawable.VectorDrawable; 131 } else if (d instanceof VectorDrawable) {
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
VectorDrawableCompat.java | 38 import android.graphics.drawable.VectorDrawable; 63 * For API 24 and above, this class is delegating to the framework's {@link VectorDrawable}. 73 * will be recreated and redrawn every time size is changed. In other words, if a VectorDrawable is [all...] |
/frameworks/base/ |
compiled-classes-phone | [all...] |
/prebuilts/sdk/21/ |
android.jar | |