/** * @return True if the drag is started, false if the drag is cancelled for some reason. */ boolean handleDragStarted(int x, int y) { final View tileView = mDragItemContainer.getViewForLocation(x, y); if (tileView == null) { return false; } for (int i = 0; i < mOnDragDropListeners.size(); i++) { mOnDragDropListeners.get(i).onDragStarted(x, y, tileView); } return true; }