public void setCubicInterpolator(float cx1, float cy1, float cx2, float cy2,
                                     ControlPointCallback callback) {
        mCx1 = cx1;
        mCy1 = cy1;
        mCx2 = cx2;
        mCy2 = cy2;
        mCubicPath = true;
        mQuadraticPath = false;
        mPathCallback = callback;
        setupPathInterpolator();
    }
Sets a cubic PathInterpolator, along with a callback object to update the
UI when these control points are moved by the user.
AnimationsInterpolatorPlayground/app/src/main/java/com/example/android/interpolatorplayground/CurveVisualizer.java