Skip to content

Commit

Permalink
resolved checkstyle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
muditpant13 committed Mar 16, 2017
1 parent 797f98f commit 60cdaa0
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,12 @@ private void setNotchDisplayEdge(int position,
coachMarkDimenInPixel.getPopUpHeightInPixels(),
coachMarkDimenInPixel.getNotchDimenInPixels());
notchMarginRect = new Rect(NO_MARGIN,
notchPosition - (int)(MULTIPLICATION_FACTOR_NOTCH_POSITION * coachMarkDimenInPixel.getMarginOffsetForNotchInPixels()),
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),
notchPosition + (int) (MULTIPLICATION_FACTOR_FOR_UI_ADJUSTMENT_RIGHT * coachMarkDimenInPixel.getMarginOffsetForNotchInPixels() + PIXEL_ADJUSTMENT_NOTCH),
NO_MARGIN,
NO_MARGIN);
mPresentation.uiAdjustmentForNotchIfPopUpRight(notchUiAdjustmentMarginRect);
Expand All @@ -272,7 +272,7 @@ private void setNotchDisplayEdge(int position,
NO_MARGIN);
mPresentation.setNotchPositionIfPopUpBottomRight(notchMarginRect, ROTATION_0);
notchUiAdjustmentMarginRect = new Rect(notchPosition +
(int)(MULTIPLICATION_FACTOR_FOR_NOTCH_UI_ADJUSTMENT_BOTTOM *
(int) (MULTIPLICATION_FACTOR_FOR_NOTCH_UI_ADJUSTMENT_BOTTOM *
coachMarkDimenInPixel.getMarginOffsetForNotchInPixels()),
NO_MARGIN,
NO_MARGIN,
Expand Down Expand Up @@ -338,7 +338,6 @@ private int findCoachMarkTextPopUpDisplayPosition(Point anchorTop,
}



private void setImageParamsAndPosition(Point anchorTop, Point anchorBottom,
int imageWidth, int imageHeight,
@ColorRes int backGroundTintForImage,
Expand Down

0 comments on commit 60cdaa0

Please sign in to comment.