Added an overloaded version with (float x, float y). Fixes: 28295818 Change-Id: I41c2bf225964436655986b3ad4d0c630c658e38b