Searched refs:vectorDrawable (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaDisplayList.cpp34 for (auto& vectorDrawable : mVectorDrawables) {
35 vectorDrawable->syncProperties();
91 for (auto& vectorDrawable : mVectorDrawables) {
93 if (vectorDrawable->isDirty()) {
96 vectorDrawable->setPropertyChangeWillBeConsumed(true);
H A DSkiaRecordingCanvas.h68 virtual void drawVectorDrawable(VectorDrawableRoot* vectorDrawable) override;
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DAppCompatVectorDrawableIntegrationTest.java63 Drawable vectorDrawable = view1.getDrawable();
65 vectorDrawable.setBounds(0, 0, WIDTH, HEIGHT);
66 vectorDrawable.draw(mCanvas);
80 vectorDrawable.draw(mCanvas);
/frameworks/base/libs/hwui/
H A DDisplayList.cpp97 for (auto& vectorDrawable : vectorDrawables) {
98 vectorDrawable->syncProperties();
121 for (auto& vectorDrawable : vectorDrawables) {
123 if (vectorDrawable->isDirty()) {
126 vectorDrawable->setPropertyChangeWillBeConsumed(true);
H A DRecordedOp.h353 , vectorDrawable(tree) {}
354 VectorDrawable::Tree* vectorDrawable; member in struct:android::uirenderer::VectorDrawableOp
H A DSkiaCanvas.h142 virtual void drawVectorDrawable(VectorDrawableRoot* vectorDrawable) override;
H A DSkiaCanvas.cpp680 void SkiaCanvas::drawVectorDrawable(VectorDrawableRoot* vectorDrawable) { argument
681 vectorDrawable->drawStaging(this);
H A DFrameBuilder.cpp641 Bitmap& bitmap = op.vectorDrawable->getBitmapUpdateIfDirty();
642 SkPaint* paint = op.vectorDrawable->getPaint();
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java282 VectorDrawableCompat vectorDrawable =
284 Drawable.ConstantState constantState = vectorDrawable.getConstantState();
288 assertEquals(0, vectorDrawable.getChangingConfigurations());
291 vectorDrawable.setChangingConfigurations(0xff);
292 assertEquals(0xff, vectorDrawable.getChangingConfigurations());
296 constantState = vectorDrawable.getConstantState();
300 vectorDrawable.setChangingConfigurations(0xff00);
302 assertEquals(0xffff, vectorDrawable.getChangingConfigurations());
307 VectorDrawableCompat vectorDrawable =
309 Drawable.ConstantState constantState = vectorDrawable
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaDisplayListTests.cpp97 VectorDrawableRoot vectorDrawable(new VectorDrawable::Group());
98 vectorDrawable.mutateStagingProperties()->setBounds(bounds);
99 skiaDL.mVectorDrawables.push_back(&vectorDrawable);
101 // ensure that the functor and vectorDrawable are properly synced
105 ASSERT_EQ(vectorDrawable.mutateProperties()->getBounds(), bounds);
H A DRenderNodeTests.cpp309 sp<VectorDrawableRoot> vectorDrawable(new VectorDrawableRoot(group));
313 canvas.drawVectorDrawable(vectorDrawable.get());
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java541 VectorDrawable vectorDrawable = (VectorDrawable) res.getDrawable(
543 vectorDrawable.setAllowCaching(false);
544 vectorDrawable.setCallback(mCallback);
545 pathErrorScale = vectorDrawable.getPixelSize();
549 state.mVectorDrawable = vectorDrawable;
589 VectorDrawable vectorDrawable, boolean ignoreInvalidAnim) {
599 Object targetNameObj = vectorDrawable.getTargetByName(targetName);
620 updateAnimatorProperty(anim, targetName, vectorDrawable, ignoreInvalidAnim);
677 final VectorDrawable vectorDrawable = mAnimatedVectorState.mVectorDrawable;
678 if (vectorDrawable !
588 updateAnimatorProperty(Animator animator, String targetName, VectorDrawable vectorDrawable, boolean ignoreInvalidAnim) argument
[all...]
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java458 VectorDrawableCompat vectorDrawable = VectorDrawableCompat.create(res,
460 vectorDrawable.setAllowCaching(false);
461 vectorDrawable.setCallback(mCallback);
465 mAnimatedVectorState.mVectorDrawable = vectorDrawable;

Completed in 562 milliseconds