diff options
author | Andres Morales <anmorales@google.com> | 2016-02-02 16:19:40 -0800 |
---|---|---|
committer | Andres Morales <anmorales@google.com> | 2016-02-09 10:40:01 -0800 |
commit | 910beb8f5d9042163e2ad0dbb744d9f147db9604 (patch) | |
tree | 83f2bdb523fa6f78ac322b5eca1f0bc332e2fcd2 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 95728a5db6595e473acf8f428f238afc2fdbbe80 (diff) |
updates to FrameStatsObserver API
- Rename to FrameMetrics to avoid collision with existing
android.view.FrameStats class
- Make FrameMetricsObserver implementation detail,
exposing FrameMetricsListener interface as public API
and wrapping in FrameStatsObserver to maintain state
- Remove dropped frame count call, in favor of passing as
parameter to callback method.
- Move away from raw timestamp access in favor of Metric IDs
which represent higher-level, more stable stages in a frame
lifecycle and match the categories exposed in the onscreen
bars.
- Support many-to-many Window<->FrameMetricsListener relationship
Change-Id: I00e741d664d4c868b1b6d0131a23f8316bd8c5c2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions