Searched refs:mBitmap2 (Results 1 – 3 of 3) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | BitmapDecode.java | 40 private Bitmap mBitmap2; field in BitmapDecode.SampleView 88 mBitmap2 = BitmapFactory.decodeStream(is); in SampleView() 91 int w = mBitmap2.getWidth(); in SampleView() 92 int h = mBitmap2.getHeight(); in SampleView() 94 mBitmap2.getPixels(pixels, 0, w, 0, 0, w, h); in SampleView() 121 canvas.drawBitmap(mBitmap2, 10, 170, null); in onDraw()
|
D | AlphaBitmap.java | 38 private Bitmap mBitmap2; field in AlphaBitmap.SampleView 66 mBitmap2 = mBitmap.extractAlpha(); in SampleView() 84 canvas.drawBitmap(mBitmap2, 10, y, p); in onDraw() 85 y += mBitmap2.getHeight() + 10; in onDraw()
|
D | BitmapPixels.java | 37 private Bitmap mBitmap2; field in BitmapPixels.SampleView 142 mBitmap2 = Bitmap.createBitmap(N, N, Bitmap.Config.RGB_565); in SampleView() 146 mBitmap2.copyPixelsFromBuffer(makeBuffer(data565, N)); in SampleView() 156 canvas.drawBitmap(mBitmap2, 10, y, null); in onDraw() 157 y += mBitmap2.getHeight() + 10; in onDraw()
|