test_class.declarator: mCoachMarkBuilder
test_class.modifier: @Mock
test_class.original_string: @Mock
      CoachMarkBuilder mCoachMarkBuilder;
test_class.type: CoachMarkBuilder
test_class.var_name: mCoachMarkBuilder
test_class.declarator: mPopUpCoachMarkPresentation
test_class.modifier: @Mock
test_class.original_string: @Mock
      IPopUpCoachMarkPresentation mPopUpCoachMarkPresentation;
test_class.type: IPopUpCoachMarkPresentation
test_class.var_name: mPopUpCoachMarkPresentation
test_class.declarator: mStringResourceProvider
test_class.modifier: @Mock
test_class.original_string: @Mock
      IStringResourceProvider mStringResourceProvider;
test_class.type: IStringResourceProvider
test_class.var_name: mStringResourceProvider
test_class.declarator: mDimensionResourceProvider
test_class.modifier: @Mock
test_class.original_string: @Mock
      IDimensionResourceProvider mDimensionResourceProvider;
test_class.type: IDimensionResourceProvider
test_class.var_name: mDimensionResourceProvider
test_class.declarator: mScreenInfoProvider
test_class.modifier: @Mock
test_class.original_string: @Mock
      IScreenInfoProvider mScreenInfoProvider;
test_class.type: IScreenInfoProvider
test_class.var_name: mScreenInfoProvider
test_class.declarator: mTypeFaceProvider
test_class.modifier: @Mock
test_class.original_string: @Mock
      ITypeFaceProvider mTypeFaceProvider;
test_class.type: ITypeFaceProvider
test_class.var_name: mTypeFaceProvider
test_class.declarator: mockedStringRes
test_class.modifier: @Mock
      @StringRes
test_class.original_string: @Mock
      @StringRes
      int mockedStringRes;
test_class.type: int
test_class.var_name: mockedStringRes
test_class.declarator: mockedColorRes
test_class.modifier: @Mock
      @ColorRes
test_class.original_string: @Mock
      @ColorRes
      int mockedColorRes;
test_class.type: int
test_class.var_name: mockedColorRes
test_class.declarator: mockedDrawableRes
test_class.modifier: @Mock
      @DrawableRes
test_class.original_string: @Mock
      @DrawableRes
      int mockedDrawableRes;
test_class.type: int
test_class.var_name: mockedDrawableRes
test_class.declarator: mCoachMarkLayoutMargin
test_class.modifier: @Mock
test_class.original_string: @Mock
      CoachMarkLayoutMargin mCoachMarkLayoutMargin;
test_class.type: CoachMarkLayoutMargin
test_class.var_name: mCoachMarkLayoutMargin
test_class.declarator: mImageLayoutInformation
test_class.modifier: @Mock
test_class.original_string: @Mock
      ImageLayoutInformation mImageLayoutInformation;
test_class.type: ImageLayoutInformation
test_class.var_name: mImageLayoutInformation
test_class.declarator: mockedDimenRes
test_class.modifier: @Mock
      @DimenRes
test_class.original_string: @Mock
      @DimenRes
      int mockedDimenRes;
test_class.type: int
test_class.var_name: mockedDimenRes
test_class.declarator: mPopUpCoachMarkPresenter
test_class.modifier: private
test_class.original_string: private PopUpCoachMarkPresenter mPopUpCoachMarkPresenter;
test_class.type: PopUpCoachMarkPresenter
test_class.var_name: mPopUpCoachMarkPresenter
test_class.declarator: mCoachMarkPixelInfo
test_class.modifier: private
test_class.original_string: private CoachMarkPixelInfo mCoachMarkPixelInfo;
test_class.type: CoachMarkPixelInfo
test_class.var_name: mCoachMarkPixelInfo
test_class.file: coachmarks/src/test/java/com/myntra/coachmarks/ui/presenter/PopUpCoachMarkPresenterTest.java
test_class.identifier: PopUpCoachMarkPresenterTest
test_case.body: @Test
      public void showCoachMarkPositionTopTest(){
          mPopUpCoachMarkPresenter.showCoachMark(DialogDismissButtonPosition.LEFT, PopUpPosition.TOP);
  
          Mockito.verify(mPopUpCoachMarkPresentation, Mockito.times(1)).
                  setPopUpViewPositionWithRespectToImage(CoachMarkAlignPosition.ALIGN_BOTTOM);
          Mockito.verify(mPopUpCoachMarkPresentation, Mockito.times(1))
                  .setDismissButtonPositionLeft();
          Mockito.verifyNoMoreInteractions(mPopUpCoachMarkPresentation);
      }
