Commit 526057b
committed
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: I57a3862e2d554752cd0fdb862513cbb3dfb3105c1 parent c09008f commit 526057b
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12909 | 12909 | | |
12910 | 12910 | | |
12911 | 12911 | | |
12912 | | - | |
12913 | | - | |
12914 | | - | |
12915 | | - | |
12916 | | - | |
12917 | 12912 | | |
12918 | 12913 | | |
12919 | 12914 | | |
| |||
12960 | 12955 | | |
12961 | 12956 | | |
12962 | 12957 | | |
| 12958 | + | |
| 12959 | + | |
| 12960 | + | |
| 12961 | + | |
| 12962 | + | |
| 12963 | + | |
| 12964 | + | |
| 12965 | + | |
12963 | 12966 | | |
12964 | 12967 | | |
12965 | 12968 | | |
| |||
0 commit comments