Searched refs:mLastSplitTarget (Results 1 – 1 of 1) sorted by relevance
81 private final SnapTarget mLastSplitTarget; field in DividerSnapAlgorithm136 mLastSplitTarget = mTargets.get(mTargets.size() - 2); in DividerSnapAlgorithm()170 if (position > mLastSplitTarget.position && velocity > mMinDismissVelocityPxPerSecond) { in calculateSnapTarget()179 return mLastSplitTarget; in calculateSnapTarget()188 return mLastSplitTarget; in calculateNonDismissingSnapTarget()198 } else if (position > mLastSplitTarget.position) { in calculateDismissingFraction()199 return (float) (position - mLastSplitTarget.position) in calculateDismissingFraction()200 / (mDismissEndTarget.position - mLastSplitTarget.position - mDividerSize); in calculateDismissingFraction()208 } else if (position > mLastSplitTarget.position) { in getClosestDismissTarget()223 return mLastSplitTarget; in getLastSplitTarget()[all …]