| java.lang.Object | |
| ↳ | com.facebook.imagepipeline.producers.DownsampleUtil |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | DEFAULT_SAMPLE_SIZE | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static int |
determineSampleSize(ImageRequest imageRequest, EncodedImage encodedImage)
Get the factor between the dimensions of the encodedImage (actual image) and the ones of the
imageRequest (requested size).
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Get the factor between the dimensions of the encodedImage (actual image) and the ones of the imageRequest (requested size).
| imageRequest | the request containing the requested dimensions |
|---|---|
| encodedImage | the encoded image with the actual dimensions |