'm looking for a mechanism track UI update events using ADB interfaces. I would like to find out when entire screen is drawn after an activity is launched. For example in browser loading or opening contacts I would like to track the event when browser finishes loading the page or the Dialtacts screen is shown completely populated with Contacts and scrollbars. I could get current UI status using DUMP command on ViewManager. But this wouldn't give me a generic way to find out if the UI is yet to be Drawn or Drawn completely.
Is there a service call /command with which I can trap this event or get the current update status from ViewManager/SurfaceFlinger etc.