6 Commits

Author SHA1 Message Date
Adrian Salido
beefecc309 TouchLatency: make updates time based and add fps to ball mode
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
2018-11-27 18:14:38 -08:00
Carmen Jackson
286cfb1bba Add in-app tracepoints to TouchLatency app.
Test: Traced the TouchLatency app and saw the added tracepoints.
Change-Id: I72ab8f88731e635f98831f045dddd086a05acc3b
2018-07-02 14:40:23 -07:00
Ian Lake
c694d04682 Remove AppCompat from TouchLatency test
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
2017-07-10 18:12:46 +00:00
Aurimas Liutikas
19bda3d917 Remove usages of ActionBarActivity.
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
2017-05-18 10:51:48 -07:00
Alan Viverette
51efddbd3b Remove unnecessary casts on calls to findViewById
Just frameworks/ this time. More paths to come.

Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
2017-04-14 11:15:50 -04:00
John Reck
d136ce902c Add TouchLatency test
Change-Id: Ic3a788f6b06bf6477ab23b183fb8c76ae8870b6b
2016-08-08 13:32:34 -07:00