@Test public void colorFilterIsAppliedCorrectly() { ColorFilter cf = new ColorFilter(); mRoundedDrawable.setColorFilter(cf); assertEquals(cf, mRoundedDrawable.mPaint.getColorFilter()); }
@Override public void setColorFilter(ColorFilter cf) { mPaint.setColorFilter(cf); }
RoundedDrawable extends Drawable { @Override public void setColorFilter(ColorFilter cf) { mPaint.setColorFilter(cf); } }
RoundedDrawable extends Drawable { @Override public void setColorFilter(ColorFilter cf) { mPaint.setColorFilter(cf); } RoundedDrawable(); }
RoundedDrawable extends Drawable { @Override public void setColorFilter(ColorFilter cf) { mPaint.setColorFilter(cf); } RoundedDrawable(); @Override void inflate(@NonNull Resources r, @NonNull XmlPullParser parser,
            @NonNull AttributeSet attrs, @Nullable Resources.Theme theme); void setDrawable(@Nullable Drawable drawable); @Nullable Drawable getDrawable(); void setBackgroundColor(@ColorInt int color); @ColorInt int getBackgroundColor(); void setClipEnabled(boolean clipEnabled); boolean isClipEnabled(); @Override void draw(@NonNull Canvas canvas); @Override int getOpacity(); @Override void setAlpha(int alpha); @Override int getAlpha(); @Override void setColorFilter(ColorFilter cf); void setRadius(int radius); int getRadius(); }
RoundedDrawable extends Drawable { @Override public void setColorFilter(ColorFilter cf) { mPaint.setColorFilter(cf); } RoundedDrawable(); @Override void inflate(@NonNull Resources r, @NonNull XmlPullParser parser,
            @NonNull AttributeSet attrs, @Nullable Resources.Theme theme); void setDrawable(@Nullable Drawable drawable); @Nullable Drawable getDrawable(); void setBackgroundColor(@ColorInt int color); @ColorInt int getBackgroundColor(); void setClipEnabled(boolean clipEnabled); boolean isClipEnabled(); @Override void draw(@NonNull Canvas canvas); @Override int getOpacity(); @Override void setAlpha(int alpha); @Override int getAlpha(); @Override void setColorFilter(ColorFilter cf); void setRadius(int radius); int getRadius();  }