in vito/options/src/main/java/com/facebook/fresco/vito/options/ImageOptions.java [246:305]
public boolean equals(@Nullable Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) return false;
ImageOptions other = (ImageOptions) obj;
if (mPerfMediaRemountInstrumentationFix) {
if (mPlaceholderRes != other.mPlaceholderRes
|| !Objects.equal(mPlaceholderDrawable, other.mPlaceholderDrawable)
|| !Objects.equal(mPlaceholderScaleType, other.mPlaceholderScaleType)
|| !Objects.equal(mPlaceholderFocusPoint, other.mPlaceholderFocusPoint)
|| mPlaceholderApplyRoundingOptions != other.mPlaceholderApplyRoundingOptions
|| mErrorRes != other.mErrorRes
|| !Objects.equal(mErrorScaleType, other.mErrorScaleType)
|| !Objects.equal(mErrorFocusPoint, other.mErrorFocusPoint)
|| mErrorApplyRoundingOptions != other.mErrorApplyRoundingOptions
|| mOverlayRes != other.mOverlayRes
|| !Objects.equal(mOverlayDrawable, other.mOverlayDrawable)
|| mProgressRes != other.mProgressRes
|| !Objects.equal(mProgressDrawable, other.mProgressDrawable)
|| !Objects.equal(mProgressScaleType, other.mProgressScaleType)
|| !Objects.equal(mActualImageColorFilter, other.mActualImageColorFilter)
|| mResizeToViewport != other.mResizeToViewport
|| mFadeDurationMs != other.mFadeDurationMs
|| mAutoPlay != other.mAutoPlay
|| mAlwaysShowProgressImmediately != other.mAlwaysShowProgressImmediately
|| !Objects.equal(mCustomDrawableFactory, other.mCustomDrawableFactory)
|| mDelayMs != other.mDelayMs
|| !Objects.equal(mErrorDrawable, other.mErrorDrawable)
|| mPerfMediaRemountInstrumentationFix != other.mPerfMediaRemountInstrumentationFix) {
return false;
}
} else {
if (mPlaceholderRes != other.mPlaceholderRes
|| !Objects.equal(mPlaceholderDrawable, other.mPlaceholderDrawable)
|| !Objects.equal(mPlaceholderScaleType, other.mPlaceholderScaleType)
|| !Objects.equal(mPlaceholderFocusPoint, other.mPlaceholderFocusPoint)
|| mPlaceholderApplyRoundingOptions != other.mPlaceholderApplyRoundingOptions
|| mErrorRes != other.mErrorRes
|| !Objects.equal(mErrorScaleType, other.mErrorScaleType)
|| !Objects.equal(mErrorFocusPoint, other.mErrorFocusPoint)
|| mErrorApplyRoundingOptions != other.mErrorApplyRoundingOptions
|| mOverlayRes != other.mOverlayRes
|| !Objects.equal(mOverlayDrawable, other.mOverlayDrawable)
|| mProgressRes != other.mProgressRes
|| mProgressDrawable != other.mProgressDrawable
|| mProgressScaleType != other.mProgressScaleType
|| !Objects.equal(mActualImageColorFilter, other.mActualImageColorFilter)
|| mResizeToViewport != other.mResizeToViewport
|| mFadeDurationMs != other.mFadeDurationMs
|| mAutoPlay != other.mAutoPlay
|| mAlwaysShowProgressImmediately != other.mAlwaysShowProgressImmediately
|| !Objects.equal(mCustomDrawableFactory, other.mCustomDrawableFactory)
|| mDelayMs != other.mDelayMs
|| mErrorDrawable != other.mErrorDrawable) {
return false;
}
}
return equalDecodedOptions(other);
}