summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-09-28 13:07:16 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-09-28 13:07:16 -0400
commita61e88f472b6d21459d8faa49879da5ce4aea602 (patch)
tree4286963535921deb3bf955c990e604bdb1f6f6c0 /opengl/tests/gl_basic/gl_basic.cpp
parent04140fa16371241fcc249d4f76be02729bb80153 (diff)
parent8a77baaa11cb90f84d24f345463a856495be81a2 (diff)
Merge change 27411 into eclair
* changes: Cache inflated view to avoid inflation of layouts in preferences If layout id is specified for a Preference object, convertView is set to null in its adapter which results in inflation of Preference view in getView each time the Preference object is laid out on the screen. Just use an instance variable to cache the inflated view nulling it whenever the layout changes and use it in initing the convertView in getView.
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions