void (boolean willDragOutStart) { if (willDragOutStart) { myDragOutSource = myDragSource; } myTabs.resetTabsCache(); if (!willDragOutStart) { myTabs.fireTabsMoved(); } myTabs.relayout(true, false); myTabs.revalidate(); if (myDragSource != null) { TabInfo.DragDelegate delegate = myDragSource.getDragDelegate(); if (delegate != null) { delegate.dragFinishedOrCanceled(); } } myDragSource = null; dragRec = null; }