private CropWindowMoveHandler.Type getOvalPressedMoveType(float x, float y) {

    /*
       Use a 6x6 grid system divided into 9 "handles", with the center the biggest region. While
       this is not perfect, it's a good quick-to-ship approach.

       TL T T T T TR
        L C C C C R
        L C C C C R
        L C C C C R
        L C C C C R
       BL B B B B BR
    */

    float cellLength = mEdges.width() / 6;
    float leftCenter = mEdges.left + cellLength;
    float rightCenter = mEdges.left + (5 * cellLength);

    float cellHeight = mEdges.height() / 6;
    float topCenter = mEdges.top + cellHeight;
    float bottomCenter = mEdges.top + 5 * cellHeight;

    CropWindowMoveHandler.Type moveType;
    if (x < leftCenter) {
      if (y < topCenter) {
        moveType = CropWindowMoveHandler.Type.TOP_LEFT;
      } else if (y < bottomCenter) {
        moveType = CropWindowMoveHandler.Type.LEFT;
      } else {
        moveType = CropWindowMoveHandler.Type.BOTTOM_LEFT;
      }
    } else if (x < rightCenter) {
      if (y < topCenter) {
        moveType = CropWindowMoveHandler.Type.TOP;
      } else if (y < bottomCenter) {
        moveType = CropWindowMoveHandler.Type.CENTER;
      } else {
        moveType = CropWindowMoveHandler.Type.BOTTOM;
      }
    } else {
      if (y < topCenter) {
        moveType = CropWindowMoveHandler.Type.TOP_RIGHT;
      } else if (y < bottomCenter) {
        moveType = CropWindowMoveHandler.Type.RIGHT;
      } else {
        moveType = CropWindowMoveHandler.Type.BOTTOM_RIGHT;
      }
    }

    return moveType;
  }
Determines which, if any, of the handles are pressed given the touch coordinates, the bounding
box/oval, and the touch radius.

@param x the x-coordinate of the touch point
@param y the y-coordinate of the touch point
@return the Handle that was pressed; null if no Handle was pressed
core/src/main/java/com/theartofdev/edmodo/cropper/CropWindowHandler.java