Home
last modified time | relevance | path

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

/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoDecodeRunnable.java143 BitmapFactory.Options bitmapOptions = new BitmapFactory.Options(); in run() local
163 bitmapOptions.inJustDecodeBounds = true; in run()
170 .decodeByteArray(imageBuffer, 0, imageBuffer.length, bitmapOptions); in run()
177 int hScale = bitmapOptions.outHeight / targetHeight; in run()
178 int wScale = bitmapOptions.outWidth / targetWidth; in run()
195 bitmapOptions.inSampleSize = sampleSize; in run()
204 bitmapOptions.inJustDecodeBounds = false; in run()
220 bitmapOptions in run()
/development/samples/devbytes/graphics/BitmapAllocation/src/com/example/android/bitmapallocation/
DBitmapAllocation.java77 BitmapFactory.Options bitmapOptions = null; in onCreate()
80 bitmapOptions = mBitmapOptions; in onCreate()
81 bitmapOptions.inBitmap = mCurrentBitmap; in onCreate()
85 imageIDs[mCurrentIndex], bitmapOptions); in onCreate()
/development/samples/devbytes/graphics/BitmapScaling/src/com/example/android/bitmapscaling/
DBitmapScaling.java64 BitmapFactory.Options bitmapOptions = new BitmapFactory.Options(); in addScaledImageView() local
65 bitmapOptions.inSampleSize = sampleSize; in addScaledImageView()
68 R.drawable.jellybean_statue, bitmapOptions); in addScaledImageView()