summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPeter Eliasson <peter.eliasson.x@sonyericsson.com>2010-11-18 02:43:30 +0100
committerJohan Redestig <johan.redestig@sonyericsson.com>2010-11-18 07:28:06 +0100
commitac4a181d2e02f2dd375c61ce231d35e50d0d1836 (patch)
treebe062387d54f42b039af15a7003a5793bfa8d59f /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9de93424cc05446e3a216f406c55a3937c028416 (diff)
Improve performance when getting styled string.
The style used in the composing text for input methods takes a long time to create. This is experienced as a lag when composing the first word. The bottleneck lies in the 10 calls to nativeIndexOfString which does a linear search through thousands of strings. Change-Id: I3184b2be3673d384cca19e9a70ad94b4d3085576
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions