Lines Matching refs:start

182      * Returns the start X offset in the scroll.
184 * @return The start X offset as an absolute distance from the origin.
191 * Returns the start Y offset in the scroll.
193 * @return The start Y offset as an absolute distance from the origin.
493 * the fact that the started scroll will start from an overscrolled position.
662 * Modifies mDuration to the duration it takes to get from start to newFinal using the
665 private void adjustDuration(int start, int oldFinal, int newFinal) {
666 final int oldDistance = oldFinal - start;
667 final int newDistance = newFinal - start;
680 void startScroll(int start, int distance, int duration) {
683 mStart = start;
684 mFinal = start + distance;
714 boolean springback(int start, int min, int max) {
717 mStart = mFinal = start;
723 if (start < min) {
724 startSpringback(start, min, 0);
725 } else if (start > max) {
726 startSpringback(start, max, 0);
732 private void startSpringback(int start, int end, int velocity) {
736 mStart = start;
738 final int delta = start - end;
746 void fling(int start, int velocity, int min, int max, int over) {
752 mCurrentPosition = mStart = start;
754 if (start > max || start < min) {
755 startAfterEdge(start, min, max, velocity);
768 mFinal = start + mSplineDistance;
799 private void fitOnBounceCurve(int start, int end, int velocity) {
803 final float distanceToEdge = Math.abs(end - start);
811 private void startBounceAfterEdge(int start, int end, int velocity) {
812 mDeceleration = getDeceleration(velocity == 0 ? start - end : velocity);
813 fitOnBounceCurve(start, end, velocity);
817 private void startAfterEdge(int start, int min, int max, int velocity) {
818 if (start > min && start < max) {
823 final boolean positive = start > max;
825 final int overDistance = start - edge;
829 startBounceAfterEdge(start, edge, velocity);
833 fling(start, velocity, positive ? min : start, positive ? start : max, mOver);
835 startSpringback(start, edge, velocity);
840 void notifyEdgeReached(int start, int end, int over) {
846 // edge is increasing. This ensures that startAfterEdge will not start a new fling.
847 startAfterEdge(start, end, end, (int) mCurrVelocity);
871 // Duration from start to null velocity