summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2010-03-23 13:29:34 -0700
committerAdam Powell <adamp@google.com>2010-03-23 13:29:34 -0700
commit387d8f8a62d6ea0932ebb498d2b1dda00a1256be (patch)
tree5afe9dc85f90d002c301a3943d0058d4d0299aad /opengl/java/android/opengl/Texture.java
parentb978c8f8b92ff050945419be2edffb7f75e28c99 (diff)
Fix bug 2495033.
AutoCompleteTextView now uses different logic to expand the dropdown list of completion choices to cover the IME if present. Previously this would happen whenever a touch down event occurred. Resizing the dropdown could cause the parent view to animate a scroll and thereby move the completion list up the screen. When this happened with a finger down it would initiate a touch scroll on the completion list. Prior to froyo this wasn't a problem since a list positioned at the top could not scroll up, but with the addition of overscroll this caused undesired behavior. The completion list now will not expand to cover the IME on initial touch down. Instead it will only expand if the user leaves a finger in place for the duration of a timeout (currently 250ms) or if the user explicitly begins a touch scroll on the completion list. This also has a nice side effect where tapping a completion choice in the initial, smaller list does not cause a split-second list expansion before the list is dismissed. Change-Id: If0994c68a91b3bfc3dcef660c67fde667a9727f9
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions