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()169 if (position > mLastSplitTarget.position && velocity > mMinDismissVelocityPxPerSecond) { in calculateSnapTarget()178 return mLastSplitTarget; in calculateSnapTarget()187 return mLastSplitTarget; in calculateNonDismissingSnapTarget()197 } else if (position > mLastSplitTarget.position) { in calculateDismissingFraction()198 return (float) (position - mLastSplitTarget.position) in calculateDismissingFraction()199 / (mDismissEndTarget.position - mLastSplitTarget.position - mDividerSize); in calculateDismissingFraction()207 } else if (position > mLastSplitTarget.position) { in getClosestDismissTarget()222 return mLastSplitTarget; in getLastSplitTarget()[all …]