Home
last modified time | relevance | path

Searched refs:topDiff (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java733 final int topDiff = curY - mTmpRect.top - mRecyclerView.getPaddingTop(); in scrollIfNecessary() local
734 if (mDy < 0 && topDiff < 0) { in scrollIfNecessary()
735 scrollY = topDiff; in scrollIfNecessary()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java667 final int topDiff = p1.mTop - p2.mTop; in compareLayoutPosition() local
668 if (topDiff != 0) { in compareLayoutPosition()
669 return topDiff; in compareLayoutPosition()