Searched refs:snapDistance (Results 1 – 1 of 1) sorted by relevance
1093 val snapDistance = (snapAccumulator / snapThreshold).toInt() in handleScrollEvent() constant1095 snapAccumulator -= snapThreshold * snapDistance in handleScrollEvent()1099 "Snap threshold reached: snapDistance:$snapDistance, " + in handleScrollEvent()1103 if ((!snapBehaviour.topEdgeReached() && snapDistance < 0) || in handleScrollEvent()1104 (!snapBehaviour.bottomEdgeReached() && snapDistance > 0) in handleScrollEvent()1109 snapBehaviour.prepareSnapForItems(snapDistance, sequentialSnap) in handleScrollEvent()1201 val snapDistance = sign(snapAccumulator).toInt() in handleScrollEvent() constant1205 "Snap threshold reached: snapDistance:$snapDistance, " + in handleScrollEvent()1210 snapBehaviour.prepareSnapForItems(snapDistance, sequentialSnap) in handleScrollEvent()