test_case.class_method_signature: PopUpCoachMarkPresenterTest.showCoachMarkPositionTopTest()
test_case.full_signature: @Test public void showCoachMarkPositionTopTest()
test_case.identifier: showCoachMarkPositionTopTest
test_case.invocations: showCoachMark setPopUpViewPositionWithRespectToImage verify times setDismissButtonPositionLeft verify times verifyNoMoreInteractions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void showCoachMarkPositionTopTest()
focal_class.declarator: TAG = PopUpCoachMarkPresenter.class.getSimpleName()
focal_class.modifier: private static final
focal_class.original_string: private static final String TAG = PopUpCoachMarkPresenter.class.getSimpleName();
focal_class.type: String
focal_class.var_name: TAG
focal_class.declarator: MAX_NOTCH_RANGE = .85
focal_class.modifier: private static final
focal_class.original_string: private static final double MAX_NOTCH_RANGE = .85;
focal_class.type: double
focal_class.var_name: MAX_NOTCH_RANGE
focal_class.declarator: MIN_NOTCH_RANGE = 0.0
focal_class.modifier: private static final
focal_class.original_string: private static final double MIN_NOTCH_RANGE = 0.0;
focal_class.type: double
focal_class.var_name: MIN_NOTCH_RANGE
focal_class.declarator: NO_MARGIN = 0
focal_class.modifier: private static final
focal_class.original_string: private static final int NO_MARGIN = 0;
focal_class.type: int
focal_class.var_name: NO_MARGIN
focal_class.declarator: ROTATION_0 = 0
focal_class.modifier: private static final
focal_class.original_string: private static final float ROTATION_0 = 0;
focal_class.type: float
focal_class.var_name: ROTATION_0
focal_class.declarator: ROTATION_90 = 90
focal_class.modifier: private static final
focal_class.original_string: private static final float ROTATION_90 = 90;
focal_class.type: float
focal_class.var_name: ROTATION_90
focal_class.declarator: ROTATION_180 = 180
focal_class.modifier: private static final
focal_class.original_string: private static final float ROTATION_180 = 180;
focal_class.type: float
focal_class.var_name: ROTATION_180
focal_class.declarator: ROTATION_270 = 270
focal_class.modifier: private static final
focal_class.original_string: private static final float ROTATION_270 = 270;
focal_class.type: float
focal_class.var_name: ROTATION_270
focal_class.declarator: MULTIPLICATION_FACTOR_NOTCH_POSITION = 1.8
focal_class.modifier: private static final
focal_class.original_string: private static final double MULTIPLICATION_FACTOR_NOTCH_POSITION = 1.8;
focal_class.type: double
focal_class.var_name: MULTIPLICATION_FACTOR_NOTCH_POSITION
focal_class.declarator: MULTIPLICATION_FACTOR_FOR_NOTCH_UI_ADJUSTMENT_BOTTOM = 2.9
focal_class.modifier: private static final
focal_class.original_string: private static final double MULTIPLICATION_FACTOR_FOR_NOTCH_UI_ADJUSTMENT_BOTTOM = 2.9;
focal_class.type: double
focal_class.var_name: MULTIPLICATION_FACTOR_FOR_NOTCH_UI_ADJUSTMENT_BOTTOM
focal_class.declarator: MULTIPLICATION_FACTOR_FOR_UI_ADJUSTMENT_RIGHT = 0.4
focal_class.modifier: private static final
focal_class.original_string: private static final double MULTIPLICATION_FACTOR_FOR_UI_ADJUSTMENT_RIGHT = 0.4;
focal_class.type: double
focal_class.var_name: MULTIPLICATION_FACTOR_FOR_UI_ADJUSTMENT_RIGHT
focal_class.declarator: PIXEL_ADJUSTMENT_NOTCH = 0.5
focal_class.modifier: private static final
focal_class.original_string: private static final double PIXEL_ADJUSTMENT_NOTCH = 0.5;
focal_class.type: double
focal_class.var_name: PIXEL_ADJUSTMENT_NOTCH
focal_class.declarator: mCoachMarkBuilder
focal_class.modifier: private
focal_class.original_string: private CoachMarkBuilder mCoachMarkBuilder;
focal_class.type: CoachMarkBuilder
focal_class.var_name: mCoachMarkBuilder
focal_class.declarator: mPresentation
focal_class.modifier: private
focal_class.original_string: private IPopUpCoachMarkPresentation mPresentation;
focal_class.type: IPopUpCoachMarkPresentation
focal_class.var_name: mPresentation
focal_class.declarator: mTypeFaceProvider
focal_class.modifier: private
focal_class.original_string: private ITypeFaceProvider mTypeFaceProvider;
focal_class.type: ITypeFaceProvider
focal_class.var_name: mTypeFaceProvider
focal_class.declarator: mScreenInfoProvider
focal_class.modifier: private
focal_class.original_string: private IScreenInfoProvider mScreenInfoProvider;
focal_class.type: IScreenInfoProvider
focal_class.var_name: mScreenInfoProvider
focal_class.declarator: mStringResourceProvider
focal_class.modifier: private
focal_class.original_string: private IStringResourceProvider mStringResourceProvider;
focal_class.type: IStringResourceProvider
focal_class.var_name: mStringResourceProvider
focal_class.declarator: mDimensionResourceProvider
focal_class.modifier: private
focal_class.original_string: private IDimensionResourceProvider mDimensionResourceProvider;
focal_class.type: IDimensionResourceProvider
focal_class.var_name: mDimensionResourceProvider
focal_class.file: coachmarks/src/main/java/com/myntra/coachmarks/ui/presenter/PopUpCoachMarkPresenter.java
focal_class.identifier: PopUpCoachMarkPresenter
focal_class.class_method_signature: PopUpCoachMarkPresenter.PopUpCoachMarkPresenter(final IStringResourceProvider stringResourceProvider,
                                     final IDimensionResourceProvider dimensionResourceProvider,
                                     final ITypeFaceProvider typeFaceProvider,
                                     final IScreenInfoProvider screenInfoProvider)
