Home
last modified time | relevance | path

Searched refs:outWidth (Results 1 – 15 of 15) 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()
46 …throw new IllegalArgumentException("Cannot apply transformation on width: " + outWidth + " or heig… in transform()
50 Bitmap transformed = transform(bitmapPool, toTransform, outWidth, outHeight); in transform()
74 …protected abstract Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeig… 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 …private int getRoundedSampleSize(int degreesToRotate, int inWidth, int inHeight, int outWidth, int… 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 …public Bitmap decode(ParcelFileDescriptor resource, BitmapPool bitmapPool, int outWidth, int outHe… in decode() argument
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
DGifBitmapWrapperTransformation.java30 …public Resource<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int… 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 …public 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.java35 assertEquals(100, opts.outWidth); in decodeResourceWithOpts_shouldSetDescription()
75 assertEquals(123, opts.outWidth); in decodeResourceWithOpts_shouldGetWidthAndHeightFromHints()
103 assertEquals(123, options.outWidth); in decodeFileEtc_shouldSetOptionsOutWidthAndOutHeightFromHints()
/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.java87 options.outWidth = widthAndHeight.x; in create()
/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c1289 GLsizei outWidth, GLsizei outHeight, in upscale_teximage2d() argument
1295 ASSERT(outWidth >= inWidth); in upscale_teximage2d()
1299 ASSERT((outWidth & 3) == 0); in upscale_teximage2d()
1305 for (j = 0; j < outWidth; j++) { in upscale_teximage2d()
1308 dest[(i * outWidth + j) * comps + k] in upscale_teximage2d()
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...