Home | History | Annotate | Download | only in view

Lines Matching defs:Shadow

48      * Overrides the original drawChild call in ViewGroup to draw the shadow.
70 BufferedImage shadow = null;
73 Shadow s = getRectShadow(parent, canvas, child, outline);
74 shadow = s.mShadow;
77 shadow = getPathShadow(child, outline, canvas);
79 if (shadow == null) {
82 Bitmap bitmap = Bitmap_Delegate.createBitmap(shadow, false,
92 private static Shadow getRectShadow(ViewGroup parent, Canvas canvas, View child,
94 BufferedImage shadow;
100 // Draw large shadow if difference in z index is more than 10dp
105 shadow = new BufferedImage(clipBounds.width() + shadowSize, clipBounds.height(),
107 Graphics2D graphics = shadow.createGraphics();
117 return new Shadow(shadow, shadowSize);
144 // which were never taken. Ideally, we should hook up the shadow code in the same method so
195 private static class Shadow {
199 public Shadow(BufferedImage shadow, int shadowWidth) {
200 mShadow = shadow;