Searched refs:topOffset (Results 1 – 3 of 3) sorted by relevance
232 int topOffset = mHeaderMessage.shouldShow() ? 1 : 0;233 return (mBreakPosition != -1 && p > mBreakPosition) ? p - 1 - topOffset : p - topOffset;244 int topOffset = mHeaderMessage.shouldShow() ? 1 : 0;246 p += topOffset;
200 int topOffset = a.getInteger(R.styleable.CarUiRecyclerView_topOffset, /* defValue= */0); in init() local209 new LinearOffsetItemDecoration(topOffset, OffsetPosition.START); in init()224 new GridOffsetItemDecoration(topOffset, mNumOfColumns, in init()
155 private TopAndBottomOffsetDecoration(int topOffset) { in TopAndBottomOffsetDecoration() argument156 mTopAndBottomOffset = topOffset; in TopAndBottomOffsetDecoration()