Home
last modified time | relevance | path

Searched refs:inSampleSize (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDecodeUtils.java131 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/
DImageFilterRS.java184 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/
DImageLoader.java260 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/
DImageLoader.java238 options.inSampleSize = sampleSize; in loadDownsampledBitmap()
389 if (options.inSampleSize < 1) { in decodeResourceWithBackouts()
390 options.inSampleSize = 1; in decodeResourceWithBackouts()
407 options.inSampleSize *= 2; in decodeResourceWithBackouts()
DCameraUtil.java258 options.inSampleSize = computeSampleSize( in makeBitmap()
814 opts.inSampleSize = downSampleFactor; in downSample()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java127 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/
DBitmapRegionTileSource.java138 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/
DThumbnail.java247 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/
DPhotoSource.java169 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/
DMtpBitmapFetch.java58 o.inSampleSize = 1; in getThumbnail()
93 o.inSampleSize = sampleSize; in getFullsize()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageViewAdapter.java119 options.inSampleSize = (1 << level); in getTile()
158 options.inSampleSize = (1 << level); in getTileWithoutReusingBitmap()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DThumbnailLoadTask.java135 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/
DZoomView.java129 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/
DAutoThumbnailDrawable.java258 mOptions.inSampleSize = preferredSampleSize;
270 mOptions.inSampleSize = sampleSize;
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperCropActivity.java669 options.inSampleSize = scaleDownSampleSize;
682 options.inSampleSize = scaleDownSampleSize;
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java867 int inSampleSize = Integer.highestOneBit( in saveHighResMosaic()
870 jpeg.data, orientation, inSampleSize, uri); in saveHighResMosaic()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DBitmapUtil.java87 options.inSampleSize = sampleSize; in decodeBitmapFromBytes()
/packages/apps/Browser/src/com/android/browser/
DWallpaperHandler.java122 options.inSampleSize = scale; in run()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DBitmapUtil.java56 opts.inSampleSize = Math.min(opts.outWidth / w, opts.outHeight / h); in decodeByteArray()
/packages/apps/Camera2/src/com/android/camera/data/
DLocalDataUtil.java153 opts.inSampleSize = sampleSize; in loadImageThumbnailFromStream()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSinglePhotoDataAdapter.java96 options.inSampleSize = BitmapUtils.computeSampleSize(
/packages/apps/Gallery/src/com/android/camera/
DUtil.java318 options.inSampleSize = computeSampleSize( in makeBitmap()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DBitmapWorkerTask.java244 bitmapOptions.inSampleSize = (int) scale;
DDrawableLoader.java240 bitmapOptions.inSampleSize = scale; in decodeBitmap()
/packages/apps/Mms/src/com/android/mms/util/
DThumbnailManager.java474 options.inSampleSize = computeSampleSizeLarger( in requestDecode()

12