diff options
| author | 2022-07-01 15:36:35 -0700 | |
|---|---|---|
| committer | 2022-07-06 18:59:45 +0000 | |
| commit | 670bce215dfc170dd4a73b8d0810a3368781125b (patch) | |
| tree | 325905e4bd458efe00e467db6451436bc9adf522 /services/coverage/java | |
| parent | 262f1f312c36ba15c45b8c7850b8432f6314073b (diff) | |
Scale light z value relative to screen size
On larger screens, having the light z value lower down creates an
undesirable amount of shadow since the source to view angle can be quite
large. By scaling the z position of the source relative to the screen
size, we can avoid these extreme shadows.
Bug: 227425789
Test: run cts -t android.uirendering.cts.testclasses.ShadowTests --module CtsUiRenderingTestCases
Change-Id: I8b7a3fcf93daaa565256a08f38deffed74b24ad4
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions