frameworks/libs/systemui/viewcapturelib
cpeng 69f93dc236 android 13 from xiaosuan 2025-08-25 08:17:13 +08:00
..
src/com/android/app/viewcapture android 13 from xiaosuan 2025-08-25 08:17:13 +08:00
tests android 13 from xiaosuan 2025-08-25 08:17:13 +08:00
.gitignore android 13 from xiaosuan 2025-08-25 08:17:13 +08:00
Android.bp android 13 from xiaosuan 2025-08-25 08:17:13 +08:00
AndroidManifest.xml android 13 from xiaosuan 2025-08-25 08:17:13 +08:00
OWNERS android 13 from xiaosuan 2025-08-25 08:17:13 +08:00
README.md android 13 from xiaosuan 2025-08-25 08:17:13 +08:00
TEST_MAPPING android 13 from xiaosuan 2025-08-25 08:17:13 +08:00
build.gradle android 13 from xiaosuan 2025-08-25 08:17:13 +08:00

README.md

###ViewCapture Library Readme

ViewCapture.java is extremely performance sensitive. Any changes should be carried out with great caution not to hurt performance.

The following measurements should serve as a performance baseline (as of 02.10.2022):

The onDraw() function invocation time in WindowListener within ViewCapture is measured with System.nanoTime(). The following scenario was measured:

  1. Capturing the notification shade window root view on a freshly rebooted bluejay device (2 notifications present) -> avg. time = 204237ns (0.2ms)