summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBeverly <beverlyt@google.com>2020-06-10 17:42:32 -0400
committerBeverly Tai <beverlyt@google.com>2020-06-15 15:51:42 +0000
commit8c736aa4f96eed7c49ca5d10666de01223064c56 (patch)
treea287f39e02d3eaee8473fb937fd44747af72c18f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3fb94d8e9da94234790fe5888b18fa80345b3159 (diff)
Set PageIndicator pages in QSPanel#onMeasure
Pre-emptively update PageIndicator's numPages before measuring in QSPanel so that views will be appropriately measured. Previously, new PageIndicator child views would be added in the middle of a QSPanel layout pass after already being measured, so the new PageIndicator child wouldn't be measured. Test: manually add and remove new QS tiles. rotate between landscape + portrait modes. observe the PageIndicator is correct. Fixes: 157542221 Change-Id: Ic1bb29039dd12993a50758bf48a4ad792d8cdfc3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions