f33d16345750bca2927fa9a6aedaeec6a30ef1bb
- Apply sampling for the border to reduce the amonut of pixel for calculating luminance. - Use getInt to get color rather than get a byte 4 times. - Use a simpler formula to approximate luminance. - Replace median with mode to represent the luminance. It is more efficient (no need sort) and the visual result may be better if the distribution is U-shaped. - Extract common code to policy package to reduce duplicated code in system server and shell. The calculation is 10 times faster for the first execution, and 5 times faster on average. Bug: 253610885 Test: atest RotationAnimationUtilsTest Change-Id: Ieca9968e843b68d733e178edd725b628c542e872
Merge "Add lint api database files for module and system server sdks" am:
1291b83a2f am: 874a97ea01 am: fc3e0b2251
…
Merge "identity: Fix uncompressed form encoding of P-256 EC Public Key." am:
2fd4ee6439 am: f7726a198f am: f5aef21903 am: cb4b561d54 am: 42ac40d2fe
Merge "Add graphics owners for Image, ImageReader and ImageWriter files." am:
624fe54fb3 am: f56c5cc599 am: ac5aa1b20e
…
…
…
…
…
…
…
Merge "Add lint api database files for module and system server sdks" am:
1291b83a2f am: 874a97ea01 am: fc3e0b2251
…
…
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%