DebugOverlay

class DebugOverlay(isMainThreadLayouts: List<Boolean>) : Drawable

Draws a row of rectangles starting from the top left corner; the number of rectangles represents the number resolves. If the rectangle is red is color then that resolved results was calculated on the main thread. If the overlay is red in color then the most recent layout was on the main thread. The debug overlay tracks layout history, but doesn't show it on the overlay.

Constructors

Link copied to clipboard
constructor(isMainThreadLayouts: List<Boolean>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clearColorFilter()
Link copied to clipboard
Link copied to clipboard
open override 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(p0: 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 override fun getOpacity(): Int
Link copied to clipboard
Link copied to clipboard
open fun getOutline(p0: Outline)
Link copied to clipboard
open fun getPadding(p0: Rect): Boolean
Link copied to clipboard
open fun getState(): IntArray
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun invalidateSelf()
Link copied to clipboard
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
Link copied to clipboard
open fun scheduleSelf(p0: Runnable, p1: Long)
Link copied to clipboard
open override fun setAlpha(alpha: Int)
Link copied to clipboard
open fun setAutoMirrored(p0: Boolean)
Link copied to clipboard
open fun setBounds(p0: Rect)
open fun setBounds(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun setColorFilter(cf: ColorFilter?)
Link copied to clipboard
open fun setDither(p0: Boolean)
Link copied to clipboard
open fun setFilterBitmap(p0: Boolean)
Link copied to clipboard
open fun setHotspot(p0: Float, p1: Float)
Link copied to clipboard
open fun setHotspotBounds(p0: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
fun setLevel(p0: Int): Boolean
Link copied to clipboard
open fun setState(p0: IntArray): Boolean
Link copied to clipboard
open fun setTint(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setVisible(p0: Boolean, p1: Boolean): Boolean
Link copied to clipboard
open fun unscheduleSelf(p0: Runnable)