ComparableDrawableWrapper

Comparable Drawable Wrapper delegates all calls to its wrapped Drawable.

The wrapped Drawablemust be fully released from any View before wrapping, otherwise internal Drawable.Callback may be dropped.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clearColorFilter()
Link copied to clipboard
fun copyBounds(bounds: Rect)
Link copied to clipboard
open fun createFromPath(pathName: String): Drawable
Link copied to clipboard
Link copied to clipboard
open fun createFromStream(is: InputStream, srcName: String): Drawable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun draw(canvas: Canvas)
Link copied to clipboard
open fun getAlpha(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCurrent(): Drawable
Link copied to clipboard
open fun getDirtyBounds(): Rect
Link copied to clipboard
open fun getHotspotBounds(outRect: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getLevel(): Int
Link copied to clipboard
open fun getMinimumHeight(): Int
Link copied to clipboard
open fun getMinimumWidth(): Int
Link copied to clipboard
open fun getOpacity(): Int
Link copied to clipboard
Link copied to clipboard
open fun getOutline(outline: Outline)
Link copied to clipboard
open fun getPadding(padding: Rect): Boolean
Link copied to clipboard
open fun getState(): Array<Int>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun inflate(r: Resources, parser: XmlPullParser, attrs: AttributeSet)
Link copied to clipboard
open fun invalidateDrawable(drawable: Drawable)
Link copied to clipboard
open fun invalidateSelf()
Link copied to clipboard
Link copied to clipboard
abstract fun isEquivalentTo(p: T): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isProjected(): Boolean
Link copied to clipboard
open fun isStateful(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun mutate(): Drawable
Link copied to clipboard
open fun onLayoutDirectionChanged(layoutDirection: Int): Boolean
Link copied to clipboard
open fun resolveOpacity(op1: Int, op2: Int): Int
Link copied to clipboard
open fun scheduleDrawable(drawable: Drawable, runnable: Runnable, l: Long)
Link copied to clipboard
open fun scheduleSelf(what: Runnable, when: Long)
Link copied to clipboard
open fun setAlpha(alpha: Int)
Link copied to clipboard
open fun setAutoMirrored(mirrored: Boolean)
Link copied to clipboard
open fun setBounds(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
Link copied to clipboard
open fun setChangingConfigurations(configs: Int)
Link copied to clipboard
open fun setColorFilter(@Nullable filter: ColorFilter)
Link copied to clipboard
open fun setDither(dither: Boolean)
Link copied to clipboard
open fun setFilterBitmap(filter: Boolean)
Link copied to clipboard
open fun setHotspot(x: Float, y: Float)
Link copied to clipboard
open fun setHotspotBounds(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
fun setLayoutDirection(layoutDirection: Int): Boolean
Link copied to clipboard
fun setLevel(level: Int): Boolean
Link copied to clipboard
open fun setState(state: Array<Int>): Boolean
Link copied to clipboard
open fun setTint(tint: Int)
Link copied to clipboard
open fun setTintBlendMode(blendMode: BlendMode)
Link copied to clipboard
open fun setTintList(tint: ColorStateList)
Link copied to clipboard
Link copied to clipboard
open fun setVisible(visible: Boolean, restart: Boolean): Boolean
Link copied to clipboard
open fun setWrappedDrawable(drawable: Drawable)
Link copied to clipboard
open fun unscheduleDrawable(drawable: Drawable, runnable: Runnable)
Link copied to clipboard
open fun unscheduleSelf(what: Runnable)