public int hashCode()

in vito/options/src/main/java/com/facebook/fresco/vito/options/ImageOptions.java [308:335]


  public int hashCode() {
    int result = super.hashCode();
    result = 31 * result + mPlaceholderRes;
    result = 31 * result + (mPlaceholderDrawable != null ? mPlaceholderDrawable.hashCode() : 0);
    result = 31 * result + (mPlaceholderScaleType != null ? mPlaceholderScaleType.hashCode() : 0);
    result = 31 * result + (mPlaceholderFocusPoint != null ? mPlaceholderFocusPoint.hashCode() : 0);
    result = 31 * result + (mPlaceholderApplyRoundingOptions ? 1 : 0);
    result = 31 * result + mErrorRes;
    result = 31 * result + (mErrorScaleType != null ? mErrorScaleType.hashCode() : 0);
    result = 31 * result + (mErrorFocusPoint != null ? mErrorFocusPoint.hashCode() : 0);
    result = 31 * result + (mErrorDrawable != null ? mErrorDrawable.hashCode() : 0);
    result = 31 * result + (mErrorApplyRoundingOptions ? 1 : 0);
    result = 31 * result + mOverlayRes;
    result = 31 * result + (mOverlayDrawable != null ? mOverlayDrawable.hashCode() : 0);
    result = 31 * result + (mProgressDrawable != null ? mProgressDrawable.hashCode() : 0);
    result = 31 * result + (mProgressScaleType != null ? mProgressScaleType.hashCode() : 0);
    result =
        31 * result + (mActualImageColorFilter != null ? mActualImageColorFilter.hashCode() : 0);
    result = 31 * result + (mResizeToViewport ? 1 : 0);
    result = 31 * result + mFadeDurationMs;
    result = 31 * result + (mAutoPlay ? 1 : 0);
    result = 31 * result + (mAlwaysShowProgressImmediately ? 1 : 0);
    result = 31 * result + (mPerfMediaRemountInstrumentationFix ? 1 : 0);
    result = 31 * result + mProgressRes;
    result = 31 * result + (mCustomDrawableFactory != null ? mCustomDrawableFactory.hashCode() : 0);
    result = 31 * result + mDelayMs;
    return result;
  }