Searched refs:drawOffset (Results 1 – 4 of 4) sorted by relevance
57 int drawOffset = (drawHeight - getHeight()) / 2; in onDraw() local58 mRoundRectF.set(0, -drawOffset, getWidth(), getHeight() + drawOffset); in onDraw()
102 final int drawOffset = headerView != null ? mSticky.getTop() : 0; in draw() local105 if (drawTop + drawOffset < mStatusBarInset || !drawTarget.isShown()) { in draw()107 mStickyRect.set(0, -drawOffset + mStatusBarInset, drawTarget.getWidth(), in draw()108 drawTarget.getHeight() - drawOffset + mStatusBarInset); in draw()
84 final int drawOffset = mStickyContainer != null ? mSticky.getTop() : 0; in updateStickyHeaderPosition() local87 if (drawTop + drawOffset < mStatusBarInset || !drawTarget.isShown()) { in updateStickyHeaderPosition()89 drawTarget.setTranslationY(getScrollY() - drawOffset); in updateStickyHeaderPosition()
118 final int drawOffset = mStickyContainer != null ? mSticky.getTop() : 0; in draw() local121 if (drawTop + drawOffset < mStatusBarInset || !drawTarget.isShown()) { in draw()123 mStickyRect.set(0, -drawOffset + mStatusBarInset, drawTarget.getWidth(), in draw()124 drawTarget.getHeight() - drawOffset + mStatusBarInset); in draw()