private int findFirstProducerForSize(int startIndex, @Nullable ResizeOptions resizeOptions) {
    for (int i = startIndex; i < mThumbnailProducers.length; i++) {
      if (mThumbnailProducers[i].canProvideImageForSize(resizeOptions)) {
        return i;
      }
    }

    return -1;
  }
Producer that will attempt to retrieve a thumbnail from one or more producers.

<p>The producer will try to get a result from each producer only if there is a good chance of it
being able to produce a sufficient result.

<p>If no underlying producer can provide a suitable result, null result is returned to the
consumer
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/ThumbnailBranchProducer.java