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 setNotchDisplayEdgePopUpPositionBottomTest(){
          mPopUpCoachMarkPresenter.setNotchDisplayEdge(PopUpPosition.BOTTOM, 600,
                  0, 600, mCoachMarkPixelInfo);
  
          Mockito.verify(mPopUpCoachMarkPresentation,
                  Mockito.times(1)).setPopUpViewBottomRight(
                  (Rect)Matchers.anyObject(), Matchers.anyInt());
          Mockito.verify(mPopUpCoachMarkPresentation,
                  Mockito.times(1)).
                  setNotchPositionIfPopUpBottomRight((Rect)Matchers.anyObject(),
                  Matchers.anyInt());
          Mockito.verify(mPopUpCoachMarkPresentation,
                  Mockito.times(1)).uiAdjustmentForNotchIfPopUpBottom
                  ((Rect)Matchers.anyObject());
          Mockito.verifyNoMoreInteractions(mPopUpCoachMarkPresentation);
      }
test_case.class_method_signature: PopUpCoachMarkPresenterTest.setNotchDisplayEdgePopUpPositionBottomTest()
test_case.full_signature: @Test public void setNotchDisplayEdgePopUpPositionBottomTest()
test_case.identifier: setNotchDisplayEdgePopUpPositionBottomTest
test_case.invocations: setNotchDisplayEdge setPopUpViewBottomRight verify times anyObject anyInt setNotchPositionIfPopUpBottomRight verify times anyObject anyInt uiAdjustmentForNotchIfPopUpBottom verify times anyObject verifyNoMoreInteractions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void setNotchDisplayEdgePopUpPositionBottomTest()
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 setNotchDisplayEdge(int position,
                                       int anchorTopY,
                                       int anchorBottomY,
                                       int anchorTopX,
                                       CoachMarkPixelInfo coachMarkDimenInPixel) {
          int notchPosition;
          int actualTopMargin;
          int actualLeftMargin;
          int centerY = (anchorTopY + anchorBottomY) / 2;
  
          Rect notchMarginRect;
          Rect coachMarkMarginRect;
          Rect notchUiAdjustmentMarginRect;
  
          switch (position) {
              case PopUpPosition.LEFT:
                  actualTopMargin = getActualTopMargin(centerY, coachMarkDimenInPixel);
                  coachMarkMarginRect = new Rect(coachMarkDimenInPixel.getMarginRectInPixels().left,
                          actualTopMargin - coachMarkDimenInPixel.getMarginRectInPixels().bottom,
                          coachMarkDimenInPixel.getMarginRectInPixels().right +
                                  coachMarkDimenInPixel.getImageWidthInPixels(),
                          NO_MARGIN);
                  mPresentation.setPopUpViewTopLeft(coachMarkMarginRect,
                          CoachMarkLayoutOrientation.HORIZONTAL);
                  notchPosition = getMarginTopForNotch(mCoachMarkBuilder.getNotchPosition(),
                          coachMarkDimenInPixel.getPopUpHeightInPixels(),
                          coachMarkDimenInPixel.getNotchDimenInPixels());
                  notchMarginRect = new Rect(-coachMarkDimenInPixel.getMarginOffsetForNotchInPixels(),
                          notchPosition, NO_MARGIN, NO_MARGIN);
                  mPresentation.setNotchPositionIfPopUpTopLeft(notchMarginRect, ROTATION_90);
                  break;
              case PopUpPosition.TOP:
                  actualLeftMargin = getActualLeftMargin(anchorTopX, coachMarkDimenInPixel);
                  coachMarkMarginRect = new Rect(actualLeftMargin -
                          coachMarkDimenInPixel.getMarginRectInPixels().right,
                          coachMarkDimenInPixel.getMarginRectInPixels().top,
                          NO_MARGIN,
                          coachMarkDimenInPixel.getMarginRectInPixels().bottom +
                                  coachMarkDimenInPixel.getImageHeightInPixels());
                  mPresentation.setPopUpViewTopLeft(coachMarkMarginRect,
                          CoachMarkLayoutOrientation.VERTICAL);
                  notchPosition = getMarginLeftForNotch(mCoachMarkBuilder.getNotchPosition(),
                          coachMarkDimenInPixel.getPopUpWidthInPixels(),
                          coachMarkDimenInPixel.getNotchDimenInPixels());
                  notchMarginRect = new Rect(notchPosition +
                          coachMarkDimenInPixel.getMarginOffsetForNotchInPixels(),
                          -coachMarkDimenInPixel.getMarginOffsetForNotchInPixels(),
                          NO_MARGIN, NO_MARGIN);
                  mPresentation.setNotchPositionIfPopUpTopLeft(notchMarginRect, ROTATION_180);
                  break;
              case PopUpPosition.RIGHT:
                  actualTopMargin = getActualTopMargin(centerY, coachMarkDimenInPixel);
                  coachMarkMarginRect = new Rect(coachMarkDimenInPixel.getMarginRectInPixels().left +
                          coachMarkDimenInPixel.getImageWidthInPixels(),
                          actualTopMargin - coachMarkDimenInPixel.getMarginRectInPixels().bottom,
                          coachMarkDimenInPixel.getMarginRectInPixels().right,
                          NO_MARGIN);
                  mPresentation.setPopUpViewBottomRight(coachMarkMarginRect,
                          CoachMarkLayoutOrientation.HORIZONTAL);
                  notchPosition = getMarginTopForNotch(mCoachMarkBuilder.getNotchPosition(),
                          coachMarkDimenInPixel.getPopUpHeightInPixels(),
                          coachMarkDimenInPixel.getNotchDimenInPixels());
                  notchMarginRect = new Rect(NO_MARGIN,
                          notchPosition - (int) (MULTIPLICATION_FACTOR_NOTCH_POSITION * coachMarkDimenInPixel.getMarginOffsetForNotchInPixels()),
                          NO_MARGIN,
                          NO_MARGIN);
                  mPresentation.setNotchPositionIfPopUpBottomRight(notchMarginRect, ROTATION_270);
                  notchUiAdjustmentMarginRect = new Rect(NO_MARGIN,
                          notchPosition + (int) (MULTIPLICATION_FACTOR_FOR_UI_ADJUSTMENT_RIGHT * coachMarkDimenInPixel.getMarginOffsetForNotchInPixels() + PIXEL_ADJUSTMENT_NOTCH),
                          NO_MARGIN,
                          NO_MARGIN);
                  mPresentation.uiAdjustmentForNotchIfPopUpRight(notchUiAdjustmentMarginRect);
                  break;
              case PopUpPosition.BOTTOM:
                  actualLeftMargin = getActualLeftMargin(anchorTopX, coachMarkDimenInPixel);
                  coachMarkMarginRect = new Rect(actualLeftMargin -
                          coachMarkDimenInPixel.getMarginRectInPixels().right,
                          coachMarkDimenInPixel.getMarginRectInPixels().top +
                                  coachMarkDimenInPixel.getImageHeightInPixels(),
                          NO_MARGIN,
                          coachMarkDimenInPixel.getMarginRectInPixels().bottom);
                  mPresentation.setPopUpViewBottomRight(coachMarkMarginRect,
                          CoachMarkLayoutOrientation.VERTICAL);
                  notchPosition = getMarginLeftForNotch(mCoachMarkBuilder.getNotchPosition(),
                          coachMarkDimenInPixel.getPopUpWidthInPixels(),
                          coachMarkDimenInPixel.getNotchDimenInPixels());
                  notchMarginRect = new Rect(notchPosition +
                          coachMarkDimenInPixel.getMarginOffsetForNotchInPixels(),
                          NO_MARGIN,
                          NO_MARGIN,
                          NO_MARGIN);
                  mPresentation.setNotchPositionIfPopUpBottomRight(notchMarginRect, ROTATION_0);
                  notchUiAdjustmentMarginRect = new Rect(notchPosition +
                          (int) (MULTIPLICATION_FACTOR_FOR_NOTCH_UI_ADJUSTMENT_BOTTOM *
                                  coachMarkDimenInPixel.getMarginOffsetForNotchInPixels()),
                          NO_MARGIN,
                          NO_MARGIN,
                          NO_MARGIN);
                  mPresentation.uiAdjustmentForNotchIfPopUpBottom(notchUiAdjustmentMarginRect);
                  break;
          }
      }
