Links (6)
“ :egassem timmoc eeS .statsemarf <egakcap> ofnixfg syspmud morf statsemarf gnitteg + taht fo noitanibmoc a od ew daetsni os ,emarf ytivitca tsrif fo dne gnirutpac rof flesti ni elbailer t'nsi w- trats ma morftalp taht dnuof sah kramhcneborcam ,txetnoc emos rof - tterBhttps://android-review.googlesource.com/c/platform/frameworks/support/+/2042663 - Framestats is expected to set the 0x1 flag for initial frame from an activity, and we've found that's reliable on API 29, but I expect not using the HardwareRenderer breaks that. Macrobenchmark does this both for performance tests as well as baseline profile generation though (which shares code with perf tests). ”
“ sa llew sa stset ecnamrofrep rof htob siht seod kramhcneborcaM .taht skaerb reredneRerawdraH eht gnisu ton tcepxe I tub ,92 IPA no elbailer s'taht dnuof ev'ew dna ,ytivitca na morf emarf laitini rof galf 1x0 eht tes ot detcepxe si statsemarF - 3662402/+/troppus/skrowemarf/mroftalp/c/moc.ecruoselgoog.weiver-diordna//:sptth :egassem timmoc eeS .statsemarf <egakcap> ofnixfg syspmud morf statsemarf gnitteg + taht fo noitanibmoc a od ew daetsni os ,emarf ytivitca tsrif fo dne gnirutpac rof flesti ni elbailer t'nsi w- trats ma morftalp taht dnuof sah kramhcneborcam ,txetnoc emos rof - tterB baseline profile generation though (which shares code with perf tests). ”
“ esu nac uoY HardwareRendererCompat#isDrawingEnabled from within the test, which just uses reflection if running on a pre-T platform. ”
“ .erawdrah eht ot sdnammoc ward gnidrawrof piks daerhtredner sekam tsuj ti ,yas rep daerhtredner elbasid t'nseod eslaf=delbanEgniwarDsi CUII tub ,rewsna evitatirohtua eht evig nac kcerj Code ”
“ ehT ?ecived deganam eht daolnwod I od woH only docs I see don't say. Using your definition above in AndroidX (Dolphin Canary 7), I run: ”