Merge "Use root view's width instead of screen width" into android14-tests-dev