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()
117 final View drawTarget = stickyContainer != null ? stickyContainer : sticky; in draw() local121 final int drawTop = drawTarget.getTop(); in draw()122 if (drawTop + drawOffset < statusBarInset || !drawTarget.isShown()) { in draw()127 drawTarget.getWidth(), in draw()128 drawTarget.getHeight() - drawOffset + statusBarInset); in draw()130 canvas.clipRect(0, 0, drawTarget.getWidth(), drawTarget.getHeight()); in draw()131 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()