AppJankStats


public final class AppJankStats
extends Object

java.lang.Object
   ↳ android.app.jank.AppJankStats


This class stores detailed jank statistics for an individual UI widget. These statistics provide performance insights for specific UI widget states by correlating the number of "Janky frames" with the total frames rendered while the widget is in that state. This class can be used by library widgets to provide the system with more detailed information about where jank is happening for diagnostic purposes.

Summary

Constants

String WIDGET_CATEGORY_ANIMATION

UI elements that facilitate playing animations.

String WIDGET_CATEGORY_KEYBOARD

UI elements that facilitate displaying, hiding or interacting with keyboard.

String WIDGET_CATEGORY_MEDIA

UI elements that facilitate media playback.

String WIDGET_CATEGORY_NAVIGATION

UI elements that facilitate