Lines Matching refs:mBgBounds
39 private Rect mBgBounds = new Rect(); field in BaseRecyclerViewFastScrollPopup
81 mInvalidateRect.set(mBgBounds); in updateFastScrollerBounds()
90 mBgBounds.left = mRv.getBackgroundPadding().left + (2 * mRv.getMaxScrollbarWidth()); in updateFastScrollerBounds()
91 mBgBounds.right = mBgBounds.left + bgWidth; in updateFastScrollerBounds()
93 mBgBounds.right = mRv.getWidth() - mRv.getBackgroundPadding().right - in updateFastScrollerBounds()
95 mBgBounds.left = mBgBounds.right - bgWidth; in updateFastScrollerBounds()
97 mBgBounds.top = lastTouchY - (int) (FAST_SCROLL_OVERLAY_Y_OFFSET_FACTOR * bgHeight); in updateFastScrollerBounds()
98 mBgBounds.top = Math.max(edgePadding, in updateFastScrollerBounds()
99 Math.min(mBgBounds.top, mRv.getHeight() - edgePadding - bgHeight)); in updateFastScrollerBounds()
100 mBgBounds.bottom = mBgBounds.top + bgHeight; in updateFastScrollerBounds()
102 mBgBounds.setEmpty(); in updateFastScrollerBounds()
106 mInvalidateRect.union(mBgBounds); in updateFastScrollerBounds()
128 mRv.invalidate(mBgBounds); in setAlpha()
143 c.translate(mBgBounds.left, mBgBounds.top); in draw()
144 mTmpRect.set(mBgBounds); in draw()
150 c.drawText(mSectionName, (mBgBounds.width() - mTextBounds.width()) / 2, in draw()
151 mBgBounds.height() - (mBgBounds.height() - mTextBounds.height()) / 2, in draw()