content: package android.support.v7.widget.helper;
  
  import android.graphics.Canvas;
  import android.support.v4.view.ViewCompat;
  import android.support.v7.recyclerview.R;
  import android.support.v7.widget.RecyclerView;
  import android.view.View;
  
  class ItemTouchUIUtilImpl {
    static class Api21Impl extends BaseImpl {
      private float findMaxElevation(RecyclerView param1RecyclerView, View param1View) {
        int i = param1RecyclerView.getChildCount();
        float f = 0.0F;
        byte b = 0;
        while (b < i) {
          float f1;
          View view = param1RecyclerView.getChildAt(b);
          if (view == param1View) {
            f1 = f;
          } else {
            float f2 = ViewCompat.getElevation(view);
            f1 = f;
            if (f2 > f)
              f1 = f2; 
          } 
          b++;
          f = f1;
        } 
        return f;
      }
      
      public void clearView(View param1View) {
        Object object = param1View.getTag(R.id.item_touch_helper_previous_elevation);
        if (object != null && object instanceof Float)
          ViewCompat.setElevation(param1View, ((Float)object).floatValue()); 
        param1View.setTag(R.id.item_touch_helper_previous_elevation, null);
        super.clearView(param1View);
      }
      
      public void onDraw(Canvas param1Canvas, RecyclerView param1RecyclerView, View param1View, float param1Float1, float param1Float2, int param1Int, boolean param1Boolean) {
        if (param1Boolean && param1View.getTag(R.id.item_touch_helper_previous_elevation) == null) {
          float f = ViewCompat.getElevation(param1View);
          ViewCompat.setElevation(param1View, findMaxElevation(param1RecyclerView, param1View) + 1.0F);
          param1View.setTag(R.id.item_touch_helper_previous_elevation, Float.valueOf(f));
        } 
        super.onDraw(param1Canvas, param1RecyclerView, param1View, param1Float1, param1Float2, param1Int, param1Boolean);
      }
    }
    
    static class BaseImpl implements ItemTouchUIUtil {
      public void clearView(View param1View) {
        param1View.setTranslationX(0.0F);
        param1View.setTranslationY(0.0F);
      }
      
      public void onDraw(Canvas param1Canvas, RecyclerView param1RecyclerView, View param1View, float param1Float1, float param1Float2, int param1Int, boolean param1Boolean) {
        param1View.setTranslationX(param1Float1);
        param1View.setTranslationY(param1Float2);
      }
      
      public void onDrawOver(Canvas param1Canvas, RecyclerView param1RecyclerView, View param1View, float param1Float1, float param1Float2, int param1Int, boolean param1Boolean) {}
      
      public void onSelected(View param1View) {}
    }
  }
  
  
  /* Location:              F:\何章易\项目文件夹\项目24\va\classes_merge.jar!\android\support\v7\widget\helper\ItemTouchUIUtilImpl.class
   * Java compiler version: 6 (50.0)
   * JD-Core Version:       1.1.3
   */