public ImageDecodeOptionsBuilder setFrom(ImageDecodeOptions options) {
    mMinDecodeIntervalMs = options.minDecodeIntervalMs;
    mMaxDimensionPx = options.maxDimensionPx;
    mDecodePreviewFrame = options.decodePreviewFrame;
    mUseLastFrameForPreview = options.useLastFrameForPreview;
    mDecodeAllFrames = options.decodeAllFrames;
    mForceStaticImage = options.forceStaticImage;
    mBitmapConfig = options.bitmapConfig;
    mAnimatedBitmapConfig = options.animatedBitmapConfig;
    mCustomImageDecoder = options.customImageDecoder;
    mBitmapTransformation = options.bitmapTransformation;
    mColorSpace = options.colorSpace;
    return getThis();
  }
Sets the builder to be equivalent to the specified options.

@param options the options to copy from
@return this builder
imagepipeline-base/src/main/java/com/facebook/imagepipeline/common/ImageDecodeOptionsBuilder.java