Home
last modified time | relevance | path

Searched refs:performanceTracker (Results 1 – 2 of 2) sorted by relevance

/external/lottie/lottie/src/test/java/com/airbnb/lottie/
DPerformanceTrackerTest.java16 private PerformanceTracker performanceTracker; field in PerformanceTrackerTest
20 performanceTracker = new PerformanceTracker(); in setup()
21 performanceTracker.setEnabled(true); in setup()
26 performanceTracker.setEnabled(false); in testDisabled()
27 performanceTracker.recordRenderTime("Hello", 16f); in testDisabled()
28 assertTrue(performanceTracker.getSortedRenderTimes().isEmpty()); in testDisabled()
33 performanceTracker.recordRenderTime("Hello", 16f); in testOneFrame()
34 List<Pair<String, Float>> sortedRenderTimes = performanceTracker.getSortedRenderTimes(); in testOneFrame()
42 performanceTracker.recordRenderTime("Hello", 16f); in testTwoFrames()
43 performanceTracker.recordRenderTime("Hello", 8f); in testTwoFrames()
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DLottieComposition.java42 private final PerformanceTracker performanceTracker = new PerformanceTracker(); field in LottieComposition
124 performanceTracker.setEnabled(enabled); in setPerformanceTrackingEnabled()
128 return performanceTracker; in getPerformanceTracker()