class PopUpCoachMarkPresenter {

    protected boolean checkIfRightPossible(Point viewCenterPoint,
                                         CoachMarkPixelInfo coachMarkDimenInPixel) {
        int centerX = viewCenterPoint.x;
        return (coachMarkDimenInPixel.getPopUpWidthInPixelsWithOffset()) <=
                (coachMarkDimenInPixel.getScreenWidthInPixels() - 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);

}