private Extras obtainExtras(
      @Nullable Map<String, Object> datasourceExtras,
      @Nullable Map<String, Object> imageExtras,
      @Nullable Uri mainUri) {
    ScalingUtils.ScaleType scaleType = null;
    PointF focusPoint = null;
    final SettableDraweeHierarchy hierarchy = mSettableDraweeHierarchy;
    if (hierarchy instanceof GenericDraweeHierarchy) {
      scaleType = ((GenericDraweeHierarchy) hierarchy).getActualImageScaleType();
      focusPoint = ((GenericDraweeHierarchy) hierarchy).getActualImageFocusPoint();
    }
    return MiddlewareUtils.obtainExtras(
        COMPONENT_EXTRAS,
        SHORTCUT_EXTRAS,
        datasourceExtras,
        null,
        getDimensions(),
        scaleType,
        focusPoint,
        imageExtras,
        getCallerContext(),
        isLogWithHighSamplingRate(),
        mainUri);
  }
Returns whether the gesture should be handled by the controller
drawee/src/main/java/com/facebook/drawee/controller/AbstractDraweeController.java