mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
tslint
This commit is contained in:
@ -396,16 +396,16 @@ function _getLongPressArgs(type: GestureTypes, view: View, state: GestureStateTy
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _getDoubleTapArgs(view: View, e: android.view.MotionEvent): DoubleTapGestureEventData {
|
function _getDoubleTapArgs(view: View, e: android.view.MotionEvent): DoubleTapGestureEventData {
|
||||||
return <DoubleTapGestureEventData>{
|
return <DoubleTapGestureEventData>{
|
||||||
type: GestureTypes.doubleTap,
|
type: GestureTypes.doubleTap,
|
||||||
view: view,
|
view: view,
|
||||||
android: e,
|
android: e,
|
||||||
locationX: e.getX() / layout.getDisplayDensity(),
|
locationX: e.getX() / layout.getDisplayDensity(),
|
||||||
locationY: e.getY() / layout.getDisplayDensity(),
|
locationY: e.getY() / layout.getDisplayDensity(),
|
||||||
ios: undefined,
|
ios: undefined,
|
||||||
object: view,
|
object: view,
|
||||||
eventName: toString(GestureTypes.doubleTap),
|
eventName: toString(GestureTypes.doubleTap),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
function _getSwipeArgs(direction: SwipeDirection, view: View,
|
function _getSwipeArgs(direction: SwipeDirection, view: View,
|
||||||
|
Reference in New Issue
Block a user