Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java73 private GLCanvas mCanvas; field in GLRootView
261 mCanvas = new GLCanvasImpl(gl); in onSurfaceCreated()
292 mCanvas.setSize(width, height); in onSurfaceChanged()
362 mCanvas.deleteRecycledResources(); in onDrawFrameLocked()
371 mCanvas.save(GLCanvas.SAVE_FLAG_ALL); in onDrawFrameLocked()
374 mContentView.render(mCanvas); in onDrawFrameLocked()
376 mCanvas.restore(); in onDrawFrameLocked()
395 mCanvas.fillRect(10, 10, 5, 5, mInvalidateColor); in onDrawFrameLocked()
400 mCanvas.dumpStatisticsAndClear(); in onDrawFrameLocked()
410 mCanvas.translate(cx, cy); in rotateCanvas()
[all …]
DCanvasTexture.java27 protected Canvas mCanvas; field in CanvasTexture
39 mCanvas = new Canvas(bitmap); in onGetBitmap()
40 onDraw(mCanvas, bitmap); in onGetBitmap()
/packages/apps/Launcher2/src/com/android/launcher2/
DStrokedTextView.java37 private final Canvas mCanvas = new Canvas(); field in StrokedTextView
101 mCanvas.setBitmap(mCache); in onDraw()
102 mCanvas.drawColor(0, PorterDuff.Mode.CLEAR); in onDraw()
113 drawables[i].draw(mCanvas); in onDraw()
124 mCanvas.drawText(text, left, bottom, mPaint); in onDraw()
129 mCanvas.drawText(text, left, bottom, mPaint); in onDraw()
DAppsCustomizePagedView.java269 private Canvas mCanvas; field in AppsCustomizePagedView
334 mCanvas = new Canvas(); in AppsCustomizePagedView()
787 mCanvas.setBitmap(preview); in beginDraggingWidget()
788 mCanvas.save(); in beginDraggingWidget()
791 mCanvas.restore(); in beginDraggingWidget()
792 mCanvas.setBitmap(null); in beginDraggingWidget()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java326 private final Canvas mCanvas = new Canvas(); field in ActivityPicker.IconResizer
329 mCanvas.setDrawFilter(new PaintFlagsDrawFilter(Paint.DITHER_FLAG, in IconResizer()
386 final Canvas canvas = mCanvas; in createIconThumbnail()
406 final Canvas canvas = mCanvas; in createIconThumbnail()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java124 private Canvas mCanvas; field in KeyboardView
462 if (mCanvas != null) { in onBufferDraw()
463 mCanvas.setBitmap(mBuffer); in onBufferDraw()
465 mCanvas = new Canvas(mBuffer); in onBufferDraw()
471 final Canvas canvas = mCanvas; in onBufferDraw()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java971 private final Canvas mCanvas; field in ImageBlockManager.ImageBlock
985 mCanvas = new Canvas(mBitmap); in ImageBlock()
1103 mDrawAdapter.drawImage(mCanvas, image, b, xPos, yPos, in drawBitmap()
1105 mCanvas.drawBitmap(mOutline, xPos, yPos, null); in drawBitmap()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java248 private Canvas mCanvas; field in KeyboardView
681 mCanvas = new Canvas(mBuffer); in onBufferDraw()
686 final Canvas canvas = mCanvas; in onBufferDraw()
1343 mCanvas = null; in closing()