code: @SuppressLint("RtlHardcoded")
      public void setSlideEdge(@GravityFlag int slideEdge) {
          switch (slideEdge) {
              case Gravity.LEFT:
                  mSlideCalculator = sCalculateLeft;
                  break;
              case Gravity.TOP:
                  mSlideCalculator = sCalculateTop;
                  break;
              case Gravity.RIGHT:
                  mSlideCalculator = sCalculateRight;
                  break;
              case Gravity.BOTTOM:
                  mSlideCalculator = sCalculateBottom;
                  break;
              case Gravity.START:
                  mSlideCalculator = sCalculateStart;
                  break;
              case Gravity.END:
                  mSlideCalculator = sCalculateEnd;
                  break;
              default:
                  throw new IllegalArgumentException("Invalid slide direction");
          }
          mSlideEdge = slideEdge;
          SidePropagation propagation = new SidePropagation();
          propagation.setSide(slideEdge);
          setPropagation(propagation);
      }
docs: Change the edge that Views appear and disappear from.
  
  @param slideEdge The edge of the scene to use for Views appearing and disappearing. One of
  {@link android.view.Gravity#LEFT}, {@link android.view.Gravity#TOP},
  {@link android.view.Gravity#RIGHT}, {@link android.view.Gravity#BOTTOM}.
  @attr ref android.R.styleable#Slide_slideEdge