OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:inSampleSize
(Results
26 - 50
of
91
) sorted by null
1
2
3
4
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
Downsampler.java
194
options.
inSampleSize
= sampleSize;
196
if ((options.
inSampleSize
== 1 || Build.VERSION_CODES.KITKAT <= Build.VERSION.SDK_INT) && shouldUsePool(is)) {
265
* @see android.graphics.BitmapFactory.Options#
inSampleSize
316
+ " sample=" + options.
inSampleSize
, e);
356
decodeBitmapOptions.
inSampleSize
= 1;
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
BitmapHelper.java
48
bmOptions.
inSampleSize
= scaleFactor;
/packages/apps/Gallery2/src/com/android/photos/
BitmapRegionTileSource.java
138
mOptions.
inSampleSize
= (1 << level);
163
mOptions.
inSampleSize
= (1 << level);
192
mOptions.
inSampleSize
= BitmapUtils.computeSampleSizeLarger(scale);
200
// We need to resize down if the decoder does not support
inSampleSize
201
// or didn't support the specified
inSampleSize
(some decoders only do powers of 2)
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
BitmapRegionTileSource.java
126
int sampleSize = Math.max(options.
inSampleSize
, 1);
184
opts.
inSampleSize
= BitmapUtils.computeSampleSizeLarger(scale);
189
int expectedPixles = (width / opts.
inSampleSize
) * (height / opts.
inSampleSize
);
465
mOptions.
inSampleSize
= (1 << level);
/cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java
350
options.
inSampleSize
= 0; // treated as 1
358
options.
inSampleSize
= -42; // treated as 1
383
options.
inSampleSize
= 1;
418
options.
inSampleSize
= 4;
429
options.
inSampleSize
= 4;
433
options.
inSampleSize
= 1;
450
options.
inSampleSize
= 4;
462
options.
inSampleSize
= 1;
466
// Verify that
inSampleSize
and density scaling both work with reuse concurrently
469
options.
inSampleSize
= 2
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
ImageLoader.java
260
if (options.
inSampleSize
!= 0) {
314
options.
inSampleSize
= sampleSize;
430
options.
inSampleSize
= sampleSize;
487
if (options.
inSampleSize
< 1) {
488
options.
inSampleSize
= 1;
505
options.
inSampleSize
*= 2;
/packages/apps/LegacyCamera/src/com/android/camera/
Thumbnail.java
247
public static Thumbnail createThumbnail(byte[] jpeg, int orientation, int
inSampleSize
,
251
options.
inSampleSize
=
inSampleSize
;
/packages/apps/Camera2/src/com/android/camera/ui/
ZoomView.java
129
options.
inSampleSize
= getSampleFactor(region.width(), region.height());
135
options.
inSampleSize
= getSampleFactor(region.height(), region.width());
/packages/apps/Gallery2/src/com/android/photos/drawables/
AutoThumbnailDrawable.java
258
mOptions.
inSampleSize
= preferredSampleSize;
270
mOptions.
inSampleSize
= sampleSize;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
ThumbnailLoadTask.java
135
opts.
inSampleSize
= Math.min(wDivider, hDivider);
138
opts.outWidth, opts.outHeight, mWidth, mHeight, opts.
inSampleSize
);
/packages/apps/Messaging/src/com/android/messaging/util/
ImageUtils.java
197
int
inSampleSize
= 1;
207
// Calculate the largest
inSampleSize
value that is a power of 2 and keeps both
209
while ((!checkHeight || (halfHeight /
inSampleSize
) > reqHeight)
210
&& (!checkWidth || (halfWidth /
inSampleSize
) > reqWidth)) {
211
inSampleSize
*= 2;
215
return
inSampleSize
;
459
mOptions.
inSampleSize
= 1;
684
mOptions.
inSampleSize
= mSampleSize;
[
all
...]
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java
524
// On earlier versions, the dimensions must match exactly and the
inSampleSize
must be 1
527
&& targetOptions.
inSampleSize
== 1;
532
int width = targetOptions.outWidth / targetOptions.
inSampleSize
;
533
int height = targetOptions.outHeight / targetOptions.
inSampleSize
;
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java
524
// On earlier versions, the dimensions must match exactly and the
inSampleSize
must be 1
527
&& targetOptions.
inSampleSize
== 1;
532
int width = targetOptions.outWidth / targetOptions.
inSampleSize
;
533
int height = targetOptions.outHeight / targetOptions.
inSampleSize
;
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageCache.java
524
// On earlier versions, the dimensions must match exactly and the
inSampleSize
must be 1
527
&& targetOptions.
inSampleSize
== 1;
532
int width = targetOptions.outWidth / targetOptions.
inSampleSize
;
533
int height = targetOptions.outHeight / targetOptions.
inSampleSize
;
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoSource.java
169
options.
inSampleSize
= 1;
184
options.
inSampleSize
*= 2;
188
log(TAG, "decoding with
inSampleSize
" + options.
inSampleSize
);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
BitmapDecode.java
81
opts.
inSampleSize
= 4; // scaled down by 4
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
BitmapRegionTileSource.java
127
int sampleSize = Math.max(options.
inSampleSize
, 1);
190
opts.
inSampleSize
= BitmapUtils.computeSampleSizeLarger(scale);
449
mOptions.
inSampleSize
= (1 << level);
474
mOptions.
inSampleSize
= (1 << level);
507
// We need to resize down if the decoder does not support
inSampleSize
508
// or didn't support the specified
inSampleSize
(some decoders only do powers of 2)
/frameworks/volley/src/main/java/com/android/volley/toolbox/
ImageRequest.java
194
decodeOptions.
inSampleSize
=
/packages/apps/Camera2/src/com/android/camera/data/
FilmstripItemUtils.java
128
opts.
inSampleSize
= sampleSize;
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
BitmapUtil.java
87
options.
inSampleSize
= sampleSize;
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
LogoUtils.java
103
bounds.
inSampleSize
= ratio;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
BitmapUtil.java
56
opts.
inSampleSize
= Math.min(opts.outWidth / w, opts.outHeight / h);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
BitmapCropTask.java
275
options.
inSampleSize
= scaleDownSampleSize;
288
options.
inSampleSize
= scaleDownSampleSize;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
ByodPresentMediaDialog.java
156
options.
inSampleSize
= calculateInSampleSize(options, reqWidth, reqHeight);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
BitmapFactoryTest.java
82
options.
inSampleSize
= 100;
84
assertEquals(true, shadowOf(bitmap).getDescription().contains("
inSampleSize
=100"));
Completed in 2113 milliseconds
1
2
3
4