summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2020-05-28 13:51:00 -0700
committerSelim Cinek <cinek@google.com>2020-05-28 15:42:10 -0700
commited48c8aa12b2e9777bba41bd0113f956d3c4ae7c (patch)
tree54985adbdacc8663e0261e313396bdfd5c17a040 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent54ef7be383c0d8ba7ef52984a5784f6e55939ecc (diff)
Fixed the calculation of how many views to show on the lockscreen
The gapHeight wasn't taken into account as well as any potentially visible headers neither. The media view was simply ignored, so when then calculating the content height we had one view too few. This also improves some bordercases of the measurement which could be wrong. We can't use the shelf to do the gap calculations but need to use the actual views. Fixes: 156914265 Fixes: 157233336 Test: Add notifications and media, observe notification visible. Change-Id: I92ef47153b5566c713004aed729c8761618ddf5e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions