ej.java 1.06 KB
import android.annotation.TargetApi;
import android.support.annotation.RequiresApi;
import android.view.View;

@TargetApi(11)
@RequiresApi(11)
public final class ej
{
  private static void a(View paramView)
  {
    float f = paramView.getTranslationY();
    paramView.setTranslationY(1.0F + f);
    paramView.setTranslationY(f);
  }
  
  public static void a(View paramView, int paramInt)
  {
    paramView.offsetTopAndBottom(paramInt);
    if (paramView.getVisibility() == 0)
    {
      a(paramView);
      paramView = paramView.getParent();
      if ((paramView instanceof View)) {
        a((View)paramView);
      }
    }
  }
  
  public static void b(View paramView, int paramInt)
  {
    paramView.offsetLeftAndRight(paramInt);
    if (paramView.getVisibility() == 0)
    {
      a(paramView);
      paramView = paramView.getParent();
      if ((paramView instanceof View)) {
        a((View)paramView);
      }
    }
  }
}


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