Searched refs:drawTarget (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/ |
D | StickyHeaderRecyclerView.java | 96 final View drawTarget = headerView != null ? headerView : mSticky; in draw() local 100 final int drawTop = drawTarget.getTop(); in draw() 101 if (drawTop + drawOffset < mStatusBarInset || !drawTarget.isShown()) { in draw() 103 mStickyRect.set(0, -drawOffset + mStatusBarInset, drawTarget.getWidth(), in draw() 104 drawTarget.getHeight() - drawOffset + mStatusBarInset); in draw() 106 canvas.clipRect(0, 0, drawTarget.getWidth(), drawTarget.getHeight()); in draw() 107 drawTarget.draw(canvas); in draw()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | StickyHeaderListView.java | 116 final View drawTarget = mStickyContainer != null ? mStickyContainer : mSticky; in draw() local 120 final int drawTop = drawTarget.getTop(); in draw() 121 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() 126 canvas.clipRect(0, 0, drawTarget.getWidth(), drawTarget.getHeight()); in draw() 127 drawTarget.draw(canvas); in draw()
|
D | StickyHeaderScrollView.java | 82 final View drawTarget = mStickyContainer != null ? mStickyContainer : mSticky; in updateStickyHeaderPosition() local 86 final int drawTop = drawTarget.getTop() - getScrollY(); in updateStickyHeaderPosition() 87 if (drawTop + drawOffset < mStatusBarInset || !drawTarget.isShown()) { in updateStickyHeaderPosition() 89 drawTarget.setTranslationY(getScrollY() - drawOffset); in updateStickyHeaderPosition() 91 drawTarget.setTranslationY(0); in updateStickyHeaderPosition()
|