Home
last modified time | relevance | path

Searched refs:frameMetrics (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DRenderingJitter.java218 public void onFrameMetricsAvailable(Window window, FrameMetrics frameMetrics,
220 if (frameMetrics.getMetric(FrameMetrics.FIRST_DRAW_FRAME) == 1) {
224 long uiDuration = frameMetrics.getMetric(FrameMetrics.INPUT_HANDLING_DURATION)
225 + frameMetrics.getMetric(FrameMetrics.ANIMATION_DURATION)
226 + frameMetrics.getMetric(FrameMetrics.LAYOUT_MEASURE_DURATION)
227 + frameMetrics.getMetric(FrameMetrics.DRAW_DURATION);
228 long rtDuration = frameMetrics.getMetric(FrameMetrics.SYNC_DURATION)
229 + frameMetrics.getMetric(FrameMetrics.COMMAND_ISSUE_DURATION);
230 long totalDuration = frameMetrics.getMetric(FrameMetrics.TOTAL_DURATION);
/frameworks/base/graphics/java/android/graphics/
DHardwareRendererObserver.java65 @NonNull long[] frameMetrics, @NonNull Handler handler, boolean waitForPresentTime) { in HardwareRendererObserver() argument
74 mFrameMetrics = frameMetrics; in HardwareRendererObserver()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DCollectorThread.java89 … public void onFrameMetricsAvailable(Window window, FrameMetrics frameMetrics, int dropCount) { in onFrameMetricsAvailable() argument
93 mFrameTimingStats.add(new FrameMetrics(frameMetrics)); in onFrameMetricsAvailable()
/frameworks/base/core/java/android/view/
DWindow.java699 void onFrameMetricsAvailable(Window window, FrameMetrics frameMetrics, in onFrameMetricsAvailable() argument