public EdgeEffect(Context context){
  mPaint.setAntiAlias(true);
  final int themeColor=Color.RED;
  mPaint.setColor((themeColor & 0xffffff) | 0x33000000);
  mPaint.setStyle(Paint.Style.FILL);
  mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_ATOP));
  mInterpolator=new DecelerateInterpolator();
}

public EdgeEffect ( Context context ) { mPaint . setAntiAlias ( true ) ; final int themeColor = Color . RED ; mPaint . setColor ( ( themeColor & 0xffffff ) | 0x33000000 ) ; mPaint . setStyle ( Paint . Style . FILL ) ; mPaint . setXfermode ( new PorterDuffXfermode ( PorterDuff . Mode . SRC_ATOP ) ) ; mInterpolator = new DecelerateInterpolator ( ) ; }
construct a new edgeeffect with a theme appropriate for the provided context .