focal_method.class_method_signature: PopUpCoachMarkPresenter.setNotchDisplayEdge(int position,
                                       int anchorTopY,
                                       int anchorBottomY,
                                       int anchorTopX,
                                       CoachMarkPixelInfo coachMarkDimenInPixel)
focal_method.full_signature: protected void setNotchDisplayEdge(int position,
                                       int anchorTopY,
                                       int anchorBottomY,
                                       int anchorTopX,
                                       CoachMarkPixelInfo coachMarkDimenInPixel)
focal_method.identifier: setNotchDisplayEdge
focal_method.invocations: getActualTopMargin getMarginRectInPixels getMarginRectInPixels getMarginRectInPixels getImageWidthInPixels setPopUpViewTopLeft getMarginTopForNotch getNotchPosition getPopUpHeightInPixels getNotchDimenInPixels getMarginOffsetForNotchInPixels setNotchPositionIfPopUpTopLeft getActualLeftMargin getMarginRectInPixels getMarginRectInPixels getMarginRectInPixels getImageHeightInPixels setPopUpViewTopLeft getMarginLeftForNotch getNotchPosition getPopUpWidthInPixels getNotchDimenInPixels getMarginOffsetForNotchInPixels getMarginOffsetForNotchInPixels setNotchPositionIfPopUpTopLeft getActualTopMargin getMarginRectInPixels getImageWidthInPixels getMarginRectInPixels getMarginRectInPixels setPopUpViewBottomRight getMarginTopForNotch getNotchPosition getPopUpHeightInPixels getNotchDimenInPixels getMarginOffsetForNotchInPixels setNotchPositionIfPopUpBottomRight getMarginOffsetForNotchInPixels uiAdjustmentForNotchIfPopUpRight getActualLeftMargin getMarginRectInPixels getMarginRectInPixels getImageHeightInPixels getMarginRectInPixels setPopUpViewBottomRight getMarginLeftForNotch getNotchPosition getPopUpWidthInPixels getNotchDimenInPixels getMarginOffsetForNotchInPixels setNotchPositionIfPopUpBottomRight getMarginOffsetForNotchInPixels uiAdjustmentForNotchIfPopUpBottom
focal_method.modifiers: protected
focal_method.parameters: (int position,
                                       int anchorTopY,
                                       int anchorBottomY,
                                       int anchorTopX,
                                       CoachMarkPixelInfo coachMarkDimenInPixel)
focal_method.return: void
focal_method.signature: void setNotchDisplayEdge(int position,
                                       int anchorTopY,
                                       int anchorBottomY,
                                       int anchorTopX,
                                       CoachMarkPixelInfo coachMarkDimenInPixel)