hd$a.java 1.4 KB
import android.graphics.Canvas;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchUIUtil;
import android.view.View;

public final class hd$a
  implements ItemTouchUIUtil
{
  private static void a(Canvas paramCanvas, RecyclerView paramRecyclerView, View paramView, float paramFloat1, float paramFloat2)
  {
    paramCanvas.save();
    paramCanvas.translate(paramFloat1, paramFloat2);
    paramRecyclerView.drawChild(paramCanvas, paramView, 0L);
    paramCanvas.restore();
  }
  
  public final void clearView(View paramView)
  {
    paramView.setVisibility(0);
  }
  
  public final void onDraw(Canvas paramCanvas, RecyclerView paramRecyclerView, View paramView, float paramFloat1, float paramFloat2, int paramInt, boolean paramBoolean)
  {
    if (paramInt != 2) {
      a(paramCanvas, paramRecyclerView, paramView, paramFloat1, paramFloat2);
    }
  }
  
  public final void onDrawOver(Canvas paramCanvas, RecyclerView paramRecyclerView, View paramView, float paramFloat1, float paramFloat2, int paramInt, boolean paramBoolean)
  {
    if (paramInt == 2) {
      a(paramCanvas, paramRecyclerView, paramView, paramFloat1, paramFloat2);
    }
  }
  
  public final void onSelected(View paramView)
  {
    paramView.setVisibility(4);
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/hd$a.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */