public void reset() {
    mWidthPx = -1;
    mHeightPx = -1;
    mImageSizeBytes = -1;
    mAdditionalData = new HashMap<>();
    mFrameCount = -1;
    mLoopCount = -1;
    mImageFormat = null;
    setControllerId(null);
    mFinalImageTimeMs = -1;
    mOriginText = null;
    mOriginColor = TEXT_COLOR;
    invalidateSelf();
  }
Drawee Controller overlay that displays debug information.
drawee/src/main/java/com/facebook/drawee/debug/DebugControllerOverlayDrawable.java