diff options
author | Stan Iliev <stani@google.com> | 2019-05-02 11:23:00 -0400 |
---|---|---|
committer | Stan Iliev <stani@google.com> | 2019-05-02 12:42:54 -0400 |
commit | 7baca0b0519993d505fe862d3d090ac61f36c52e (patch) | |
tree | fb3f90266ba57a49ce1a68ca730f5f4701227d1a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3939be6195db6528e70a59e37b9aecdb47091160 (diff) |
Improve SurfaceView bounds calculation
Estimate SurfaceView bounds conservatively to handle GPU rounding
errors. When SurfaceView border is in the middle of a pixel,
a fudge factor is added or substracted to always extend the region.
Test: passed CTS tests
Bug: 131240729
Change-Id: I74d5c1b40f9e730758f26341eb4a028bbae6ecd9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions