code: public static int getSystemAnimationsResource(@Style.Animations int animations) {
          switch (animations) {
              case Style.ANIMATIONS_FADE: return android.R.style.Animation_Toast;
              case Style.ANIMATIONS_FLY: return android.R.style.Animation_Translucent;
              case Style.ANIMATIONS_SCALE: return android.R.style.Animation_Dialog;
              case Style.ANIMATIONS_POP: return android.R.style.Animation_InputMethod;
              default: return android.R.style.Animation_Toast;
          }
      }
docs: Returns the corresponding system animation reference for a
  particular {@link Style.Animations} reference.
  This is used by the {@link com.github.johnpersano.supertoasts.library.SuperToast}
  {@link android.view.WindowManager}.
  
  @param animations The desired {@link Style.Animations} constant
  @return The corresponding system animation reference