Lines Matching refs:Drawable
18 import android.graphics.drawable.Drawable
28 override fun getIcon(drawableId: String?): NowOrLater<Drawable?>? { in getIcon()
31 return Now<Drawable>(null) in getIcon()
34 var drawableState: NowOrLater<Drawable.ConstantState?>? in getIcon()
43 return object : NowOrLaterWrapper<Drawable.ConstantState?, Drawable?>(drawableState!!) { in getIcon()
45 override operator fun get(value: Drawable.ConstantState?): Drawable? { in getIcon()
50 val drawable: NowOrLater<Drawable?>? = mWrapped.getIcon(drawableId) in getIcon()
61 private fun queryCache(drawableId: String?): NowOrLater<Drawable.ConstantState?>? { in queryCache()
76 private class Entry : CachedLater<Drawable.ConstantState?>(), Consumer<Drawable?> {
77 private var mDrawable: NowOrLater<Drawable?>? = null
82 fun set(drawable: NowOrLater<Drawable?>?) { in set()
104 val drawable: NowOrLater<Drawable?>? = mDrawable
109 override fun consume(value: Drawable?): Boolean { in consume()