private BoxingViewActivity getThisActivity() {
        Activity activity = getActivity();
        if (activity instanceof BoxingViewActivity) {
            return (BoxingViewActivity) activity;
        }
        return null;
    }
resize the image or not according to size.

@param size the size of image
boxing-impl/src/main/java/com/bilibili/boxing_impl/ui/BoxingRawImageFragment.java