CtsLeanbackJank: fix focus and pre-scroll delay.

The targetSdk of the app is set to 23 and the view is not marked as
focusable. It needs to explicitly add focusable="true" and
focusableInTouchMode="true" or the header will not be focused when
targetSdk is less than 26.

A pre-scroll delay is added because previously the test was scrolling
before the cards had been rendered and then they would not be rendered
during the test. To test the GPU workload that we want to test, we need
to ensure the cards are shown while scrolling so we wait a bit for them
to load before scrolling.

Test: cts-tradefed run cts -m CtsLeanbackJankTestCases
Bug: 118448019
Bug: 118439201
Change-Id: I5da89c8eb1780615d9906e0a7bf291e196be74d2
2 files changed