public T setMaxDimensionPx(int maxDimensionPx) {
    mMaxDimensionPx = maxDimensionPx;
    return getThis();
  }
Sets the maximum image dimension (width or height).

@param maxDimensionPx the maximum image dimension in pixels
@return this builder
imagepipeline-base/src/main/java/com/facebook/imagepipeline/common/ImageDecodeOptionsBuilder.java