| 446 | } |
| 447 | |
| 448 | class PinchGestureEventData implements PinchGestureEventData { |
| 449 | public type = GestureTypes.pinch; |
| 450 | public eventName = toString(GestureTypes.pinch); |
| 451 | public ios; |
| 452 | |
| 453 | constructor( |
| 454 | public view: View, |
| 455 | public android: android.view.ScaleGestureDetector, |
| 456 | public scale: number, |
| 457 | public object: any, |
| 458 | public state: GestureStateTypes, |
| 459 | ) {} |
| 460 | |
| 461 | getFocusX(): number { |
| 462 | return this.android.getFocusX() / layout.getDisplayDensity(); |
| 463 | } |
| 464 | getFocusY(): number { |
| 465 | return this.android.getFocusY() / layout.getDisplayDensity(); |
| 466 | } |
| 467 | } |
| 468 | |
| 469 | class CustomPanGestureDetector { |
| 470 | private observer: GesturesObserver; |
nothing calls this directly
no test coverage detected