public class DebugOverlayDrawable extends Drawable implements ComparableDrawable
#mainThreadCalculations
draws a row of columns starting from
the top left corner with text representing the number of columns. Add overlay color within
drawing bounds.Constructor and Description |
---|
DebugOverlayDrawable(List<Boolean> isLayoutCalculatedOnMainThread) |
Modifier and Type | Method and Description |
---|---|
void |
draw(Canvas canvas) |
boolean |
equals(Object obj) |
int |
getOpacity() |
int |
hashCode() |
boolean |
isEquivalentTo(ComparableDrawable other) |
void |
setAlpha(int alpha) |
void |
setColorFilter(ColorFilter cf) |
public void draw(Canvas canvas)
public void setAlpha(int alpha)
public void setColorFilter(ColorFilter cf)
public int getOpacity()
public int hashCode()
public boolean equals(Object obj)
public boolean isEquivalentTo(ComparableDrawable other)
isEquivalentTo
in interface ComparableDrawable
other
- The other drawabletrue
iff this drawable is equivalent to the .