focal_class.full_signature: public  PopUpCoachMarkPresenter(final IStringResourceProvider stringResourceProvider,
                                     final IDimensionResourceProvider dimensionResourceProvider,
                                     final ITypeFaceProvider typeFaceProvider,
                                     final IScreenInfoProvider screenInfoProvider)
focal_class.identifier: PopUpCoachMarkPresenter
focal_class.modifiers: public
focal_class.parameters: (final IStringResourceProvider stringResourceProvider,
                                     final IDimensionResourceProvider dimensionResourceProvider,
                                     final ITypeFaceProvider typeFaceProvider,
                                     final IScreenInfoProvider screenInfoProvider)
focal_class.signature:  PopUpCoachMarkPresenter(final IStringResourceProvider stringResourceProvider,
                                     final IDimensionResourceProvider dimensionResourceProvider,
                                     final ITypeFaceProvider typeFaceProvider,
                                     final IScreenInfoProvider screenInfoProvider)
focal_class.class_method_signature: PopUpCoachMarkPresenter.onCreate(CoachMarkBuilder coachMarkBuilder)
focal_class.full_signature: public void onCreate(CoachMarkBuilder coachMarkBuilder)
focal_class.identifier: onCreate
focal_class.modifiers: public
focal_class.parameters: (CoachMarkBuilder coachMarkBuilder)
focal_class.return: void
focal_class.signature: void onCreate(CoachMarkBuilder coachMarkBuilder)
focal_class.class_method_signature: PopUpCoachMarkPresenter.onCreateView(IPopUpCoachMarkPresentation popUpCoachMarkPresentation)
focal_class.full_signature: public void onCreateView(IPopUpCoachMarkPresentation popUpCoachMarkPresentation)
focal_class.identifier: onCreateView
focal_class.modifiers: public
focal_class.parameters: (IPopUpCoachMarkPresentation popUpCoachMarkPresentation)
focal_class.return: void
focal_class.signature: void onCreateView(IPopUpCoachMarkPresentation popUpCoachMarkPresentation)
focal_class.class_method_signature: PopUpCoachMarkPresenter.onViewCreated()
focal_class.full_signature: public void onViewCreated()
focal_class.identifier: onViewCreated
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onViewCreated()
focal_class.class_method_signature: PopUpCoachMarkPresenter.onDestroyView()
focal_class.full_signature: public void onDestroyView()
focal_class.identifier: onDestroyView
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onDestroyView()
focal_class.class_method_signature: PopUpCoachMarkPresenter.onDestroy()
focal_class.full_signature: public void onDestroy()
focal_class.identifier: onDestroy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onDestroy()
focal_class.class_method_signature: PopUpCoachMarkPresenter.onOkButtonClicked()
focal_class.full_signature: public void onOkButtonClicked()
focal_class.identifier: onOkButtonClicked
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onOkButtonClicked()
focal_class.class_method_signature: PopUpCoachMarkPresenter.onShimClicked()
focal_class.full_signature: public void onShimClicked()
focal_class.identifier: onShimClicked
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onShimClicked()
focal_class.class_method_signature: PopUpCoachMarkPresenter.displayCoachMark()
focal_class.full_signature: protected void displayCoachMark()
focal_class.identifier: displayCoachMark
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void displayCoachMark()
focal_class.class_method_signature: PopUpCoachMarkPresenter.setMessageForCoachMarkText(@StringRes int messageForCoachMarkTextRes)
focal_class.full_signature: protected void setMessageForCoachMarkText(@StringRes int messageForCoachMarkTextRes)
focal_class.identifier: setMessageForCoachMarkText
focal_class.modifiers: protected
focal_class.parameters: (@StringRes int messageForCoachMarkTextRes)
focal_class.return: void
focal_class.signature: void setMessageForCoachMarkText(@StringRes int messageForCoachMarkTextRes)
focal_class.class_method_signature: PopUpCoachMarkPresenter.setTypeFaceForDismissButton(@Nullable String fontFileForDismissButton)
focal_class.full_signature: protected void setTypeFaceForDismissButton(@Nullable String fontFileForDismissButton)
focal_class.identifier: setTypeFaceForDismissButton
focal_class.modifiers: protected
focal_class.parameters: (@Nullable String fontFileForDismissButton)
focal_class.return: void
focal_class.signature: void setTypeFaceForDismissButton(@Nullable String fontFileForDismissButton)
focal_class.class_method_signature: PopUpCoachMarkPresenter.setTypeFaceForCoachMarkText(@Nullable String fontFileForPopUpText)
focal_class.full_signature: protected void setTypeFaceForCoachMarkText(@Nullable String fontFileForPopUpText)
focal_class.identifier: setTypeFaceForCoachMarkText
focal_class.modifiers: protected
focal_class.parameters: (@Nullable String fontFileForPopUpText)
focal_class.return: void
focal_class.signature: void setTypeFaceForCoachMarkText(@Nullable String fontFileForPopUpText)
focal_class.class_method_signature: PopUpCoachMarkPresenter.setGravityForCoachMarkText(int textAlignmentForPopUpText)
focal_class.full_signature: protected void setGravityForCoachMarkText(int textAlignmentForPopUpText)
focal_class.identifier: setGravityForCoachMarkText
focal_class.modifiers: protected
focal_class.parameters: (int textAlignmentForPopUpText)
focal_class.return: void
focal_class.signature: void setGravityForCoachMarkText(int textAlignmentForPopUpText)
focal_class.class_method_signature: PopUpCoachMarkPresenter.setNotchDisplayEdge(int position,
                                       int anchorTopY,
                                       int anchorBottomY,
                                       int anchorTopX,
                                       CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.full_signature: protected void setNotchDisplayEdge(int position,
                                       int anchorTopY,
                                       int anchorBottomY,
                                       int anchorTopX,
                                       CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.identifier: setNotchDisplayEdge
focal_class.modifiers: protected
focal_class.parameters: (int position,
                                       int anchorTopY,
                                       int anchorBottomY,
                                       int anchorTopX,
                                       CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.return: void
focal_class.signature: void setNotchDisplayEdge(int position,
                                       int anchorTopY,
                                       int anchorBottomY,
                                       int anchorTopX,
                                       CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.class_method_signature: PopUpCoachMarkPresenter.getMarginLeftForNotch(double notchPosition, int popUpWidth, int notchDimen)
focal_class.full_signature: protected int getMarginLeftForNotch(double notchPosition, int popUpWidth, int notchDimen)
focal_class.identifier: getMarginLeftForNotch
focal_class.modifiers: protected
focal_class.parameters: (double notchPosition, int popUpWidth, int notchDimen)
focal_class.return: int
focal_class.signature: int getMarginLeftForNotch(double notchPosition, int popUpWidth, int notchDimen)
focal_class.class_method_signature: PopUpCoachMarkPresenter.getMarginTopForNotch(double notchPosition, int popUpHeight, int notchDimen)
focal_class.full_signature: protected int getMarginTopForNotch(double notchPosition, int popUpHeight, int notchDimen)
focal_class.identifier: getMarginTopForNotch
focal_class.modifiers: protected
focal_class.parameters: (double notchPosition, int popUpHeight, int notchDimen)
focal_class.return: int
focal_class.signature: int getMarginTopForNotch(double notchPosition, int popUpHeight, int notchDimen)
focal_class.class_method_signature: PopUpCoachMarkPresenter.detectAndCreateShimOutViews(@Nullable List<InfoForViewToMask> infoForViewToMaskList)
focal_class.full_signature: protected void detectAndCreateShimOutViews(@Nullable List<InfoForViewToMask> infoForViewToMaskList)
focal_class.identifier: detectAndCreateShimOutViews
focal_class.modifiers: protected
focal_class.parameters: (@Nullable List<InfoForViewToMask> infoForViewToMaskList)
focal_class.return: void
focal_class.signature: void detectAndCreateShimOutViews(@Nullable List<InfoForViewToMask> infoForViewToMaskList)
focal_class.class_method_signature: PopUpCoachMarkPresenter.findCoachMarkTextPopUpDisplayPosition(Point anchorTop,
                                                        Point anchorBottom,
                                                        @PopUpPosition int defaultPopUpPosition,
                                                        CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.full_signature: @PopUpPosition protected int findCoachMarkTextPopUpDisplayPosition(Point anchorTop,
                                                        Point anchorBottom,
                                                        @PopUpPosition int defaultPopUpPosition,
                                                        CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.identifier: findCoachMarkTextPopUpDisplayPosition
focal_class.modifiers: @PopUpPosition protected
focal_class.parameters: (Point anchorTop,
                                                        Point anchorBottom,
                                                        @PopUpPosition int defaultPopUpPosition,
                                                        CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.return: int
focal_class.signature: int findCoachMarkTextPopUpDisplayPosition(Point anchorTop,
                                                        Point anchorBottom,
                                                        @PopUpPosition int defaultPopUpPosition,
                                                        CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.class_method_signature: PopUpCoachMarkPresenter.setImageParamsAndPosition(Point anchorTop, Point anchorBottom,
                                             int imageWidth, int imageHeight,
                                             @ColorRes int backGroundTintForImage,
                                             @DrawableRes int imageDrawableRes)
focal_class.full_signature: protected void setImageParamsAndPosition(Point anchorTop, Point anchorBottom,
                                             int imageWidth, int imageHeight,
                                             @ColorRes int backGroundTintForImage,
                                             @DrawableRes int imageDrawableRes)
focal_class.identifier: setImageParamsAndPosition
focal_class.modifiers: protected
focal_class.parameters: (Point anchorTop, Point anchorBottom,
                                             int imageWidth, int imageHeight,
                                             @ColorRes int backGroundTintForImage,
                                             @DrawableRes int imageDrawableRes)
focal_class.return: void
focal_class.signature: void setImageParamsAndPosition(Point anchorTop, Point anchorBottom,
                                             int imageWidth, int imageHeight,
                                             @ColorRes int backGroundTintForImage,
                                             @DrawableRes int imageDrawableRes)
focal_class.class_method_signature: PopUpCoachMarkPresenter.showCoachMark(@DialogDismissButtonPosition int dismissButtonPosition,
                                 @PopUpPosition int popUpPosition)
focal_class.full_signature: protected void showCoachMark(@DialogDismissButtonPosition int dismissButtonPosition,
                                 @PopUpPosition int popUpPosition)
focal_class.identifier: showCoachMark
focal_class.modifiers: protected
focal_class.parameters: (@DialogDismissButtonPosition int dismissButtonPosition,
                                 @PopUpPosition int popUpPosition)
focal_class.return: void
focal_class.signature: void showCoachMark(@DialogDismissButtonPosition int dismissButtonPosition,
                                 @PopUpPosition int popUpPosition)
focal_class.class_method_signature: PopUpCoachMarkPresenter.getDisplayPosition(Point viewCenterPoint,
                                     @PopUpPosition int defaultPopUpPosition,
                                     CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.full_signature: @PopUpPosition protected int getDisplayPosition(Point viewCenterPoint,
                                     @PopUpPosition int defaultPopUpPosition,
                                     CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.identifier: getDisplayPosition
focal_class.modifiers: @PopUpPosition protected
focal_class.parameters: (Point viewCenterPoint,
                                     @PopUpPosition int defaultPopUpPosition,
                                     CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.return: int
focal_class.signature: int getDisplayPosition(Point viewCenterPoint,
                                     @PopUpPosition int defaultPopUpPosition,
                                     CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.class_method_signature: PopUpCoachMarkPresenter.checkIfLeftPossible(Point viewCenterPoint,
                                          CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.full_signature: protected boolean checkIfLeftPossible(Point viewCenterPoint,
                                          CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.identifier: checkIfLeftPossible
focal_class.modifiers: protected
focal_class.parameters: (Point viewCenterPoint,
                                          CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.return: boolean
focal_class.signature: boolean checkIfLeftPossible(Point viewCenterPoint,
                                          CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.class_method_signature: PopUpCoachMarkPresenter.checkIfRightPossible(Point viewCenterPoint,
                                           CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.full_signature: protected boolean checkIfRightPossible(Point viewCenterPoint,
                                           CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.identifier: checkIfRightPossible
focal_class.modifiers: protected
focal_class.parameters: (Point viewCenterPoint,
                                           CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.return: boolean
focal_class.signature: boolean checkIfRightPossible(Point viewCenterPoint,
                                           CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.class_method_signature: PopUpCoachMarkPresenter.checkIfTopPossible(Point viewCenterPoint,
                                         CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.full_signature: protected boolean checkIfTopPossible(Point viewCenterPoint,
                                         CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.identifier: checkIfTopPossible
focal_class.modifiers: protected
focal_class.parameters: (Point viewCenterPoint,
                                         CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.return: boolean
focal_class.signature: boolean checkIfTopPossible(Point viewCenterPoint,
                                         CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.class_method_signature: PopUpCoachMarkPresenter.checkIfBottomPossible(Point viewCenterPoint,
                                            CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.full_signature: protected boolean checkIfBottomPossible(Point viewCenterPoint,
                                            CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.identifier: checkIfBottomPossible
focal_class.modifiers: protected
focal_class.parameters: (Point viewCenterPoint,
                                            CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.return: boolean
focal_class.signature: boolean checkIfBottomPossible(Point viewCenterPoint,
                                            CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.class_method_signature: PopUpCoachMarkPresenter.getCorrectPositionOfCoachMarkIfDefaultFails(Point viewCenterPoint,
                                                              CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.full_signature: @PopUpPosition protected int getCorrectPositionOfCoachMarkIfDefaultFails(Point viewCenterPoint,
                                                              CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.identifier: getCorrectPositionOfCoachMarkIfDefaultFails
focal_class.modifiers: @PopUpPosition protected
focal_class.parameters: (Point viewCenterPoint,
                                                              CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.return: int
focal_class.signature: int getCorrectPositionOfCoachMarkIfDefaultFails(Point viewCenterPoint,
                                                              CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.class_method_signature: PopUpCoachMarkPresenter.createCoachMarkPixelInfo()
focal_class.full_signature: protected CoachMarkPixelInfo createCoachMarkPixelInfo()
focal_class.identifier: createCoachMarkPixelInfo
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: CoachMarkPixelInfo
focal_class.signature: CoachMarkPixelInfo createCoachMarkPixelInfo()
focal_class.class_method_signature: PopUpCoachMarkPresenter.getActualTopMargin(int centerTopY, CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.full_signature: protected int getActualTopMargin(int centerTopY, CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.identifier: getActualTopMargin
focal_class.modifiers: protected
focal_class.parameters: (int centerTopY, CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.return: int
focal_class.signature: int getActualTopMargin(int centerTopY, CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.class_method_signature: PopUpCoachMarkPresenter.getActualLeftMargin(int anchorTopX, CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.full_signature: protected int getActualLeftMargin(int anchorTopX, CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.identifier: getActualLeftMargin
focal_class.modifiers: protected
focal_class.parameters: (int anchorTopX, CoachMarkPixelInfo coachMarkDimenInPixel)
focal_class.return: int
focal_class.signature: int getActualLeftMargin(int anchorTopX, CoachMarkPixelInfo coachMarkDimenInPixel)
focal_method.body: protected void showCoachMark(@DialogDismissButtonPosition int dismissButtonPosition,
                                 @PopUpPosition int popUpPosition) {
  
          switch (popUpPosition) {
              case PopUpPosition.LEFT:
                  mPresentation.setPopUpViewPositionWithRespectToImage(
                          CoachMarkAlignPosition.ALIGN_RIGHT);
                  break;
              case PopUpPosition.TOP:
                  mPresentation.setPopUpViewPositionWithRespectToImage(
                          CoachMarkAlignPosition.ALIGN_BOTTOM);
                  break;
              case PopUpPosition.RIGHT:
                  mPresentation.setPopUpViewPositionWithRespectToImage(
                          CoachMarkAlignPosition.ALIGN_LEFT);
                  break;
              case PopUpPosition.BOTTOM:
                  mPresentation.setPopUpViewPositionWithRespectToImage(
                          CoachMarkAlignPosition.ALIGN_TOP);
                  break;
              case PopUpPosition.NONE:
                  Log.wtf(TAG, "This should not have happened here. No position found case already handled");
                  break;
          }
  
          if(popUpPosition == PopUpPosition.NONE){
              return;
          }
  
          switch (dismissButtonPosition) {
              case DialogDismissButtonPosition.LEFT:
                  mPresentation.setDismissButtonPositionLeft();
                  break;
              case DialogDismissButtonPosition.RIGHT:
                  mPresentation.setDismissButtonPositionRight();
                  break;
          }
      }
focal_method.class_method_signature: PopUpCoachMarkPresenter.showCoachMark(@DialogDismissButtonPosition int dismissButtonPosition,
                                 @PopUpPosition int popUpPosition)
focal_method.full_signature: protected void showCoachMark(@DialogDismissButtonPosition int dismissButtonPosition,
                                 @PopUpPosition int popUpPosition)
focal_method.identifier: showCoachMark
focal_method.invocations: setPopUpViewPositionWithRespectToImage setPopUpViewPositionWithRespectToImage setPopUpViewPositionWithRespectToImage setPopUpViewPositionWithRespectToImage wtf setDismissButtonPositionLeft setDismissButtonPositionRight
focal_method.modifiers: protected
focal_method.parameters: (@DialogDismissButtonPosition int dismissButtonPosition,
                                 @PopUpPosition int popUpPosition)
focal_method.return: void
focal_method.signature: void showCoachMark(@DialogDismissButtonPosition int dismissButtonPosition,
                                 @PopUpPosition int popUpPosition)