summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2011-10-27 11:10:14 -0700
committerGilles Debunne <debunne@google.com>2011-11-29 17:48:19 -0800
commit70b34a1e0525c8e13f431c2e6c9d37d1954de1b2 (patch)
tree110a0402227d4327d0ef966aa10137e10a499744 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9b518d9304eb4ad17591944926231b661a3dfce0 (diff)
Scroll performance improved in multiline TextEdit
Measuring line widths, glyph by glyph slows down the scrolling process for long text (for some reason, width measure efficiency is affectedi by text length, maybe because the whole text has to be passed to JNI layers). This optimization avoids this computation in the case where there is no possible horizontal scroll. This is a cherry pick of 145957 into ICS-MR1 Change-Id: I2082e3d0eedace1a86122a03e4b21f90f3bc8522
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions