Searched refs:sortedRenderTimes (Results 1 – 3 of 3) sorted by relevance
/external/lottie/lottie/src/test/java/com/airbnb/lottie/ |
D | PerformanceTrackerTest.java | 34 List<Pair<String, Float>> sortedRenderTimes = performanceTracker.getSortedRenderTimes(); in testOneFrame() local 35 assertThat(sortedRenderTimes.size(), equalTo(1)); in testOneFrame() 36 assertThat(sortedRenderTimes.get(0).first, equalTo("Hello")); in testOneFrame() 37 assertThat(sortedRenderTimes.get(0).second, equalTo(16f)); in testOneFrame() 44 List<Pair<String, Float>> sortedRenderTimes = performanceTracker.getSortedRenderTimes(); in testTwoFrames() local 45 assertThat(sortedRenderTimes.size(), equalTo(1)); in testTwoFrames() 46 assertThat(sortedRenderTimes.get(0).first, equalTo("Hello")); in testTwoFrames() 47 assertThat(sortedRenderTimes.get(0).second, equalTo(12f)); in testTwoFrames() 54 List<Pair<String, Float>> sortedRenderTimes = performanceTracker.getSortedRenderTimes(); in testTwoLayers() local 55 assertThat(sortedRenderTimes.size(), equalTo(2)); in testTwoLayers() [all …]
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/ |
D | PerformanceTracker.java | 78 List<Pair<String, Float>> sortedRenderTimes = getSortedRenderTimes(); in logRenderTimes() local 80 for (int i = 0; i < sortedRenderTimes.size(); i++) { in logRenderTimes() 81 Pair<String, Float> layer = sortedRenderTimes.get(i); in logRenderTimes() 90 List<Pair<String, Float>> sortedRenderTimes = new ArrayList<>(layerRenderTimes.size()); in getSortedRenderTimes() local 92 sortedRenderTimes.add(new Pair<>(e.getKey(), e.getValue().getMean())); in getSortedRenderTimes() 94 Collections.sort(sortedRenderTimes, floatComparator); in getSortedRenderTimes() 95 return sortedRenderTimes; in getSortedRenderTimes()
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | PlayerFragment.kt | 461 animationView.performanceTracker?.sortedRenderTimes?.forEach { in <lambda>()
|