-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add trace events to View#dispatchTouchEvent and RecyclerView#scrollStep
In local testing, View#dispatchTouchEvent and RecyclerView#scrollStep take up a large chunk of time under Choreographer callbacks and are not currently captured in traces for the scroll jank dashboard. Hopefully, adding these trace events will clarify at least some of the jank currently attributed to "Choreographer(java_views=)" RecyclerView#scrollStep is a package-private method in AndroidX that isn't part of the View API, so required some minor changes to the Bytecode rewriter to support methods missing from some class hierarchies. Bug: 1357024 Change-Id: I73f8a7c733501e69b744e3315bba9360819fe3a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3876627 Reviewed-by: Mohamed Heikal <mheikal@chromium.org> Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/main@{#1044158} NOKEYCHECK=True GitOrigin-RevId: 85144e544dcecdc6928a86bc381ac08970953e2f
- Loading branch information
1 parent
1f63704
commit 94dc620
Showing
3 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters