/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DecodeUtils.java | 131 options.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale); in decodeThumbnail() 136 if ((w / options.inSampleSize) * (h / options.inSampleSize) > MAX_PIXEL_COUNT) { in decodeThumbnail() 137 options.inSampleSize = BitmapUtils.computeSampleSize( in decodeThumbnail() 143 options.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale); in decodeThumbnail() 180 options.inSampleSize = BitmapUtils.computeSampleSizeLarger( in decodeIfBigEnough() 253 if (options.inSampleSize < 1) options.inSampleSize = 1; in decodeUsingPool() 255 options.inBitmap = (options.inSampleSize == 1) in decodeUsingPool() 280 if (options.inSampleSize < 1) options.inSampleSize = 1; in decodeUsingPool() 282 options.inBitmap = (options.inSampleSize == 1) in decodeUsingPool()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterRS.java | 184 public Allocation loadScaledResourceAlpha(int resource, int inSampleSize) { in loadScaledResourceAlpha() argument 187 options.inSampleSize = inSampleSize; in loadScaledResourceAlpha() 196 public Allocation loadScaledResourceAlpha(int resource, int w, int h, int inSampleSize) { in loadScaledResourceAlpha() argument 199 options.inSampleSize = inSampleSize; in loadScaledResourceAlpha()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | ImageLoader.java | 260 if (options.inSampleSize != 0) { in loadRegionBitmap() 314 options.inSampleSize = sampleSize; in loadDownsampledBitmap() 430 options.inSampleSize = sampleSize; in getScaleOneImageForPreset() 487 if (options.inSampleSize < 1) { in decodeResourceWithBackouts() 488 options.inSampleSize = 1; in decodeResourceWithBackouts() 505 options.inSampleSize *= 2; in decodeResourceWithBackouts()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ImageLoader.java | 238 options.inSampleSize = sampleSize; in loadDownsampledBitmap() 389 if (options.inSampleSize < 1) { in decodeResourceWithBackouts() 390 options.inSampleSize = 1; in decodeResourceWithBackouts() 407 options.inSampleSize *= 2; in decodeResourceWithBackouts()
|
D | CameraUtil.java | 258 options.inSampleSize = computeSampleSize( in makeBitmap() 814 opts.inSampleSize = downSampleFactor; in downSample()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 127 int sampleSize = Math.max(options.inSampleSize, 1); in decodeRegion() 190 opts.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale); in loadInBackground() 449 mOptions.inSampleSize = (1 << level); in getTile() 474 mOptions.inSampleSize = (1 << level); in getTileWithoutReusingBitmap()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 138 mOptions.inSampleSize = (1 << level); in getTile() 163 mOptions.inSampleSize = (1 << level); in getTileWithoutReusingBitmap() 192 mOptions.inSampleSize = BitmapUtils.computeSampleSizeLarger(scale); in decodePreview()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Thumbnail.java | 247 public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int inSampleSize, in createThumbnail() argument 251 options.inSampleSize = inSampleSize; in createThumbnail()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoSource.java | 169 options.inSampleSize = 1; in load() 184 options.inSampleSize *= 2; in load() 188 log(TAG, "decoding with inSampleSize " + options.inSampleSize); in load()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpBitmapFetch.java | 58 o.inSampleSize = 1; in getThumbnail() 93 o.inSampleSize = sampleSize; in getFullsize()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageViewAdapter.java | 119 options.inSampleSize = (1 << level); in getTile() 158 options.inSampleSize = (1 << level); in getTileWithoutReusingBitmap()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ThumbnailLoadTask.java | 135 opts.inSampleSize = Math.min(wDivider, hDivider); in loadBitmap() 138 opts.outWidth, opts.outHeight, mWidth, mHeight, opts.inSampleSize); in loadBitmap()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ZoomView.java | 129 options.inSampleSize = getSampleFactor(region.width(), region.height()); in doInBackground() 135 options.inSampleSize = getSampleFactor(region.height(), region.width()); in doInBackground()
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
D | AutoThumbnailDrawable.java | 258 mOptions.inSampleSize = preferredSampleSize; 270 mOptions.inSampleSize = sampleSize;
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | WallpaperCropActivity.java | 669 options.inSampleSize = scaleDownSampleSize; 682 options.inSampleSize = scaleDownSampleSize;
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 867 int inSampleSize = Integer.highestOneBit( in saveHighResMosaic() 870 jpeg.data, orientation, inSampleSize, uri); in saveHighResMosaic()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | BitmapUtil.java | 87 options.inSampleSize = sampleSize; in decodeBitmapFromBytes()
|
/packages/apps/Browser/src/com/android/browser/ |
D | WallpaperHandler.java | 122 options.inSampleSize = scale; in run()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | BitmapUtil.java | 56 opts.inSampleSize = Math.min(opts.outWidth / w, opts.outHeight / h); in decodeByteArray()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | LocalDataUtil.java | 153 opts.inSampleSize = sampleSize; in loadImageThumbnailFromStream()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SinglePhotoDataAdapter.java | 96 options.inSampleSize = BitmapUtils.computeSampleSize(
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 318 options.inSampleSize = computeSampleSize( in makeBitmap()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | BitmapWorkerTask.java | 244 bitmapOptions.inSampleSize = (int) scale;
|
D | DrawableLoader.java | 240 bitmapOptions.inSampleSize = scale; in decodeBitmap()
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | ThumbnailManager.java | 474 options.inSampleSize = computeSampleSizeLarger( in requestDecode()
|