Searched refs:vectorDrawable (Results 1 – 8 of 8) sorted by relevance
45 for (auto& vectorDrawable : mVectorDrawables) { in syncContents() local46 vectorDrawable.first->syncProperties(); in syncContents()143 for (auto& [vectorDrawable, cachedMatrix] : mVectorDrawables) { in prepareListAndChildren()145 if (vectorDrawable->isDirty()) { in prepareListAndChildren()150 const SkRect& bounds = vectorDrawable->properties().getBounds(); in prepareListAndChildren()153 vectorDrawable->setPropertyChangeWillBeConsumed(true); in prepareListAndChildren()
70 virtual void drawVectorDrawable(VectorDrawableRoot* vectorDrawable) override;
549 VectorDrawable vectorDrawable = (VectorDrawable) res.getDrawable( in inflate() local551 vectorDrawable.setAllowCaching(false); in inflate()552 vectorDrawable.setCallback(mCallback); in inflate()553 pathErrorScale = vectorDrawable.getPixelSize(); in inflate()557 state.mVectorDrawable = vectorDrawable; in inflate()597 VectorDrawable vectorDrawable, boolean ignoreInvalidAnim) { in updateAnimatorProperty() argument607 Object targetNameObj = vectorDrawable.getTargetByName(targetName); in updateAnimatorProperty()628 updateAnimatorProperty(anim, targetName, vectorDrawable, ignoreInvalidAnim); in updateAnimatorProperty()686 final VectorDrawable vectorDrawable = mAnimatedVectorState.mVectorDrawable; in applyTheme() local687 if (vectorDrawable != null && vectorDrawable.canApplyTheme()) { in applyTheme()[all …]
112 VectorDrawableRoot vectorDrawable(new VectorDrawable::Group()); in TEST() local113 vectorDrawable.mutateStagingProperties()->setBounds(bounds); in TEST()114 skiaDL.appendVD(&vectorDrawable); in TEST()126 EXPECT_EQ(vectorDrawable.mutateProperties()->getBounds(), bounds); in TEST()
1189 sp<VectorDrawableRoot> vectorDrawable(new VectorDrawableRoot(group)); in RENDERTHREAD_SKIA_PIPELINE_TEST() local1190 vectorDrawable->mutateStagingProperties()->setScaledSize(CANVAS_WIDTH / 10, CANVAS_HEIGHT / 10); in RENDERTHREAD_SKIA_PIPELINE_TEST()1195 vectorDrawable->mutateStagingProperties()->setBounds( in RENDERTHREAD_SKIA_PIPELINE_TEST()1197 canvas.drawVectorDrawable(vectorDrawable.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()1198 vectorDrawable->mutateStagingProperties()->setBounds( in RENDERTHREAD_SKIA_PIPELINE_TEST()1200 canvas.drawVectorDrawable(vectorDrawable.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
301 sp<VectorDrawableRoot> vectorDrawable(new VectorDrawableRoot(group)); in RENDERTHREAD_TEST() local305 canvas.drawVectorDrawable(vectorDrawable.get()); in RENDERTHREAD_TEST()
139 virtual void drawVectorDrawable(VectorDrawableRoot* vectorDrawable) override;
723 void SkiaCanvas::drawVectorDrawable(VectorDrawableRoot* vectorDrawable) { in drawVectorDrawable() argument724 vectorDrawable->drawStaging(this); in drawVectorDrawable()