Home
last modified time | relevance | path

Searched refs:fDrawable (Results 1 – 20 of 20) sorted by relevance

/external/skqp/samplecode/
DSampleHT.cpp125 HTDrawable* fDrawable; member
137 fArray[i].fDrawable = new HTDrawable(rand); in HTView()
138 canvas->drawDrawable(fArray[i].fDrawable); in HTView()
139 fArray[i].fDrawable->unref(); in HTView()
160 fArray[i].fDrawable->setTime(fTime); in onAnimate()
168 if (fArray[i].fDrawable->hitTest(x, y)) { in onFindClickHandler()
169 fArray[i].fDrawable->spawnAnimation(fTime); in onFindClickHandler()
DSampleAnimatedImage.cpp56 canvas->drawDrawable(fDrawable.get(), fImage->getBounds().width(), 0); in onDrawContent()
96 fDrawable = recorder.finishRecordingAsDrawable(); in onOnceBeforeDraw()
129 sk_sp<SkDrawable> fDrawable; member in SampleAnimatedImage
DSampleLitAtlas.cpp452 DrawLitAtlasView() : fDrawable(new DrawLitAtlasDrawable(SkRect::MakeWH(640, 480))) {} in DrawLitAtlasView()
464 fDrawable->toggleUseColors(); in onQuery()
467 fDrawable->left(); in onQuery()
470 fDrawable->thrust(); in onQuery()
473 fDrawable->right(); in onQuery()
476 fDrawable->rotateLight(); in onQuery()
486 canvas->drawDrawable(fDrawable.get()); in onDrawContent()
494 sk_sp<DrawLitAtlasDrawable> fDrawable; member in DrawLitAtlasView
DSampleAtlas.cpp208 sk_sp<DrawAtlasDrawable> fDrawable; member in DrawAtlasView
222 case 'C': fDrawable->toggleUseColors(); return true; in onQuery()
230 fDrawable = sk_make_sp<DrawAtlasDrawable>(fProc, SkRect::MakeWH(640, 480)); in onOnceBeforeDraw()
234 canvas->drawDrawable(fDrawable.get()); in onDrawContent()
/external/skia/samplecode/
DSampleHT.cpp125 HTDrawable* fDrawable; member
137 fArray[i].fDrawable = new HTDrawable(rand); in HTView()
138 canvas->drawDrawable(fArray[i].fDrawable); in HTView()
139 fArray[i].fDrawable->unref(); in HTView()
160 fArray[i].fDrawable->setTime(fTime); in onAnimate()
168 if (fArray[i].fDrawable->hitTest(x, y)) { in onFindClickHandler()
169 fArray[i].fDrawable->spawnAnimation(fTime); in onFindClickHandler()
DSampleAnimatedImage.cpp56 canvas->drawDrawable(fDrawable.get(), fImage->getBounds().width(), 0); in onDrawContent()
96 fDrawable = recorder.finishRecordingAsDrawable(); in onOnceBeforeDraw()
129 sk_sp<SkDrawable> fDrawable; member in SampleAnimatedImage
DSampleLitAtlas.cpp452 DrawLitAtlasView() : fDrawable(new DrawLitAtlasDrawable(SkRect::MakeWH(640, 480))) {} in DrawLitAtlasView()
464 fDrawable->toggleUseColors(); in onQuery()
467 fDrawable->left(); in onQuery()
470 fDrawable->thrust(); in onQuery()
473 fDrawable->right(); in onQuery()
476 fDrawable->rotateLight(); in onQuery()
486 canvas->drawDrawable(fDrawable.get()); in onDrawContent()
494 sk_sp<DrawLitAtlasDrawable> fDrawable; member in DrawLitAtlasView
DSampleAtlas.cpp208 sk_sp<DrawAtlasDrawable> fDrawable; member in DrawAtlasView
222 case 'C': fDrawable->toggleUseColors(); return true; in onQuery()
230 fDrawable = sk_make_sp<DrawAtlasDrawable>(fProc, SkRect::MakeWH(640, 480)); in onOnceBeforeDraw()
234 canvas->drawDrawable(fDrawable.get()); in onDrawContent()
/external/skia/src/gpu/ops/
DGrDrawableOp.cpp27 , fDrawable(std::move(drawable)) { in GrDrawableOp()
33 state->rtCommandBuffer()->executeDrawable(std::move(fDrawable)); in onExecute()
DGrDrawableOp.h47 std::unique_ptr<SkDrawable::GpuDrawHandler> fDrawable; variable
/external/skqp/src/gpu/ops/
DGrDrawableOp.cpp27 , fDrawable(std::move(drawable)) { in GrDrawableOp()
33 state->rtCommandBuffer()->executeDrawable(std::move(fDrawable)); in onExecute()
DGrDrawableOp.h45 std::unique_ptr<SkDrawable::GpuDrawHandler> fDrawable; variable
/external/skia/tests/
DFlattenDrawableTest.cpp146 , fDrawable(SkRef(drawable)) in RootDrawable()
153 , fDrawable(SkRef(drawable)) in RootDrawable()
159 buffer.writeFlattenable(fDrawable.get()); in flatten()
186 SkDrawable* drawable() const { return fDrawable.get(); } in drawable()
197 sk_sp<SkDrawable> fDrawable; member in RootDrawable
/external/skqp/tests/
DFlattenDrawableTest.cpp146 , fDrawable(SkRef(drawable)) in RootDrawable()
153 , fDrawable(SkRef(drawable)) in RootDrawable()
159 buffer.writeFlattenable(fDrawable.get()); in flatten()
186 SkDrawable* drawable() const { return fDrawable.get(); } in drawable()
197 sk_sp<SkDrawable> fDrawable; member in RootDrawable
/external/skia/modules/particles/src/
DSkParticleEffect.cpp24 v->visit("Drawable", fDrawable); in visitFields()
49 if (!this->isAlive() || !fParams->fDrawable) { in update()
157 if (this->isAlive() && fParams->fDrawable) { in draw()
160 fParams->fDrawable->draw(canvas, fParticles.get(), fCount, &paint); in draw()
/external/skia/modules/particles/include/
DSkParticleEffect.h31 sk_sp<SkParticleDrawable> fDrawable; variable
/external/skqp/tools/debugger/
DSkDrawCommand.h680 sk_sp<SkDrawable> fDrawable;
DSkDrawCommand.cpp2001 , fDrawable(SkRef(drawable)) in SkDrawDrawableCommand()
2005 canvas->drawDrawable(fDrawable.get(), fMatrix.getMaybeNull()); in execute()
/external/skia/tools/debugger/
DSkDrawCommand.h693 sk_sp<SkDrawable> fDrawable;
DSkDrawCommand.cpp2023 , fDrawable(SkRef(drawable)) in SkDrawDrawableCommand()
2027 canvas->drawDrawable(fDrawable.get(), fMatrix.getMaybeNull()); in execute()