// 当DragView的父节点的大小改变时,需要调用该函数重新计算可拖动的范围 public void notifyParentSizeChange() { mDragViewComponent.notifyWindowParentSizeChange(); }