blob: 0e48c45e8657c7362e091433d53565f7fae0fb24 [file] [log] [blame]
Tests Input.dispatchTouchEvent method.
------- Sequence 1 ------
Dispatching event:
touchStart with 1 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 200
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchMove with 1 touch points
-----Event-----
type: touchmove
----Touches----
id: 0
pageX: 200
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchEnd with 0 touch points
-----Event-----
type: touchend
----Touches----
------- Sequence 2 ------
Dispatching event:
touchStart with 2 touch points
-----Event-----
type: touchstart
shiftKey
----Touches----
id: 0
pageX: 20
pageY: 30
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
-----Event-----
type: touchstart
shiftKey
----Touches----
id: 0
pageX: 20
pageY: 30
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
id: 1
pageX: 100
pageY: 200
radiusX: 5
radiusY: 6
rotationAngle: 1
force: 0
Dispatching event:
touchEnd with 0 touch points
-----Event-----
type: touchend
shiftKey
----Touches----
id: 0
pageX: 100
pageY: 200
radiusX: 5
radiusY: 6
rotationAngle: 1
force: 0
-----Event-----
type: touchend
----Touches----
------- Sequence 3 ------
Dispatching event:
touchStart with 1 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 20
pageY: 30
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchMove with 2 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 20
pageY: 30
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
id: 1
pageX: 100
pageY: 200
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchMove with 2 touch points
-----Event-----
type: touchmove
----Touches----
id: 0
pageX: 25
pageY: 36
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
id: 1
pageX: 101
pageY: 202
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchMove with 1 touch points
-----Event-----
type: touchmove
----Touches----
id: 0
pageX: 25
pageY: 36
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
id: 1
pageX: 103
pageY: 203
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchEnd with 0 touch points
-----Event-----
type: touchend
----Touches----
id: 0
pageX: 103
pageY: 203
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
-----Event-----
type: touchend
----Touches----
------- Sequence 4 ------
Dispatching event:
touchEnd with 0 touch points
------- Sequence 5 ------
Dispatching event:
touchStart with 0 touch points
------- Sequence 6 ------
Dispatching event:
touchStart with 1 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchCancel with 1 touch points
Dispatching event:
touchCancel with 0 touch points
-----Event-----
type: touchcancel
----Touches----
------- Sequence 7 ------
Dispatching event:
touchStart with 1 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchMove with 1 touch points
Dispatching event:
touchMove with 1 touch points
Dispatching event:
touchEnd with 0 touch points
-----Event-----
type: touchend
----Touches----
------- Sequence 8 ------
Dispatching event:
touchStart with 1 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchMove with 1 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
id: 1
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchCancel with 0 touch points
-----Event-----
type: touchcancel
----Touches----
------- Sequence 9 ------
Dispatching event:
touchStart with 1 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchStart with 2 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
id: 1
pageX: 150
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchMove with 2 touch points
-----Event-----
type: touchmove
----Touches----
id: 0
pageX: 100
pageY: 150
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
id: 1
pageX: 150
pageY: 150
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchEnd with 0 touch points
-----Event-----
type: touchend
----Touches----
id: 0
pageX: 150
pageY: 150
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
-----Event-----
type: touchend
----Touches----
------- Sequence 10 ------
Dispatching event:
touchStart with 2 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
id: 1
pageX: 150
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchCancel with 0 touch points
-----Event-----
type: touchcancel
----Touches----
------- Sequence 11 ------
Dispatching event:
touchStart with 1 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchStart with 1 touch points
-----Event-----
type: touchstart
----Touches----
id: 0
pageX: 100
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
id: 1
pageX: 150
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchMove with 1 touch points
-----Event-----
type: touchmove
----Touches----
id: 0
pageX: 100
pageY: 150
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
id: 1
pageX: 150
pageY: 100
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchEnd with 1 touch points
-----Event-----
type: touchend
----Touches----
id: 0
pageX: 100
pageY: 150
radiusX: 1
radiusY: 1
rotationAngle: 0
force: 1
Dispatching event:
touchEnd with 0 touch points
-----Event-----
type: touchend
----Touches----
------- Done ------