summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2016-03-24 15:27:45 -0700
committerPhilip P. Moltmann <moltmann@google.com>2016-03-24 16:20:20 -0700
commit4ef83c4647471aa5aefce463ed8abfe37da7fd00 (patch)
tree3c4f252018110c641826a2cd4cdac8f4737d6c37 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent0997bc8a85c7d7a83e0f590432d10fab89f2c900 (diff)
Update print preview when option is changed and clear ranges when they
layout changes Before we updated the print preview when the paper size changed but not when the page ranges changed. This is not consistent. We always change. Also if there is a change to the options that changes the layout (i.e. papersize, orientation, minMargins) then clear the selected ranges as this does not make sense anymore. This also fixes a bug that when having pages selected while we reduce the number of pages in the preview we got a NPE. Bonus: do not constantly re-update the options UI when range or copies text is updated. Bug: 27830850, 27741420 Change-Id: I7abe4a74b44ac5c5ee54d12cc0c1ca1540793f0e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions