Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java628 final int intermediatePosition; in scrollToPosition() local
631 intermediatePosition = Math.max(0, targetPosition - maxScrollDelta); in scrollToPosition()
634 intermediatePosition = Math.min(count - 1, targetPosition + maxScrollDelta); in scrollToPosition()
636 intermediatePosition = -1; in scrollToPosition()
638 if (intermediatePosition != -1) { in scrollToPosition()
639 mRecyclerView.scrollToPosition(intermediatePosition); in scrollToPosition()