android13/frameworks/libs/systemui/viewcapturelib
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
src/com/android/app/viewcapture initial 2024-06-22 20:45:49 +08:00
tests initial 2024-06-22 20:45:49 +08:00
.gitignore initial 2024-06-22 20:45:49 +08:00
Android.bp initial 2024-06-22 20:45:49 +08:00
AndroidManifest.xml initial 2024-06-22 20:45:49 +08:00
OWNERS initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
TEST_MAPPING initial 2024-06-22 20:45:49 +08:00
build.gradle initial 2024-06-22 20:45:49 +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)