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/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/jni/
Dandroid_view_ThreadedRenderer.cpp67 jfieldID frameMetrics; member
469 jobject frameMetrics = env->GetObjectField( in get_metrics_buffer() local
470 observer, gFrameMetricsObserverClassInfo.frameMetrics); in get_metrics_buffer()
471 LOG_ALWAYS_FATAL_IF(frameMetrics == nullptr, "unable to retrieve data sink object"); in get_metrics_buffer()
473 frameMetrics, gFrameMetricsObserverClassInfo.timingDataBuffer); in get_metrics_buffer()
1176 gFrameMetricsObserverClassInfo.frameMetrics = GetFieldIDOrDie( in register_android_view_ThreadedRenderer()
/frameworks/base/core/java/android/view/
DWindow.java676 void onFrameMetricsAvailable(Window window, FrameMetrics frameMetrics, in onFrameMetricsAvailable() argument