diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2010-02-05 13:55:16 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2010-02-05 13:55:16 -0800 |
commit | ad9bcb22d05fbf130ac64254abd51a137e9a3d3f (patch) | |
tree | 51ef94ac11b8822b27b06da4669375863ece12b8 /test-runner | |
parent | 0af0449301e72a52beeed8f26021e5460004d67a (diff) | |
parent | 7d039fbe07687c9046b23b9a3735fe8f95906dde (diff) | |
download | frameworks_base-ad9bcb22d05fbf130ac64254abd51a137e9a3d3f.zip frameworks_base-ad9bcb22d05fbf130ac64254abd51a137e9a3d3f.tar.gz frameworks_base-ad9bcb22d05fbf130ac64254abd51a137e9a3d3f.tar.bz2 |
merge from open-source master
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/android/test/TouchUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-runner/android/test/TouchUtils.java b/test-runner/android/test/TouchUtils.java index 962b2f9..69c6d2d 100644 --- a/test-runner/android/test/TouchUtils.java +++ b/test-runner/android/test/TouchUtils.java @@ -773,7 +773,7 @@ public class TouchUtils { float xStep = (toX - fromX) / stepCount; MotionEvent event = MotionEvent.obtain(downTime, eventTime, - MotionEvent.ACTION_DOWN, fromX, y, 0); + MotionEvent.ACTION_DOWN, x, y, 0); inst.sendPointerSync(event); inst.waitForIdleSync(); @@ -787,7 +787,7 @@ public class TouchUtils { } eventTime = SystemClock.uptimeMillis(); - event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, fromX, y, 0); + event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); inst.sendPointerSync(event); inst.waitForIdleSync(); } |