Lines Matching defs:current
417 * to reach target velocity for the current touch position.
601 * @param current Touch position within within the total size.
604 private float getEdgeValue(float relativeValue, float size, float maxValue, float current) {
607 final float valueLeading = constrainEdgeValue(current, edgeSize);
608 final float valueTrailing = constrainEdgeValue(size - current, edgeSize);
622 private float constrainEdgeValue(float current, float leading) {
630 if (current < leading) {
631 if (current >= 0) {
633 return 1f - current / leading;
641 if (current < 0) {
643 return current / -leading;
759 * Starts the scroller at the current animation time.
771 * Stops the scroller at the current animation time.
810 * Computes the current scroll deltas. This usually only be called after