Searched refs:vectorDrawable (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.cpp | 45 for (auto& vectorDrawable : mVectorDrawables) { in syncContents() local 46 vectorDrawable.first->syncProperties(); in syncContents() 149 for (auto& [vectorDrawable, cachedMatrix] : mVectorDrawables) { in prepareListAndChildren() 151 if (vectorDrawable->isDirty()) { in prepareListAndChildren() 156 const SkRect& bounds = vectorDrawable->properties().getBounds(); in prepareListAndChildren() 159 vectorDrawable->setPropertyChangeWillBeConsumed(true); in prepareListAndChildren()
|
D | SkiaRecordingCanvas.h | 76 virtual void drawVectorDrawable(VectorDrawableRoot* vectorDrawable) override;
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasOpBuffer.h | 108 [[nodiscard]] bool hasVectorDrawables() const { return mHas.vectorDrawable; } in hasVectorDrawables() 128 bool vectorDrawable : 1 = false; member
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedVectorDrawable.java | 540 VectorDrawable vectorDrawable = (VectorDrawable) res.getDrawable( in inflate() local 542 vectorDrawable.setAllowCaching(false); in inflate() 543 vectorDrawable.setCallback(mCallback); in inflate() 544 pathErrorScale = vectorDrawable.getPixelSize(); in inflate() 548 state.mVectorDrawable = vectorDrawable; in inflate() 588 VectorDrawable vectorDrawable, boolean ignoreInvalidAnim) { in updateAnimatorProperty() argument 598 Object targetNameObj = vectorDrawable.getTargetByName(targetName); in updateAnimatorProperty() 619 updateAnimatorProperty(anim, targetName, vectorDrawable, ignoreInvalidAnim); in updateAnimatorProperty() 677 final VectorDrawable vectorDrawable = mAnimatedVectorState.mVectorDrawable; in applyTheme() local 678 if (vectorDrawable != null && vectorDrawable.canApplyTheme()) { in applyTheme() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 112 VectorDrawableRoot vectorDrawable(new VectorDrawable::Group()); in TEST() local 113 vectorDrawable.mutateStagingProperties()->setBounds(bounds); in TEST() 114 skiaDL.appendVD(&vectorDrawable); in TEST() 125 EXPECT_EQ(vectorDrawable.mutateProperties()->getBounds(), bounds); in TEST()
|
D | RenderNodeDrawableTests.cpp | 1193 sp<VectorDrawableRoot> vectorDrawable(new VectorDrawableRoot(group)); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 1194 vectorDrawable->mutateStagingProperties()->setScaledSize(CANVAS_WIDTH / 10, CANVAS_HEIGHT / 10); in RENDERTHREAD_SKIA_PIPELINE_TEST() 1199 vectorDrawable->mutateStagingProperties()->setBounds( in RENDERTHREAD_SKIA_PIPELINE_TEST() 1201 canvas.drawVectorDrawable(vectorDrawable.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 1202 vectorDrawable->mutateStagingProperties()->setBounds( in RENDERTHREAD_SKIA_PIPELINE_TEST() 1204 canvas.drawVectorDrawable(vectorDrawable.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | RenderNodeTests.cpp | 305 sp<VectorDrawableRoot> vectorDrawable(new VectorDrawableRoot(group)); in RENDERTHREAD_TEST() local 309 canvas.drawVectorDrawable(vectorDrawable.get()); in RENDERTHREAD_TEST()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRowTest.java | 687 AnimatedVectorDrawable vectorDrawable = mock(AnimatedVectorDrawable.class); in testSetIconAnimationRunningGroup_Run() local 688 setDrawableIconsInImageView(mockIcon, drawable, vectorDrawable); in testSetIconAnimationRunningGroup_Run() 696 verify(vectorDrawable, times(1)).start(); in testSetIconAnimationRunningGroup_Run()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvas.h | 144 virtual void drawVectorDrawable(VectorDrawableRoot* vectorDrawable) override;
|
D | SkiaCanvas.cpp | 727 void SkiaCanvas::drawVectorDrawable(VectorDrawableRoot* vectorDrawable) { in drawVectorDrawable() argument 728 vectorDrawable->drawStaging(this); in drawVectorDrawable()
|