Home
last modified time | relevance | path

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

/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java701 public boolean settleScrollForFling(RecyclerView parent, int flingVelocity) { in settleScrollForFling() argument
711 if (Math.abs(flingVelocity) <= FLING_THRESHOLD_TO_PAGINATE in settleScrollForFling()
724 boolean isDownGesture = flingVelocity > 0 in settleScrollForFling()
725 || (flingVelocity == 0 && mLastDragDistance >= 0); in settleScrollForFling()
726 boolean isUpGesture = flingVelocity < 0 in settleScrollForFling()
727 || (flingVelocity == 0 && mLastDragDistance < 0); in settleScrollForFling()
738 Log.e(TAG, "Error setting scroll for fling! flingVelocity: \t" + flingVelocity + in settleScrollForFling()