Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10395)

Issue 4664055: Advanced Touch API - SingleTap gesture: initial tests, API and Android implementation

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by juantrujillo
Modified:
12 years, 8 months ago
Reviewers:
Eran, berrada
CC:
webdriver-eng_google.com, simonstewart
Base URL:
http://selenium.googlecode.com/svn/trunk/
Visibility:
Public.

Description

This is the initial part of the Advanced touch API, including the single tap gesture with some basic tests, use of the API and the associated implementation for Android.

Patch Set 1 #

Total comments: 43

Patch Set 2 : SingleTap Android impklementation changed and code refactor #

Total comments: 88

Patch Set 3 : Advanced Touch API for Android - Patch to include Dounia's and Eran's comments for SingleTap gesture #

Total comments: 67

Patch Set 4 : Advanced Touch API for Android - Patch for singleTapGesture #

Total comments: 23

Patch Set 5 : Advanced touch API for Android - Patch for SingleTap gesture fixing naming conventions #

Total comments: 29

Patch Set 6 : Advanced touch API for Android - Patch for SingleTap gesture reusing available code #

Patch Set 7 : Minor fix in build file - java/client/src/org/openqa/selenium/interactions/internal/build.desc #

Patch Set 8 : Advanced Touch API for Android - Removing unused variable in RemoteWebDriver #

Total comments: 28

Patch Set 9 : Advanced Touch API - SingleTap: Minor comments #

Patch Set 10 : Advanced Touch API - SingleTap - Fixing last event detection in sequence of motion events #

Patch Set 11 : Advanced touch API - Single Tap - Fixing detection of last motion event in sequence #

Patch Set 12 : Advanced Touch API - Single Tap - Removed dependency on System Clock time for ME #

Patch Set 13 : Advanced Touch API - SingleTap #

