Searched refs:topDiff (Results 1 – 2 of 2) sorted by relevance
733 final int topDiff = curY - mTmpRect.top - mRecyclerView.getPaddingTop(); in scrollIfNecessary() local734 if (mDy < 0 && topDiff < 0) { in scrollIfNecessary()735 scrollY = topDiff; in scrollIfNecessary()
668 final int topDiff = p1.mTop - p2.mTop; in compareLayoutPosition() local669 if (topDiff != 0) { in compareLayoutPosition()670 return topDiff; in compareLayoutPosition()