Decoder

Created by svennahler on 12.01.17.

abstract class Decoder

Constructors

Decoder
Link copied to clipboard
open fun Decoder(resources: Resources, resourceId: Int)
Decoder
Link copied to clipboard
open fun Decoder(resources: Resources, uri: Uri)
Decoder
Link copied to clipboard
open fun Decoder()

Functions

createCache
Link copied to clipboard
open fun createCache(uri: Uri)
fixExifRotation
Link copied to clipboard
open fun fixExifRotation()
getBitmap
Link copied to clipboard
abstract fun getBitmap(slice: MultiRect, sampleSize: Int): Bitmap
abstract fun getBitmap(bounds: RectF, region: RectF): Bitmap
abstract fun getBitmap(boundsWidth: Int, boundsHeight: Int, fitIntoBounds: Boolean, state: DrawableState): Bitmap
getDrawable
Link copied to clipboard
abstract fun getDrawable(): Drawable
getInputStream
Link copied to clipboard
open fun getInputStream(): InputStream
open fun getInputStream(uri: Uri): InputStream
getRotation
Link copied to clipboard
open fun getRotation(): Int
getSize
Link copied to clipboard
fun getSize(): ImageSize
getStateList
Link copied to clipboard
open fun getStateList(): Array<DrawableState>
getUncachedInputStream
Link copied to clipboard
open fun getUncachedInputStream(uri: Uri): InputStream
invalidateSize
Link copied to clipboard
fun invalidateSize()
isStateful
Link copied to clipboard
open fun isStateful(): Boolean
isVector
Link copied to clipboard
abstract fun isVector(): Boolean
recycle
Link copied to clipboard
open fun recycle()
resourceToUri
Link copied to clipboard
open fun resourceToUri(resources: Resources, resID: Int): Uri

Properties

ENABLE_HARD_CACHE
Link copied to clipboard
open val ENABLE_HARD_CACHE: Boolean
uri
Link copied to clipboard
private open val uri: Uri