Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffd8e0fe authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am fff52b6a: am 5af7ef60: am 40cd1cf6: Merge "Fix bug 2562240 and clean up...

am fff52b6a: am 5af7ef60: am 40cd1cf6: Merge "Fix bug 2562240 and clean up scrollbar behavior" into froyo
parents 081e7a27 fff52b6a
Loading
Loading
Loading
Loading
+2 −9
Original line number Original line Diff line number Diff line
@@ -2493,16 +2493,9 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                    delta = Math.max(-(getHeight() - mPaddingBottom - mPaddingTop - 1), delta);
                    delta = Math.max(-(getHeight() - mPaddingBottom - mPaddingTop - 1), delta);
                }
                }


                // Check to see if we have bumped into the scroll limit
                final boolean atEnd = trackMotionScroll(delta, delta);
                View motionView = getChildAt(mMotionPosition - mFirstPosition);
                int oldTop = 0;
                if (motionView != null) {
                    oldTop = motionView.getTop();
                }

                trackMotionScroll(delta, delta);


                if (more) {
                if (more && !atEnd) {
                    invalidate();
                    invalidate();
                    mLastFlingY = y;
                    mLastFlingY = y;
                    post(this);
                    post(this);
+1 −0
Original line number Original line Diff line number Diff line
@@ -1022,6 +1022,7 @@ public class HorizontalScrollView extends FrameLayout {
                    onScrollChanged(x, y, oldX, oldY);
                    onScrollChanged(x, y, oldX, oldY);
                }
                }
            }
            }
            awakenScrollBars();


            // Keep on drawing until the animation has finished.
            // Keep on drawing until the animation has finished.
            postInvalidate();
            postInvalidate();
+1 −0
Original line number Original line Diff line number Diff line
@@ -1023,6 +1023,7 @@ public class ScrollView extends FrameLayout {
                    onScrollChanged(x, y, oldX, oldY);
                    onScrollChanged(x, y, oldX, oldY);
                }
                }
            }
            }
            awakenScrollBars();


            // Keep on drawing until the animation has finished.
            // Keep on drawing until the animation has finished.
            postInvalidate();
            postInvalidate();