Searched refs:topDiff (Results 1 – 3 of 3) 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()
731 final int topDiff = curY - mTmpRect.top - mRecyclerView.getPaddingTop(); in scrollIfNecessary() local732 if (mDy < 0 && topDiff < 0) { in scrollIfNecessary()733 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()