private Cell checkForNewHit(float x, float y) {

        final int rowHit = getRowHit(y);
        if (rowHit < 0) {
            return null;
        }
        final int columnHit = getColumnHit(x);
        if (columnHit < 0) {
            return null;
        }

        if (cellManager.isDrawn(rowHit, columnHit)) {
            return null;
        }
        return cellManager.get(rowHit, columnHit);
    }
Determines whether the point x, y will add a new point to the current
pattern (in addition to finding the cell, also makes heuristic choices
such as filling in gaps based on current pattern).

@param x The x coordinate.
@param y The y coordinate.
android-patternview/src/main/java/com/eftimoff/patternview/PatternView.java