Home
last modified time | relevance | path

Searched refs:mPicture (Results 1 – 2 of 2) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPictures.java37 private Picture mPicture; field in Pictures.SampleView
56 mPicture = new Picture(); in SampleView()
57 drawSomething(mPicture.beginRecording(200, 100)); in SampleView()
58 mPicture.endRecording(); in SampleView()
60 mDrawable = new PictureDrawable(mPicture); in SampleView()
66 canvas.drawPicture(mPicture); in onDraw()
68 canvas.drawPicture(mPicture, new RectF(0, 100, getWidth(), 200)); in onDraw()
74 mPicture.writeToStream(os); in onDraw()
DPictureLayout.java30 private final Picture mPicture = new Picture(); field in PictureLayout
115 canvas.drawPicture(mPicture); in drawPict()
121 super.dispatchDraw(mPicture.beginRecording(getWidth(), getHeight())); in dispatchDraw()
122 mPicture.endRecording(); in dispatchDraw()
128 canvas.drawPicture(mPicture); in dispatchDraw()