@Test public void getAlpha() { assertThat(badgeDrawable.getAlpha(), is(255)); badgeDrawable.setAlpha(43); assertThat(badgeDrawable.getAlpha(), is(43)); }
@Override public int getAlpha() { return alpha; }
BadgeDrawable extends Drawable { @Override public int getAlpha() { return alpha; } }
BadgeDrawable extends Drawable { @Override public int getAlpha() { return alpha; }  }
BadgeDrawable extends Drawable { @Override public int getAlpha() { return alpha; }  @Override void setAlpha(@IntRange(from = 0, to = 255) int alpha); @Override int getAlpha(); @Override void setColorFilter(@Nullable ColorFilter colorFilter); @Override @Nullable ColorFilter getColorFilter(); @Override int getOpacity(); @Nullable @Override ConstantState getConstantState(); }
BadgeDrawable extends Drawable { @Override public int getAlpha() { return alpha; }  @Override void setAlpha(@IntRange(from = 0, to = 255) int alpha); @Override int getAlpha(); @Override void setColorFilter(@Nullable ColorFilter colorFilter); @Override @Nullable ColorFilter getColorFilter(); @Override int getOpacity(); @Nullable @Override ConstantState getConstantState();  }