Patch Set 14 : Advanced TOuch API - SingleTap - Indentation fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+929 lines, -201 lines) Patch
M android/src/java/org/openqa/selenium/android/ActivityController.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 16 chunks +73 lines, -48 lines 0 comments Download
A android/src/java/org/openqa/selenium/android/AndroidCoordinates.java View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
M android/src/java/org/openqa/selenium/android/AndroidDriver.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 13 chunks +33 lines, -26 lines 0 comments Download
A android/src/java/org/openqa/selenium/android/AndroidTouchScreen.java View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +71 lines, -0 lines 0 comments Download
M android/src/java/org/openqa/selenium/android/AndroidWebElement.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +31 lines, -11 lines 0 comments Download
M android/src/java/org/openqa/selenium/android/app/MainActivity.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 chunks +54 lines, -51 lines 0 comments Download
M android/src/java/org/openqa/selenium/android/app/WebDriverWebView.java View 1 2 3 4 5 6 7 8 9 10 11 12 11 chunks +44 lines, -31 lines 0 comments Download
M android/src/java/org/openqa/selenium/android/events/TouchScreen.java View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +13 lines, -9 lines 0 comments Download
A java/client/src/org/openqa/selenium/HasTouchScreen.java View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +26 lines, -0 lines 0 comments Download
A java/client/src/org/openqa/selenium/TouchScreen.java View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +28 lines, -0 lines 0 comments Download
M java/client/src/org/openqa/selenium/android/AndroidDriver.java View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +15 lines, -5 lines 0 comments Download
M java/client/src/org/openqa/selenium/build.desc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download
M java/client/src/org/openqa/selenium/interactions/Actions.java View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +18 lines, -3 lines 0 comments Download
A java/client/src/org/openqa/selenium/interactions/internal/DisplayAction.java View 1 2 3 4 5 6 7 8 1 chunk +35 lines, -0 lines 0 comments Download
A java/client/src/org/openqa/selenium/interactions/internal/TouchAction.java View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
A java/client/src/org/openqa/selenium/interactions/internal/build.desc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
A java/client/src/org/openqa/selenium/interactions/touch/SingleTapAction.java View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
A java/client/src/org/openqa/selenium/interactions/touch/TouchActions.java View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
A java/client/src/org/openqa/selenium/interactions/touch/build.desc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
A java/client/src/org/openqa/selenium/remote/CoordinatesUtils.java View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +41 lines, -0 lines 0 comments Download
M java/client/src/org/openqa/selenium/remote/DriverCommand.java View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -2 lines 0 comments Download
M java/client/src/org/openqa/selenium/remote/HttpCommandExecutor.java View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +7 lines, -2 lines 0 comments Download
A java/client/src/org/openqa/selenium/remote/RemoteTouchScreen.java View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
M java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +10 lines, -8 lines 0 comments Download
M java/client/src/org/openqa/selenium/remote/build.desc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M java/client/src/org/openqa/selenium/support/events/EventFiringWebDriver.java View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +13 lines, -1 line 0 comments Download
A java/client/src/org/openqa/selenium/support/events/internal/EventFiringTouch.java View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
M java/client/test/org/openqa/selenium/StubDriver.java View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +8 lines, -3 lines 0 comments Download
A java/client/test/org/openqa/selenium/TouchSingleTapTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +67 lines, -0 lines 0 comments Download
M java/client/test/org/openqa/selenium/build.desc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M java/server/src/org/openqa/selenium/remote/server/DriverServlet.java View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -1 line 0 comments Download
A java/server/src/org/openqa/selenium/remote/server/handler/interactions/touch/SingleTapOnElement.java View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 37
juantrujillo
12 years, 10 months ago (2011-06-29 17:34:20 UTC) #1
berrada
Hi Juan, Sorry for the delayed review. Here is a first set of comments. Cheers, ...
12 years, 9 months ago (2011-07-12 00:10:20 UTC) #2
juantrujillo
12 years, 9 months ago (2011-07-18 16:35:09 UTC) #3
juantrujillo
Hi, I have included changes to consider the feedback and uploaded a new set of ...
12 years, 9 months ago (2011-07-18 16:36:30 UTC) #4
Eran
Hi Juan, Here are the main points: * Re-use existing wire protocol commands where appropriate ...
12 years, 9 months ago (2011-07-20 14:03:21 UTC) #5
berrada
Hi Juan, Here is another set of comment, I only went through the first set ...
12 years, 9 months ago (2011-07-20 18:07:45 UTC) #6
juantrujillo
Hi all, I am currently working in the code refactor to address both Eran's and ...
12 years, 9 months ago (2011-07-22 22:21:24 UTC) #7
juantrujillo
12 years, 9 months ago (2011-07-23 21:13:02 UTC) #8
juantrujillo
Hi all, I have uploaded the patch to include Dounia's and Eran's comments. Thanks! Juan. ...
12 years, 9 months ago (2011-07-23 21:15:17 UTC) #9
Eran
Hope this answers your questions. http://codereview.appspot.com/4664055/diff/8001/java/client/src/org/openqa/selenium/interactions/Actions.java File java/client/src/org/openqa/selenium/interactions/Actions.java (right): http://codereview.appspot.com/4664055/diff/8001/java/client/src/org/openqa/selenium/interactions/Actions.java#newcode53 java/client/src/org/openqa/selenium/interactions/Actions.java:53: On 2011/07/22 22:21:24, juantrujillo ...
12 years, 9 months ago (2011-07-25 13:19:53 UTC) #10
berrada
http://codereview.appspot.com/4664055/diff/18004/android/src/java/org/openqa/selenium/android/ActivityController.java File android/src/java/org/openqa/selenium/android/ActivityController.java (right): http://codereview.appspot.com/4664055/diff/18004/android/src/java/org/openqa/selenium/android/ActivityController.java#newcode345 android/src/java/org/openqa/selenium/android/ActivityController.java:345: return lastEventInSequence; This should be synchronized. http://codereview.appspot.com/4664055/diff/18004/android/src/java/org/openqa/selenium/android/AndroidCoordinates.java File android/src/java/org/openqa/selenium/android/AndroidCoordinates.java ...
12 years, 9 months ago (2011-07-25 18:09:21 UTC) #11
juantrujillo
12 years, 9 months ago (2011-07-27 01:10:07 UTC) #12
juantrujillo
Hi, I have submitted a new patch addressing the comments for singleTapGesture. Thanks! Juan. http://codereview.appspot.com/4664055/diff/18004/android/src/java/org/openqa/selenium/android/ActivityController.java ...
12 years, 9 months ago (2011-07-27 01:11:01 UTC) #13
berrada
Looks good overall, some minor comments. We're almost there! http://codereview.appspot.com/4664055/diff/19003/android/src/java/org/openqa/selenium/android/ActivityController.java File android/src/java/org/openqa/selenium/android/ActivityController.java (right): http://codereview.appspot.com/4664055/diff/19003/android/src/java/org/openqa/selenium/android/ActivityController.java#newcode16 android/src/java/org/openqa/selenium/android/ActivityController.java:16: ...
12 years, 9 months ago (2011-07-28 15:30:38 UTC) #14
juantrujillo
12 years, 9 months ago (2011-07-28 23:45:25 UTC) #15
juantrujillo
Hi, I have uploaded a new patch addressing the comments. Thanks, Juan. http://codereview.appspot.com/4664055/diff/19003/android/src/java/org/openqa/selenium/android/ActivityController.java File android/src/java/org/openqa/selenium/android/ActivityController.java ...
12 years, 9 months ago (2011-07-28 23:47:05 UTC) #16
Eran
Hi, here are my remaining comments - looks much better now, almost done. The only ...
12 years, 9 months ago (2011-07-29 13:33:43 UTC) #17
juantrujillo
12 years, 9 months ago (2011-07-30 00:08:34 UTC) #18
juantrujillo
Hi, I have submitted a new patch fixing the code with the comments Eran made. ...
12 years, 9 months ago (2011-07-30 00:10:15 UTC) #19
juantrujillo
12 years, 9 months ago (2011-07-30 00:31:57 UTC) #20
Eran
http://codereview.appspot.com/4664055/diff/33002/java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java File java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java (right): http://codereview.appspot.com/4664055/diff/33002/java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java#newcode71 java/client/src/org/openqa/selenium/remote/RemoteWebDriver.java:71: private JsonToWebElementConverter converter; On 2011/07/30 00:10:15, juantrujillo wrote: > ...
12 years, 9 months ago (2011-08-01 12:32:31 UTC) #21
juantrujillo
12 years, 9 months ago (2011-08-02 16:48:14 UTC) #22
juantrujillo
Hi, I have submitted a new patch fixing the unused variable in RemoteWebDriver. Thanks! Juan. ...
12 years, 9 months ago (2011-08-02 16:50:24 UTC) #23
Eran
This is probably for a separate CL, but (as Simon suggested) we could have the ...
12 years, 9 months ago (2011-08-04 14:25:53 UTC) #24
berrada
Hi Juan, Couple more comments. We're almost there! http://codereview.appspot.com/4664055/diff/34003/android/src/java/org/openqa/selenium/android/AndroidCoordinates.java File android/src/java/org/openqa/selenium/android/AndroidCoordinates.java (right): http://codereview.appspot.com/4664055/diff/34003/android/src/java/org/openqa/selenium/android/AndroidCoordinates.java#newcode34 android/src/java/org/openqa/selenium/android/AndroidCoordinates.java:34: return ...
12 years, 9 months ago (2011-08-04 20:34:29 UTC) #25
juantrujillo
Eran, I agree this change should probably included on a separate CL. On 2011/08/04 14:25:53, ...
12 years, 9 months ago (2011-08-05 18:53:58 UTC) #26
juantrujillo
Hi, I have included some comments that I would like to verify before submitting a ...
12 years, 9 months ago (2011-08-05 18:54:29 UTC) #27
berrada
Hi Juan, Couple more comments. I don't see the changes you made, did you forget ...
12 years, 8 months ago (2011-08-08 20:40:37 UTC) #28
juantrujillo
12 years, 8 months ago (2011-08-10 00:48:22 UTC) #29
juantrujillo
Hi, I uploaded a new patch for single tap addressing the comments. Thanks a lot! ...
12 years, 8 months ago (2011-08-10 00:51:58 UTC) #30
juantrujillo
12 years, 8 months ago (2011-08-12 23:03:23 UTC) #31
berrada
LGTM On 2011/08/12 23:03:23, juantrujillo wrote:
12 years, 8 months ago (2011-08-12 23:12:05 UTC) #32
juantrujillo
12 years, 8 months ago (2011-08-12 23:19:29 UTC) #33
juantrujillo
12 years, 8 months ago (2011-08-15 17:11:18 UTC) #34
juantrujillo
12 years, 8 months ago (2011-08-16 23:25:24 UTC) #35
juantrujillo
12 years, 8 months ago (2011-08-17 00:46:53 UTC) #36
berrada
12 years, 8 months ago (2011-08-17 20:31:02 UTC) #37
On 2011/08/17 00:46:53, juantrujillo wrote:

Submitted in r 13423
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b