commit | 942529660883aacb9971e0e07b7c12d108978988 | [log] [tgz] |
---|---|---|
author | Xavier Ducrohet <xav@android.com> | Thu Jan 06 15:50:42 2011 -0800 |
committer | Xavier Ducrohet <xav@android.com> | Thu Jan 06 18:13:49 2011 -0800 |
tree | c82e8fda0697e9a137e33d7229f8bbe368841d2c | |
parent | ed1535ff90b41ebabd3f163c1029be86f4fa8a52 [diff] |
LayoutLib: fix clipping issues. There were two issues: - Graphics2D.setClip only works on rectangular shapes. This means doing a setClip on a non rectangular shape should basically reset the clip and intersect with the new shape. - the current clip can be null, so the combineShape method must handle it. Change-Id: Id2cd7475e991d8b533ff2e8850cc2c27663f9e52