AutoSize TextView - fix measurements [CTS]

Test for fixing measurements by removing the
BoringLayout calculations. The newly added test
also verifies that the basic way of declaring an
auto-sized text view works. Also padded some calls
with waitForIdleSync() to decrease possible flakiness.

Bug: 36940118
Test: cts-tradefed run cts-dev -m CtsWidgetTestCases -t\
      android.widget.cts.TextViewTest

Change-Id: I523fedf5366a87b8bee3dd422aa208d6dfd064f1
2 files changed