(int color, int topRad, int bottomRad)
| 597 | } |
| 598 | |
| 599 | public static Drawable createRadSelectorDrawable(int color, int topRad, int bottomRad) { |
| 600 | sMaskPaint.setColor(0xffffffff); |
| 601 | Drawable maskDrawable = new RippleRadMaskDrawable(topRad, bottomRad); |
| 602 | ColorStateList colorStateList = new ColorStateList(new int[][]{StateSet.WILD_CARD}, new int[]{color}); |
| 603 | return new RippleDrawable(colorStateList, null, maskDrawable); |
| 604 | } |
| 605 | |
| 606 | public static void invalidate() { |
| 607 | sDividerPaint = null; |
no outgoing calls
no test coverage detected