Text this: Eigenvalue-based algorithm and analysis for nonconvex QCQP with one constraint