commit | a7cac5e0542779cadf0f5ccf71584e4b4425f7a6 | [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 | 3a58441f7362a9e2b03afec07fe9f669da9a828d | |
parent | adba8021cd2fd0d20856fb4fbfed2cb000f3f1d5 [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