public boolean isEdgeTouched(int edges) {
        final int count = mInitialEdgesTouched.length;
        for (int i = 0; i < count; i++) {
            if (isEdgeTouched(edges, i)) {
                return true;
            }
        }
        return false;
    }
Check if any of the edges specified were initially touched in the currently active gesture.
If there is no currently active gesture this method will return false.

@param edges Edges to check for an initial edge touch. See {@link #EDGE_LEFT},
             {@link #EDGE_TOP}, {@link #EDGE_RIGHT}, {@link #EDGE_BOTTOM} and
             {@link #EDGE_ALL}
@return true if any of the edges specified were initially touched in the current gesture
app/src/main/java/home/smart/fly/animations/widget/slidepanel/ViewDragHelper.java