summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2011-01-19 12:49:57 -0500
committerLeon Scroggins <scroggo@google.com>2011-01-19 13:18:59 -0500
commit3be1ffab08728ed0f36677e4499d70fbd591f999 (patch)
tree28e410d25055a0b7fd9ec467df99c46446ca104c /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4061c9aa6d77bd7ad3b43d898b3e55fd62f57f18 (diff)
Only scroll on screen when necessary.
Bug:3367446 bringPointIntoView was called by TextView in onPreDraw. This was passing a message to the webcore thread to change the scroll position. This is unnecessary, because typically the scroll position will be changed by webkit when keys are pressed. The one situation where this helped was when the user taps on a textfield, which brings up the IME, which may cover it. A better solution is to tell webkit to scroll it on screen once the screen size changes. I have a CL in external/webkit to do that: https://android-git.corp.google.com/g/#change,91095 Change-Id: I6e06ad59e1a1c99365bb5be635a43d1b88658c0d
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions