Searched refs:referenceView (Results 1 – 2 of 2) sorted by relevance
58 public void updatePosition(View referenceView) { in updatePosition() argument59 if (referenceView == null) { in updatePosition()63 float referenceRight = referenceView.getX() + referenceView.getMeasuredWidth(); in updatePosition()66 float referenceTop = referenceView.getY(); in updatePosition()69 setTranslationY(referenceTop + referenceView.getMeasuredHeight()); in updatePosition()70 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2; in updatePosition()82 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2; in updatePosition()
1211 View referenceView = findViewByPosition(position); in calculatePreviousPageBreakPosition() local1212 int referenceViewTop = getDecoratedTop(referenceView) - getParams(referenceView).topMargin; in calculatePreviousPageBreakPosition()1243 View referenceView = findViewByPosition(position); in calculateNextPageBreakPosition() local1244 if (referenceView == null) { in calculateNextPageBreakPosition()1247 int referenceViewTop = getDecoratedTop(referenceView) - getParams(referenceView).topMargin; in calculateNextPageBreakPosition()