public static TransitionSet createTransitionSet(
      ScalingUtils.ScaleType fromScale,
      ScalingUtils.ScaleType toScale,
      @Nullable PointF fromFocusPoint,
      @Nullable PointF toFocusPoint) {
    TransitionSet transitionSet = new TransitionSet();
    transitionSet.addTransition(new ChangeBounds());
    transitionSet.addTransition(
        new DraweeTransition(fromScale, toScale, fromFocusPoint, toFocusPoint));
    return transitionSet;
  }
This Transition animates changes of {@link GenericDraweeView} between two ScaleTypes

<p>In combination with ChangeBounds, DraweeTransition allows GenericDraweeViews that change size,
shape, or {@link ScalingUtils.ScaleType} to animate contents smoothly.
drawee/src/main/java/com/facebook/drawee/view/DraweeTransition.java