Home
last modified time | relevance | path

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

/development/samples/devbytes/graphics/BitmapAllocation/src/com/example/android/bitmapallocation/
DBitmapAllocation.java45 BitmapFactory.Options mBitmapOptions; field in BitmapAllocation
60 mBitmapOptions = new BitmapFactory.Options(); in onCreate()
61 mBitmapOptions.inJustDecodeBounds = true; in onCreate()
62 BitmapFactory.decodeResource(getResources(), R.drawable.a, mBitmapOptions); in onCreate() local
63 mCurrentBitmap = Bitmap.createBitmap(mBitmapOptions.outWidth, in onCreate()
64 mBitmapOptions.outHeight, Bitmap.Config.ARGB_8888); in onCreate()
65 mBitmapOptions.inJustDecodeBounds = false; in onCreate()
66 mBitmapOptions.inBitmap = mCurrentBitmap; in onCreate()
67 mBitmapOptions.inSampleSize = 1; in onCreate()
68 BitmapFactory.decodeResource(getResources(), R.drawable.a, mBitmapOptions); in onCreate() local
[all …]