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()
667 final int topDiff = p1.mTop - p2.mTop; in compareLayoutPosition() local668 if (topDiff != 0) { in compareLayoutPosition()669 return topDiff; in compareLayoutPosition()