Searched refs:drawTarget (Results 1 – 3 of 3) sorted by relevance
100 final View drawTarget = headerView != null ? headerView : sticky; in draw() local104 final int drawTop = drawTarget.getTop(); in draw()105 if (drawTop + drawOffset < statusBarInset || !drawTarget.isShown()) { in draw()110 drawTarget.getWidth(), in draw()111 drawTarget.getHeight() - drawOffset + statusBarInset); in draw()113 canvas.clipRect(0, 0, drawTarget.getWidth(), drawTarget.getHeight()); in draw()114 drawTarget.draw(canvas); in draw()
121 final View drawTarget = stickyContainer != null ? stickyContainer : sticky; in draw() local125 final int drawTop = drawTarget.getTop(); in draw()126 if (drawTop + drawOffset < statusBarInset || !drawTarget.isShown()) { in draw()131 drawTarget.getWidth(), in draw()132 drawTarget.getHeight() - drawOffset + statusBarInset); in draw()134 canvas.clipRect(0, 0, drawTarget.getWidth(), drawTarget.getHeight()); in draw()135 drawTarget.draw(canvas); in draw()
83 final View drawTarget = stickyContainer != null ? stickyContainer : sticky; in updateStickyHeaderPosition() local87 final int drawTop = drawTarget.getTop() - getScrollY(); in updateStickyHeaderPosition()88 if (drawTop + drawOffset < statusBarInset || !drawTarget.isShown()) { in updateStickyHeaderPosition()90 drawTarget.setTranslationY(getScrollY() - drawOffset); in updateStickyHeaderPosition()92 drawTarget.setTranslationY(0); in updateStickyHeaderPosition()