src/sap.m/src/sap/m/IconTabBarDragAndDropUtil.js
function (iBeginDragIndex, iControlCount) {
				if (iBeginDragIndex === iControlCount - 1) {
					sInsertAfterBeforePosition = INSERT_BEFORE;
					return iBeginDragIndex;
				}
				sInsertAfterBeforePosition = INSERT_AFTER;
				return iBeginDragIndex + 1;
			}
function (iBeginDragIndex, iControlCount) {
				if (iBeginDragIndex === iControlCount - 1) {
					sInsertAfterBeforePosition = INSERT_BEFORE;
					return iBeginDragIndex;
				}
				sInsertAfterBeforePosition = INSERT_AFTER;
				return iBeginDragIndex + 1;
			}
function ( iBeginDragIndex , iControlCount ) { if ( iBeginDragIndex === iControlCount - 1 ) { sInsertAfterBeforePosition = INSERT_BEFORE ; return iBeginDragIndex ; } sInsertAfterBeforePosition = INSERT_AFTER ; return iBeginDragIndex + 1 ; }
Increases the drop index.
@param {number} iBeginDragIndex Index of dragged control
@param {number} iControlCount Number of controls
@private
Increases the drop index .