Searched refs:pic (Results 1 – 3 of 3) sorted by relevance
38 Picture pic = new Picture(); in greenSquare() local39 Canvas subcanvas = pic.beginRecording(ActivityTestBase.TEST_WIDTH, in greenSquare()42 pic.endRecording(); in greenSquare()44 return pic; in greenSquare()53 Picture pic = greenSquare(); in testPictureRespectsClip()55 pic.draw(canvas); // should be clipped out in testPictureRespectsClip()67 Picture pic = greenSquare(); in testPictureRespectsTranslate()69 pic.draw(canvas); // should be offset in testPictureRespectsTranslate()
135 Picture pic = new Picture(picture); in testPicture() local138 pic.draw(canvas); in testPicture()139 checkSize(pic); in testPicture()
248 Uri pic = DocumentsContract.createDocument(resolver, doc, "image/png", "pic.png"); in testTree() local252 writeFully(pic, "pic".getBytes()); in testTree()