Commit 75040f8
committed
Handle different x, y scales in drawLines AA path
bug:7114630
Fixes different x, y scales, and fixes boundaryWidthProportion to be from
center, not edge.
Also adds drawLine tests that previously drew blurry.
Change-Id: I2b648a60361ad3931eac67647b9b27909525ee1e1 parent 9147cd4 commit 75040f8
File tree
2 files changed
+13
-5
lines changed- libs/hwui
- tests/HwAccelerationTest/src/com/android/test/hwui
2 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
1981 | 1985 | | |
1982 | 1986 | | |
1983 | 1987 | | |
| |||
2002 | 2006 | | |
2003 | 2007 | | |
2004 | 2008 | | |
2005 | | - | |
| 2009 | + | |
2006 | 2010 | | |
2007 | 2011 | | |
2008 | 2012 | | |
2009 | | - | |
2010 | | - | |
2011 | | - | |
2012 | | - | |
2013 | 2013 | | |
2014 | 2014 | | |
2015 | 2015 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
156 | 164 | | |
157 | 165 | | |
158 | 166 | | |
0 commit comments