Searched refs:mLastSplitTarget (Results 1 – 1 of 1) sorted by relevance
78 private final SnapTarget mLastSplitTarget; field in DividerSnapAlgorithm126 mLastSplitTarget = mTargets.get(mTargets.size() - 2); in DividerSnapAlgorithm()159 if (position > mLastSplitTarget.position && velocity > mMinDismissVelocityPxPerSecond) { in calculateSnapTarget()168 return mLastSplitTarget; in calculateSnapTarget()177 return mLastSplitTarget; in calculateNonDismissingSnapTarget()187 } else if (position > mLastSplitTarget.position) { in calculateDismissingFraction()188 return (float) (position - mLastSplitTarget.position) in calculateDismissingFraction()189 / (mDismissEndTarget.position - mLastSplitTarget.position - mDividerSize); in calculateDismissingFraction()197 } else if (position > mLastSplitTarget.position) { in getClosestDismissTarget()212 return mLastSplitTarget; in getLastSplitTarget()[all …]