/frameworks/support/graphics/drawable/static/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/ |
D | VectorDrawableTest.java | 283 VectorDrawableCompat vectorDrawable = in testGetChangingConfigurations() local 285 Drawable.ConstantState constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() 289 assertEquals(0, vectorDrawable.getChangingConfigurations()); in testGetChangingConfigurations() 292 vectorDrawable.setChangingConfigurations(0xff); in testGetChangingConfigurations() 293 assertEquals(0xff, vectorDrawable.getChangingConfigurations()); in testGetChangingConfigurations() 297 constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() 301 vectorDrawable.setChangingConfigurations(0xff00); in testGetChangingConfigurations() 303 assertEquals(0xffff, vectorDrawable.getChangingConfigurations()); in testGetChangingConfigurations() 308 VectorDrawableCompat vectorDrawable = in testGetConstantState() local 310 Drawable.ConstantState constantState = vectorDrawable.getConstantState(); in testGetConstantState() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.cpp | 37 for (auto& vectorDrawable : mVectorDrawables) { in syncContents() local 38 vectorDrawable->syncProperties(); in syncContents() 111 for (auto& vectorDrawable : mVectorDrawables) { in prepareListAndChildren() local 113 if (vectorDrawable->isDirty()) { in prepareListAndChildren() 117 ->push_back(vectorDrawable); in prepareListAndChildren() 119 vectorDrawable->setPropertyChangeWillBeConsumed(true); in prepareListAndChildren()
|
D | SkiaRecordingCanvas.h | 70 virtual void drawVectorDrawable(VectorDrawableRoot* vectorDrawable) override;
|
/frameworks/base/libs/hwui/ |
D | DisplayList.cpp | 96 for (auto& vectorDrawable : vectorDrawables) { in syncContents() local 97 vectorDrawable->syncProperties(); in syncContents() 122 for (auto& vectorDrawable : vectorDrawables) { in prepareListAndChildren() local 124 if (vectorDrawable->isDirty()) { in prepareListAndChildren() 127 vectorDrawable->setPropertyChangeWillBeConsumed(true); in prepareListAndChildren()
|
D | RecordedOp.h | 332 : SUPER_PAINTLESS(VectorDrawableOp), vectorDrawable(tree) {} in VectorDrawableOp() 333 VectorDrawable::Tree* vectorDrawable; member
|
D | SkiaCanvas.h | 130 virtual void drawVectorDrawable(VectorDrawableRoot* vectorDrawable) override;
|
D | SkiaCanvas.cpp | 727 void SkiaCanvas::drawVectorDrawable(VectorDrawableRoot* vectorDrawable) { in drawVectorDrawable() argument 728 vectorDrawable->drawStaging(this); in drawVectorDrawable()
|
D | FrameBuilder.cpp | 626 Bitmap& bitmap = op.vectorDrawable->getBitmapUpdateIfDirty(); in deferVectorDrawableOp() 627 SkPaint* paint = op.vectorDrawable->getPaint(); in deferVectorDrawableOp()
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
D | AppCompatVectorDrawableIntegrationTest.java | 71 Drawable vectorDrawable = view1.getDrawable(); in testVectorDrawableAutoMirrored() local 73 vectorDrawable.setBounds(0, 0, WIDTH, HEIGHT); in testVectorDrawableAutoMirrored() 74 vectorDrawable.draw(mCanvas); in testVectorDrawableAutoMirrored() 88 vectorDrawable.draw(mCanvas); in testVectorDrawableAutoMirrored()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaDisplayListTests.cpp | 97 VectorDrawableRoot vectorDrawable(new VectorDrawable::Group()); in TEST() local 98 vectorDrawable.mutateStagingProperties()->setBounds(bounds); in TEST() 99 skiaDL.mVectorDrawables.push_back(&vectorDrawable); in TEST() 105 ASSERT_EQ(vectorDrawable.mutateProperties()->getBounds(), bounds); in TEST()
|
D | RenderNodeDrawableTests.cpp | 1173 sp<VectorDrawableRoot> vectorDrawable(new VectorDrawableRoot(group)); in RENDERTHREAD_SKIA_PIPELINE_TEST() local 1174 vectorDrawable->mutateStagingProperties()->setScaledSize(CANVAS_WIDTH/10, CANVAS_HEIGHT/10); in RENDERTHREAD_SKIA_PIPELINE_TEST() 1178 vectorDrawable->mutateStagingProperties()->setBounds(SkRect::MakeWH(CANVAS_WIDTH, in RENDERTHREAD_SKIA_PIPELINE_TEST() 1180 canvas.drawVectorDrawable(vectorDrawable.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST() 1181 vectorDrawable->mutateStagingProperties()->setBounds(SkRect::MakeWH(CANVAS_WIDTH/2, in RENDERTHREAD_SKIA_PIPELINE_TEST() 1183 canvas.drawVectorDrawable(vectorDrawable.get()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|
D | RenderNodeTests.cpp | 300 sp<VectorDrawableRoot> vectorDrawable(new VectorDrawableRoot(group)); in RENDERTHREAD_TEST() local 304 canvas.drawVectorDrawable(vectorDrawable.get()); in RENDERTHREAD_TEST()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedVectorDrawable.java | 545 VectorDrawable vectorDrawable = (VectorDrawable) res.getDrawable( in inflate() local 547 vectorDrawable.setAllowCaching(false); in inflate() 548 vectorDrawable.setCallback(mCallback); in inflate() 549 pathErrorScale = vectorDrawable.getPixelSize(); in inflate() 553 state.mVectorDrawable = vectorDrawable; in inflate() 593 VectorDrawable vectorDrawable, boolean ignoreInvalidAnim) { in updateAnimatorProperty() argument 603 Object targetNameObj = vectorDrawable.getTargetByName(targetName); in updateAnimatorProperty() 624 updateAnimatorProperty(anim, targetName, vectorDrawable, ignoreInvalidAnim); in updateAnimatorProperty() 681 final VectorDrawable vectorDrawable = mAnimatedVectorState.mVectorDrawable; in applyTheme() local 682 if (vectorDrawable != null && vectorDrawable.canApplyTheme()) { in applyTheme() [all …]
|
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/ |
D | AnimatedVectorDrawableCompat.java | 462 VectorDrawableCompat vectorDrawable = VectorDrawableCompat.create(res, in inflate() local 464 vectorDrawable.setAllowCaching(false); in inflate() 465 vectorDrawable.setCallback(mCallback); in inflate() 469 mAnimatedVectorState.mVectorDrawable = vectorDrawable; in inflate()
|