_getAlign(x, y) {
    const {
      innerWidth,
      innerHeight,
      orientation,
      align: {horizontal, vertical}
    } = this.props;
    const align = orientation
      ? this._mapOrientationToAlign(orientation)
      : {horizontal, vertical};
    if (horizontal === ALIGN.AUTO) {
      align.horizontal = x > innerWidth / 2 ? ALIGN.LEFT : ALIGN.RIGHT;
    }
    if (vertical === ALIGN.AUTO) {
      align.vertical = y > innerHeight / 2 ? ALIGN.TOP : ALIGN.BOTTOM;
    }
    return align;
  }
Obtain align object with horizontal and vertical settings
but convert any AUTO values to the non-auto ALIGN depending on the
values of x and y.
@param {number} x X value.
@param {number} y Y value.
@returns {Object} Align object w/ horizontal, vertical prop strings.
@private