class PopUpCoachMarkPresenter {

    protected int getMarginLeftForNotch(double notchPosition, int popUpWidth, int notchDimen) {
        if (notchPosition > MAX_NOTCH_RANGE) {
            notchPosition = MAX_NOTCH_RANGE;
        }
        if (notchPosition <= MIN_NOTCH_RANGE) {
            notchPosition = MIN_NOTCH_RANGE;
        }

        int marginLeft = (int) (popUpWidth * notchPosition);
        if (marginLeft > popUpWidth - notchDimen) {
            return (popUpWidth - notchDimen);
        }
        return marginLeft;
    }

    public  PopUpCoachMarkPresenter(final IStringResourceProvider stringResourceProvider,
                                   final IDimensionResourceProvider dimensionResourceProvider,
                                   final ITypeFaceProvider typeFaceProvider,
                                   final IScreenInfoProvider screenInfoProvider);

}