Home
last modified time | relevance | path

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

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DBitmapHelper.java42 BitmapFactory.Options bmOptions = new BitmapFactory.Options(); in scaleBitmap() local
45 bmOptions.inJustDecodeBounds = false; in scaleBitmap()
46 bmOptions.inSampleSize = scaleFactor; in scaleBitmap()
48 return BitmapFactory.decodeStream(is, null, bmOptions); in scaleBitmap()
53 BitmapFactory.Options bmOptions = new BitmapFactory.Options(); in findScaleFactor() local
54 bmOptions.inJustDecodeBounds = true; in findScaleFactor()
55 BitmapFactory.decodeStream(is, null, bmOptions); in findScaleFactor()
56 int actualW = bmOptions.outWidth; in findScaleFactor()
57 int actualH = bmOptions.outHeight; in findScaleFactor()