commit | 1519c168da4798f6345f08dc2deaeff6df5c00a7 | [log] [tgz] |
---|---|---|
author | Fengjiang Li <fengjial@google.com> | Thu Jun 15 12:28:42 2023 -0700 |
committer | Fengjiang Li <fengjial@google.com> | Wed Jul 05 13:07:26 2023 -0700 |
tree | fa87bf0bde9fb788d721ec47819d53acab68e0ac | |
parent | 1acda93e26ae714e6e76d948a8032a61e338fe90 [diff] |
Pre-inflate BubbleTextViews into Launcher/TaskBar All Apps RV This CL ensures no inflation of BubbleTextView happens while binding applications, and reduces jank on slow device. 1. Let active/inactive all apps RVs share the same AllAppsRecyclerViewPool 2. Use worker thread to pre-inflate BubbleTextViews and add them to shared view pool on main thread Bug: 287523421 Test: See before/after screenshot/video/trace attached in bug Change-Id: I00213407be2c7c2d329997552785d0aa56c4d057