Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java235 private Canvas mCanvas; field in TouchPaint.PaintView
266 if (mCanvas != null) { in clear()
268 mCanvas.drawPaint(mPaint); in clear()
276 if (mCanvas != null && mFadeSteps < MAX_FADE_STEPS) { in fade()
277 mCanvas.drawPaint(mFadePaint); in fade()
302 mCanvas.drawText(text, (width-bounds.width())/2, in text()
327 mCanvas = newCanvas; in onSizeChanged()
464 drawOval(mCanvas, x, y, major, minor, orientation, mPaint); in paint()
470 drawOval(mCanvas, x, y, major, minor, orientation, mPaint); in paint()
476 drawSplat(mCanvas, x, y, orientation, distance, tilt, mPaint); in paint()
[all …]
DFingerPaint.java64 private Canvas mCanvas; field in FingerPaint.MyView
79 mCanvas = new Canvas(mBitmap); in onSizeChanged()
112 mCanvas.drawPath(mPath, mPaint); in touch_up()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DLabelMaker.java130 mCanvas = new Canvas(mBitmap); in beginAdding()
239 background.draw(mCanvas); in add()
243 mCanvas.drawText(text, in add()
270 mCanvas = null; in endAdding()
394 private Canvas mCanvas; field in LabelMaker