@Override
  protected void onSizeChanged(int w, int h, int oldw, int oldh) {
    super.onSizeChanged(w, h, oldw, oldh);
    mSizeChanged = oldw > 0 && oldh > 0;
  }
Detect size change to handle auto-zoom using {@link #handleCropWindowChanged(boolean, boolean)}
in {@link #layout(int, int, int, int)}.
core/src/main/java/com/theartofdev/edmodo/cropper/CropImageView.java