public void setAnimationInfo(int frameCount, int loopCount) {
    mFrameCount = frameCount;
    mLoopCount = loopCount;
    invalidateSelf();
  }
The text gravity / direction for the debug text. Currently supported: {@link Gravity#BOTTOM}
and {@link Gravity#TOP}. If bottom is used, the text lines will also be drawn from bottom to
top. Default: bottom

@param textGravity the text gravity to use
drawee/src/main/java/com/facebook/drawee/debug/DebugControllerOverlayDrawable.java