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.java631 final int intermediatePosition; in scrollToPosition() local
634 intermediatePosition = Math.max(0, targetPosition - maxScrollDelta); in scrollToPosition()
637 intermediatePosition = Math.min(count - 1, targetPosition + maxScrollDelta); in scrollToPosition()
639 intermediatePosition = -1; in scrollToPosition()
641 if (intermediatePosition != -1) { in scrollToPosition()
642 mRecyclerView.scrollToPosition(intermediatePosition); in scrollToPosition()