commit | 526057bc77150e608666bbc80a0c9626254650a0 | [log] [tgz] |
---|---|---|
author | Chet Haase <chet@google.com> | Thu Jul 12 17:50:41 2012 -0700 |
committer | Chet Haase <chet@google.com> | Thu Jul 12 17:50:41 2012 -0700 |
tree | b6e9290b051a6d8e9c5738c3fd0b44d989693596 | |
parent | c09008f018ad319dbe7ced08eb61728564b8108b [diff] |
Remove redundant computeScroll() call for hw-accelerated views View.draw() calls computeScroll() to initialize scrolling values correctly. But getDisplayList() also calls computeScroll() for the same reason, resulting in 2 calls to that method for hw-accelerated views. Fix: avoid calling computeScroll() in View.draw() for views with display lists. Change-Id: I57a3862e2d554752cd0fdb862513cbb3dfb3105c