Home
last modified time | relevance | path

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

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DBitmapTransformation.java44 … public final Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) { in transform() argument
45 if (outWidth <= 0 || outHeight <= 0) { in transform()
47 + outHeight + " less than or equal to zero"); in transform()
50 Bitmap transformed = transform(bitmapPool, toTransform, outWidth, outHeight); in transform()
74 …tected abstract Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight); in transform() argument
DDownsampler.java38 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) {
39 return Math.min(inHeight / outHeight, inWidth / outWidth);
55 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) {
56 return Math.max(inHeight / outHeight, inWidth / outWidth);
70 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) {
103 …public Bitmap decode(InputStream is, BitmapPool pool, int outWidth, int outHeight, DecodeFormat de… in decode() argument
138 …nal int sampleSize = getRoundedSampleSize(degreesToRotate, inWidth, inHeight, outWidth, outHeight); in decode()
170 …getRoundedSampleSize(int degreesToRotate, int inWidth, int inHeight, int outWidth, int outHeight) { in getRoundedSampleSize() argument
175 exactSampleSize = getSampleSize(inHeight, inWidth, outWidth, outHeight); in getRoundedSampleSize()
177 exactSampleSize = getSampleSize(inWidth, inHeight, outWidth, outHeight); in getRoundedSampleSize()
[all …]
DCenterCrop.java27 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) { in transform() argument
28 final Bitmap toReuse = pool.get(outWidth, outHeight, toTransform.getConfig() != null in transform()
30 … Bitmap transformed = TransformationUtils.centerCrop(toReuse, toTransform, outWidth, outHeight); in transform()
DFitCenter.java23 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) { in transform() argument
24 return TransformationUtils.fitCenter(toTransform, pool, outWidth, outHeight); in transform()
DBitmapDecoder.java25 …Bitmap decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeF… in decode() argument
DVideoBitmapDecoder.java31 …ic Bitmap decode(ParcelFileDescriptor resource, BitmapPool bitmapPool, int outWidth, int outHeight, in decode() argument
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
DGifBitmapWrapperTransformation.java30 …rce<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int outHeight) { in transform() argument
34 …Resource<Bitmap> transformed = bitmapTransformation.transform(bitmapResource, outWidth, outHeight); in transform()
40 …ource<GifDrawable> transformed = gifDataTransformation.transform(gifResource, outWidth, outHeight); in transform()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawableTransformation.java24 …blic Resource<GifDrawable> transform(Resource<GifDrawable> resource, int outWidth, int outHeight) { in transform() argument
33 Resource<Bitmap> transformed = wrapped.transform(bitmapResource, outWidth, outHeight); in transform()
/external/glide/library/src/main/java/com/bumptech/glide/load/
DMultiTransformation.java33 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) { in transform() argument
37 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight); in transform()
DTransformation.java28 Resource<T> transform(Resource<T> resource, int outWidth, int outHeight); in transform() argument
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DBitmapFactoryTest.java36 assertEquals(100, opts.outHeight); in decodeResourceWithOpts_shouldSetDescription()
76 assertEquals(456, opts.outHeight); in decodeResourceWithOpts_shouldGetWidthAndHeightFromHints()
104 assertEquals(456, options.outHeight); in decodeFileEtc_shouldSetOptionsOutWidthAndOutHeightFromHints()
/external/skia/src/images/
DSkImageDecoder_libgif.cpp438 const int outHeight = workingBitmap->height(); local
440 for (int y = 0; y < outHeight; y++) {
444 for (; y < outHeight; y++) {
451 if (y < outHeight - 1) {
456 int read = (outHeight - 1) * sampler.srcDY() + sampler.srcY0() + 1;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/
DUnitTransformation.java25 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) { in transform() argument
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBitmapFactory.java88 options.outHeight = widthAndHeight.y; in create()
/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c1289 GLsizei outWidth, GLsizei outHeight, in upscale_teximage2d() argument
1296 ASSERT(outHeight >= inHeight); in upscale_teximage2d()
1300 ASSERT((outHeight & 3) == 0); in upscale_teximage2d()
1303 for (i = 0; i < outHeight; i++) { in upscale_teximage2d()
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...