ucrop/src/main/java/com/yalantis/ucrop/view/TransformImageView.java
/**
     * This method changes image sharpness.
     *
     * @param sharpness - sharpness
     */
This method changes image sharpness.
@param sharpness - sharpness
This method changes image sharpness . @param sharpness - sharpness
@TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
    public void postSharpness(float sharpness) {
        mSharpness += sharpness;
        mSharpness = Math.min(5, Math.max(0, mSharpness));
        if (mSharpnessScriptTask != null) {
            mSharpnessScriptTask.cancel(false);
        }
        mSharpnessScriptTask = new SharpnessScriptTask();
        mSharpnessScriptTask.execute(mSharpness);
        mTransformImageListener.onSharpness(mSharpness * 10);
    }
@ TargetApi ( Build . VERSION_CODES . JELLY_BEAN_MR1 ) public void postSharpness ( float sharpness ) { mSharpness += sharpness ; mSharpness = Math . min ( 5 , Math . max ( 0 , mSharpness ) ) ; if ( mSharpnessScriptTask != null ) { mSharpnessScriptTask . cancel ( false ) ; } mSharpnessScriptTask = new SharpnessScriptTask ( ) ; mSharpnessScriptTask . execute ( mSharpness ) ; mTransformImageListener . onSharpness ( mSharpness * 10 ) ; }
This method changes image sharpness.
This method changes image sharpness .