src/sap.m/src/sap/m/IconTabBarDragAndDropUtil.js
function (aItems, oDraggedControl, oDroppedControl) {
				var oDroppedListControl,
					oDraggedListControl,
					sItemId,
					sDroppedControlId,
					sDraggedControlId;

				sDraggedControlId = oDraggedControl._tabFilter ? oDraggedControl._tabFilter.getId() : oDraggedControl.getId();
				sDroppedControlId = oDroppedControl._tabFilter ? oDroppedControl._tabFilter.getId() : oDroppedControl.getId();


				if (!aItems && !oDraggedControl && !oDroppedControl) {
					return;
				}
				aItems.forEach(function (oItem) {
					sItemId = oItem._tabFilter.getId();
					if (!sItemId) {
						return;
					}
					if (sItemId === sDroppedControlId) {
						oDroppedListControl = oItem;
					}
					if (sItemId === sDraggedControlId) {
						oDraggedListControl = oItem;
					}
				});

				return {oDraggedControlFromList: oDraggedListControl, oDroppedControlFromList: oDroppedListControl};
			}
function (aItems, oDraggedControl, oDroppedControl) {
				var oDroppedListControl,
					oDraggedListControl,
					sItemId,
					sDroppedControlId,
					sDraggedControlId;

				sDraggedControlId = oDraggedControl._tabFilter ? oDraggedControl._tabFilter.getId() : oDraggedControl.getId();
				sDroppedControlId = oDroppedControl._tabFilter ? oDroppedControl._tabFilter.getId() : oDroppedControl.getId();


				if (!aItems && !oDraggedControl && !oDroppedControl) {
					return;
				}
				aItems.forEach(function (oItem) {
					sItemId = oItem._tabFilter.getId();
					if (!sItemId) {
						return;
					}
					if (sItemId === sDroppedControlId) {
						oDroppedListControl = oItem;
					}
					if (sItemId === sDraggedControlId) {
						oDraggedListControl = oItem;
					}
				});

				return {oDraggedControlFromList: oDraggedListControl, oDroppedControlFromList: oDroppedListControl};
			}
function ( aItems , oDraggedControl , oDroppedControl ) { var oDroppedListControl , oDraggedListControl , sItemId , sDroppedControlId , sDraggedControlId ; sDraggedControlId = oDraggedControl . _tabFilter ? oDraggedControl . _tabFilter . getId ( ) : oDraggedControl . getId ( ) ; sDroppedControlId = oDroppedControl . _tabFilter ? oDroppedControl . _tabFilter . getId ( ) : oDroppedControl . getId ( ) ; if ( ! aItems && ! oDraggedControl && ! oDroppedControl ) { return ; } aItems . forEach ( function ( oItem ) { sItemId = oItem . _tabFilter . getId ( ) ; if ( ! sItemId ) { return ; } if ( sItemId === sDroppedControlId ) { oDroppedListControl = oItem ; } if ( sItemId === sDraggedControlId ) { oDraggedListControl = oItem ; } } ) ; return { oDraggedControlFromList : oDraggedListControl , oDroppedControlFromList : oDroppedListControl } ; }
Retrieves drag and drop controls from sap.m.IconTabBarSelectList context.
@param {array} aItems items of sap.m.IconTabBarSelectList
@param {object} oDraggedControl item that is dragged
@param {object} oDroppedControl item that the dragged control will be dropped on
Retrieves drag and drop controls from sap . m . IconTabBarSelectList context .