Loading tools/layoutlib/bridge/src/android/view/ShadowPainter.java +3 −0 Original line number Diff line number Diff line Loading @@ -65,6 +65,9 @@ public class ShadowPainter { @SuppressWarnings({"SuspiciousNameCombination", "UnnecessaryLocalVariable"}) // Imported code public static BufferedImage createDropShadow(BufferedImage source, int shadowSize, float shadowOpacity, int shadowRgb) { if (shadowSize == 0) { return source; } // This code is based on // http://www.jroller.com/gfx/entry/non_rectangular_shadow Loading Loading
tools/layoutlib/bridge/src/android/view/ShadowPainter.java +3 −0 Original line number Diff line number Diff line Loading @@ -65,6 +65,9 @@ public class ShadowPainter { @SuppressWarnings({"SuspiciousNameCombination", "UnnecessaryLocalVariable"}) // Imported code public static BufferedImage createDropShadow(BufferedImage source, int shadowSize, float shadowOpacity, int shadowRgb) { if (shadowSize == 0) { return source; } // This code is based on // http://www.jroller.com/gfx/entry/non_rectangular_shadow Loading