Searched refs:setCustomFactory (Results 1 – 3 of 3) sorted by relevance
201 buffer.setCustomFactory(SkString("IntDrawable"), IntDrawable::CreateProc); in register_test_drawables()202 buffer.setCustomFactory(SkString("PaintDrawable"), PaintDrawable::CreateProc); in register_test_drawables()203 buffer.setCustomFactory(SkString("CompoundDrawable"), CompoundDrawable::CreateProc); in register_test_drawables()204 buffer.setCustomFactory(SkString("RootDrawable"), RootDrawable::CreateProc); in register_test_drawables()
69 readBuffer.setCustomFactory(SkString("IntFlattenable"), &custom_create_proc); in DEF_TEST()
204 void setCustomFactory(const SkString& name, SkFlattenable::Factory factory) { in setCustomFactory() function