|
Separate motion event touch geometry orientation from stylus orientation.
On Android, motion event orientation is overloaded thus it has different
meanings and ranges for touch screens and pads and for styluses. As that
overloading is harmful, do not carry it on but break it in
AndroidMotionEvent.
This change aligns touch geometry rotation angles with TouchEvent spec
for cases when stylus orientation does not fall in [-90, 90] range.
BUG= 492239
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+55 lines, -35 lines) |
Patch |
|
M |
components/html_viewer/touch_handler.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/motion_event_android.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/motion_event_android.cc
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/motion_event_android_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/motion_event_web.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/motion_event_web.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/input/web_input_event_util_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/events/blink/blink_event_util.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/events/gesture_detection/motion_event.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/events/gesture_detection/motion_event_buffer_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/events/gesture_detection/motion_event_generic.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/events/gesture_detection/motion_event_generic.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/events/gesture_detection/motion_event_generic_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/events/gestures/motion_event_aura.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/events/gestures/motion_event_aura_unittest.cc
|
View
|
|
6 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
ui/events/test/motion_event_test_utils.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 15 (3 generated)
|