The AdaptiveIconDrawable can spend much time which will impact the time for first window drawn. But usually there is a small time between setContentView to doFrame, we can use this gap to pre-draw the AdaptiveIconDrawable and cache it since we already know the size and it won't change anymore. Bug: 173975965 Test: atest StartingSurfaceDrawerTests SplashscreenTests Change-Id: I759de2e1b4025dd150532f3fd5c67d1b404f56a0
WM Shell Test
This contains all tests written for WM (WindowManager) Shell and it's currently divided into 3 categories
- unittest, tests against individual functions, usually @SmallTest and do not require UI automation nor real device to run
- integration, this maybe a mix of functional and integration tests. Contains tests verify the WM Shell as a whole, like talking to WM core. This usually involves mocking the window manager service or even talking to the real one. Due to this nature, test cases in this package is normally annotated as @LargeTest and runs with UI automation on real device
- flicker, similar to functional tests with its sole focus on flickerness. See WM Shell Flicker Test Package for more details