diff options
| author | Adam Powell <adamp@google.com> | 2010-02-25 11:21:14 -0800 |
|---|---|---|
| committer | Adam Powell <adamp@google.com> | 2010-02-25 16:05:26 -0800 |
| commit | 4cd47702f00a2fd6d6bc16c5398edb884d98bdca (patch) | |
| tree | 5b715cb3aca9e6f40fb657d4c35766a9cd3152f3 /core/java/android/widget/ScrollView.java | |
| parent | 5be65ab5b9c57028f9af70b283b4e43515f5bd04 (diff) | |
HorizontalScrollView multitouch scroll and only grip on content
AbsListView multitouch scroll and only grip on content
Diffstat (limited to 'core/java/android/widget/ScrollView.java')
| -rw-r--r-- | core/java/android/widget/ScrollView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/widget/ScrollView.java b/core/java/android/widget/ScrollView.java index fd2405818b8f..489c44dbb274 100644 --- a/core/java/android/widget/ScrollView.java +++ b/core/java/android/widget/ScrollView.java @@ -427,7 +427,7 @@ public class ScrollView extends FrameLayout { case MotionEvent.ACTION_DOWN: { final float y = ev.getY(); - if (!inChild((int)ev.getX(), (int)y)) { + if (!inChild((int) ev.getX(), (int) y)) { mIsBeingDragged = false; break; } @@ -493,7 +493,7 @@ public class ScrollView extends FrameLayout { } final float y = ev.getY(); - if (!(mIsBeingDragged = inChild((int)ev.getX(), (int)y))) { + if (!(mIsBeingDragged = inChild((int) ev.getX(), (int) y))) { return false; } |
