Searched refs:topDiff (Results 1 – 2 of 2) sorted by relevance
722 final int topDiff = curY - mTmpRect.top - mRecyclerView.getPaddingTop(); in scrollIfNecessary() local723 if (mDy < 0 && topDiff < 0) { in scrollIfNecessary()724 scrollY = topDiff; in scrollIfNecessary()
648 final int topDiff = p1.mTop - p2.mTop; in compareLayoutPosition() local649 if (topDiff != 0) { in compareLayoutPosition()650 return topDiff; in compareLayoutPosition()