public void multiplyOpacity(int newAlpha) {
    int opacity = Math.round(Color.alpha(color) * MiscUtils.clamp(newAlpha, 0, 255) / 255f);
    color = Color.argb(opacity, Color.red(color), Color.green(color), Color.blue(color));
  }
Settings for a drop shadow to apply.
lottie/src/main/java/com/airbnb/lottie/utils/DropShadow.java