Home
last modified time | relevance | path

Searched refs:TestDrawable (Results 1 – 3 of 3) sorted by relevance

/external/skia/tests/
DVkDrawableTest.cpp32 class TestDrawable : public SkDrawable { class
34 TestDrawable(const GrVkInterface* interface, GrContext* context, int32_t width, int32_t height) in TestDrawable() function in TestDrawable
41 ~TestDrawable() override {} in ~TestDrawable()
91 typedef void (*DrawProc)(TestDrawable*, const SkMatrix&, const SkIRect&,
93 typedef void (*SubmitProc)(TestDrawable*);
100 DrawHandlerImport(TestDrawable* td, DrawProc drawProc, SubmitProc submitProc, in DrawHandlerImport()
122 TestDrawable* fTestDrawable;
134 static void ImportDraw(TestDrawable* td, const SkMatrix& matrix, const SkIRect& clipBounds, in ImportDraw()
165 static void ImportSubmitted(TestDrawable* td) { in ImportSubmitted()
228 sk_sp<TestDrawable> drawable(new TestDrawable(gpu->vkInterface(), childContext, DEV_W, DEV_H)); in draw_drawable_test()
/external/skqp/tests/
DVkDrawableTest.cpp32 class TestDrawable : public SkDrawable { class
34 TestDrawable(const GrVkInterface* interface, GrContext* context, int32_t width, int32_t height) in TestDrawable() function in TestDrawable
41 ~TestDrawable() override {} in ~TestDrawable()
91 typedef void (*DrawProc)(TestDrawable*, const SkMatrix&, const SkIRect&,
93 typedef void (*SubmitProc)(TestDrawable*);
100 DrawHandlerImport(TestDrawable* td, DrawProc drawProc, SubmitProc submitProc, in DrawHandlerImport()
122 TestDrawable* fTestDrawable;
134 static void ImportDraw(TestDrawable* td, const SkMatrix& matrix, const SkIRect& clipBounds, in ImportDraw()
165 static void ImportSubmitted(TestDrawable* td) { in ImportSubmitted()
228 sk_sp<TestDrawable> drawable(new TestDrawable(gpu->vkInterface(), childContext, DEV_W, DEV_H)); in draw_drawable_test()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDrawableTest.java115 Drawable drawable = new TestDrawable(); in testGetLoadedFromResourceId_shouldDefaultToNegativeOne()
140 TestDrawable drawable = new TestDrawable(); in settingBoundsShouldInvokeCallback()
188 private static class TestDrawable extends Drawable { class in ShadowDrawableTest