summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2019-08-08 15:53:34 -0400
committerFabian Kozynski <kozynski@google.com>2019-08-09 08:51:39 -0400
commit0b7d617af2616b221e4a5e1f796b481b2ff1cdce (patch)
treeeaaed35d1a2c71df78ca0169758bc7d105cdb82c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent2355b7f25d108e209925a65f669419cab39a8aed (diff)
Prevent QSPanel from remeasuring
Once QSPanel has been measured, do not measure it again in the pass from QSContainerImpl. This prevents measuring with a slightly bigger size (why?) that causes it to recalculate the number of rows (and the number of pages) of PagedTileLayout. In some cases, this was causing a different measure while scrolling for an instant, changing the number of pages and therefore sending the user to page 0 again. Fixes: 135136427 Test: manual, following configs: * landscape and portrait * 1, 2 and 3 pages * Security footer off and on with 1 and 2 lines Change-Id: I74e3ce68bd2d3a8b7af1c84d9d0164ce6a672ed1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions