public class

DebugControllerOverlayDrawable

extends Drawable
java.lang.Object
   ↳ android.graphics.drawable.Drawable
     ↳ com.facebook.drawee.debug.DebugControllerOverlayDrawable

Class Overview

Drawee Controller overlay that displays debug information.

Summary

Public Constructors
DebugControllerOverlayDrawable()
Public Methods
void draw(Canvas canvas)
int getOpacity()
void reset()
void setAlpha(int alpha)
void setAnimationInfo(int frameCount, int loopCount)
void setColorFilter(ColorFilter cf)
void setControllerId(String controllerId)
void setDimensions(int widthPx, int heightPx)
void setImageFormat(String imageFormat)
void setImageSize(int imageSizeBytes)
void setScaleType(ScalingUtils.ScaleType scaleType)
void setTextGravity(int textGravity)
The text gravity / direction for the debug text.
Protected Methods
void onBoundsChange(Rect bounds)
[Expand]
Inherited Methods
From class android.graphics.drawable.Drawable
From class java.lang.Object

Public Constructors

public DebugControllerOverlayDrawable ()

Public Methods

public void draw (Canvas canvas)

public int getOpacity ()

public void reset ()

public void setAlpha (int alpha)

public void setAnimationInfo (int frameCount, int loopCount)

public void setColorFilter (ColorFilter cf)

public void setControllerId (String controllerId)

public void setDimensions (int widthPx, int heightPx)

public void setImageFormat (String imageFormat)

public void setImageSize (int imageSizeBytes)

Parameters
imageSizeBytes the image size in bytes

public void setScaleType (ScalingUtils.ScaleType scaleType)

public void setTextGravity (int textGravity)

The text gravity / direction for the debug text. Currently supported: BOTTOM and TOP. If bottom is used, the text lines will also be drawn from bottom to top. Default: bottom

Parameters
textGravity the text gravity to use

Protected Methods

protected void onBoundsChange (Rect bounds)