summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptIntrinsicResize.java
diff options
context:
space:
mode:
authorJacob Abrams <satur9nine@gmail.com>2014-06-28 21:38:18 -0700
committerJacob Abrams <satur9nine@gmail.com>2014-06-30 12:13:18 -0700
commit17fceded15156cd242f5b871d05291a9af1836a8 (patch)
tree3831f0d5ecc1acca3fdc9aef8de95f64ab37f1d8 /rs/java/android/renderscript/ScriptIntrinsicResize.java
parent7165bd6d7496159b426f072bdf13adfffc917a24 (diff)
Don't unnecessarily set LayoutParams on children
Setting LayoutParams on children triggers requestLayout which can be expensive and result in significantly lower framerate for children layouts that don't need it. When requestLayout method is invoked the needToMeasure boolean will be true, this is what we'd like to avoid unless it is actually needed. BUG: https://code.google.com/p/android/issues/detail?id=72733 Change-Id: Id5d8f3431b5f943b1279eae41ee43d32a99514fc Signed-off-by: Jacob Abrams <satur9nine@gmail.com>
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsicResize.java')
0 files changed, 0 insertions, 0 deletions