Fix width calculation of TextView

The width of TextView should be drawing left offset to the right
most bounding box or total amount of advance.

Bug: 336410046
Test: atest CtsTextTestCases
Test: atest CtsGraphicsTestCases
Test: atest CtsViewTestCases
Test: atest CtsWidgetTestCases
Change-Id: I09888ca8ac7d8a149c75b129f23ffe034571291a
2 files changed