private void setTargetDensity ( DisplayMetrics metrics ) { if ( mDensity != metrics . density ) { mDensity = metrics . density ; invalidateSelf ( false ) ; } }
Set the density at which this drawable will be rendered .