class PopUpCoachMarkPresenter {

    protected boolean checkIfLeftPossible(Point viewCenterPoint,
                                        CoachMarkPixelInfo coachMarkDimenInPixel) {
        int centerX = viewCenterPoint.x;
        return (coachMarkDimenInPixel.getPopUpWidthInPixelsWithOffset()) < centerX &&
                ((coachMarkDimenInPixel.getPopUpHeightInPixelsWithOffset() +
                        coachMarkDimenInPixel.getMarginRectInPixels().top +
                        coachMarkDimenInPixel.getActionBarHeightPixels() +
                        coachMarkDimenInPixel.getFooterHeightPixels() +
                        coachMarkDimenInPixel.getMarginRectInPixels().bottom)
                        <= coachMarkDimenInPixel.getScreenHeightInPixels());
    }

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

}