Make ball updates time based instead of based on number of onDraw calls.
Also adding fps count to see how often frames are being updated, make
the color of the ball based on fps. This helps notice when there are
possible janks or change in refresh rate.
Test: gradlew build and run manual test of TouchLatency app
Change-Id: Ic2c2eb0fbd9fb31dddeee3228d6ab971a4f7f5e8
Ensure the TouchLatency test accurately reflects the latest
framework and removes the need to update TouchLatency test
as Support Library evolves.
Test: ./gradlew assembleDebug works
BUG: 28983951
Change-Id: Icce773f47674f94cad5f9057cce4913b7efce834
ActionBarActivity has been deprecated for 2+ years and has been
extending AppCompatActivity for all that time. These changes
should be no-ops.
Bug: 35253513
Test: None
Change-Id: Ica46ccbc2b29a6a3399f7deed6045c1f7e1cd429