Searched refs:drawOffset (Results 1 – 3 of 3) sorted by relevance
102 final int drawOffset = headerView != null ? sticky.getTop() : 0; in draw() local105 if (drawTop + drawOffset < statusBarInset || !drawTarget.isShown()) { in draw()109 -drawOffset + statusBarInset, in draw()111 drawTarget.getHeight() - drawOffset + statusBarInset); in draw()
85 final int drawOffset = stickyContainer != null ? sticky.getTop() : 0; in updateStickyHeaderPosition() local88 if (drawTop + drawOffset < statusBarInset || !drawTarget.isShown()) { in updateStickyHeaderPosition()90 drawTarget.setTranslationY(getScrollY() - drawOffset); in updateStickyHeaderPosition()
119 final int drawOffset = stickyContainer != null ? sticky.getTop() : 0; in draw() local122 if (drawTop + drawOffset < statusBarInset || !drawTarget.isShown()) { in draw()126 -drawOffset + statusBarInset, in draw()128 drawTarget.getHeight() - drawOffset + statusBarInset); in draw()