src/sap.ui.core/src/sap/ui/events/TouchToMouseMapping.js
function(oEvent) {
			var oTouches = oEvent.touches,
				oTouch;

			bHandleEvent = (oTouches.length == 1 && !isInputField(oEvent));

			bIsMoved = false;
			if (bHandleEvent) {
				oTouch = oTouches[0];

				// As we are only interested in the first touch target, we remember it
				oTarget = oTouch.target;
				if (oTarget.nodeType === 3) {

					// no text node
					oTarget = oTarget.parentNode;
				}

				// Remember the start position of the first touch to determine if a click was performed or not.
				iStartX = oTouch.clientX;
				iStartY = oTouch.clientY;
				fireMouseEvent("mousedown", oEvent);
			}
		}
function(oEvent) {
			var oTouches = oEvent.touches,
				oTouch;

			bHandleEvent = (oTouches.length == 1 && !isInputField(oEvent));

			bIsMoved = false;
			if (bHandleEvent) {
				oTouch = oTouches[0];

				// As we are only interested in the first touch target, we remember it
				oTarget = oTouch.target;
				if (oTarget.nodeType === 3) {

					// no text node
					oTarget = oTarget.parentNode;
				}

				// Remember the start position of the first touch to determine if a click was performed or not.
				iStartX = oTouch.clientX;
				iStartY = oTouch.clientY;
				fireMouseEvent("mousedown", oEvent);
			}
		}
function ( oEvent ) { var oTouches = oEvent . touches , oTouch ; bHandleEvent = ( oTouches . length == 1 && ! isInputField ( oEvent ) ) ; bIsMoved = false ; if ( bHandleEvent ) { oTouch = oTouches [ 0 ] ; // As we are only interested in the first touch target, we remember it oTarget = oTouch . target ; if ( oTarget . nodeType === 3 ) { // no text node oTarget = oTarget . parentNode ; } // Remember the start position of the first touch to determine if a click was performed or not. iStartX = oTouch . clientX ; iStartY = oTouch . clientY ; fireMouseEvent ( "mousedown" , oEvent ) ; } }
Touch start event handler. Called whenever a finger is added to the surface. Fires mouse start event.
@param {jQuery.Event} oEvent the event object
@private
Touch start event handler . Called whenever a finger is added to the surface . Fires mouse start event .