k.java 4.06 KB
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.Paint;
import android.graphics.PorterDuff.Mode;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.GradientDrawable;
import android.support.annotation.Nullable;
import android.support.design.R.color;
import android.support.design.widget.VisibilityAwareImageButton;
import android.support.v4.content.ContextCompat;
import android.view.ViewTreeObserver.OnPreDrawListener;
import android.view.animation.Interpolator;

public abstract class k
{
  static final Interpolator b = c.c;
  static final int[] j = { 16842919, 16842910 };
  static final int[] k = { 16842908, 16842910 };
  static final int[] l = { 16842910 };
  static final int[] m = new int[0];
  private final Rect a = new Rect();
  int c = 0;
  Drawable d;
  Drawable e;
  d f;
  public Drawable g;
  public float h;
  public float i;
  public final VisibilityAwareImageButton n;
  final o o;
  final s.d p;
  public ViewTreeObserver.OnPreDrawListener q;
  
  k(VisibilityAwareImageButton paramVisibilityAwareImageButton, o paramo, s.d paramd)
  {
    this.n = paramVisibilityAwareImageButton;
    this.o = paramo;
    this.p = paramd;
  }
  
  public abstract float a();
  
  final d a(int paramInt, ColorStateList paramColorStateList)
  {
    Context localContext = this.n.getContext();
    d locald = g();
    int i1 = ContextCompat.getColor(localContext, R.color.design_fab_stroke_top_outer_color);
    int i2 = ContextCompat.getColor(localContext, R.color.design_fab_stroke_top_inner_color);
    int i3 = ContextCompat.getColor(localContext, R.color.design_fab_stroke_end_inner_color);
    int i4 = ContextCompat.getColor(localContext, R.color.design_fab_stroke_end_outer_color);
    locald.e = i1;
    locald.f = i2;
    locald.g = i3;
    locald.h = i4;
    float f1 = paramInt;
    if (locald.d != f1)
    {
      locald.d = f1;
      locald.a.setStrokeWidth(f1 * 1.3333F);
      locald.i = true;
      locald.invalidateSelf();
    }
    locald.a(paramColorStateList);
    return locald;
  }
  
  public final void a(float paramFloat)
  {
    if (this.h != paramFloat)
    {
      this.h = paramFloat;
      a(paramFloat, this.i);
    }
  }
  
  public abstract void a(float paramFloat1, float paramFloat2);
  
  public abstract void a(int paramInt);
  
  public abstract void a(ColorStateList paramColorStateList);
  
  public abstract void a(ColorStateList paramColorStateList, PorterDuff.Mode paramMode, int paramInt1, int paramInt2);
  
  public abstract void a(PorterDuff.Mode paramMode);
  
  abstract void a(Rect paramRect);
  
  public abstract void a(@Nullable k.a parama, boolean paramBoolean);
  
  public abstract void a(int[] paramArrayOfInt);
  
  public abstract void b();
  
  void b(Rect paramRect) {}
  
  public abstract void b(@Nullable k.a parama, boolean paramBoolean);
  
  public abstract void c();
  
  public boolean d()
  {
    return false;
  }
  
  void e() {}
  
  public final void f()
  {
    Rect localRect = this.a;
    a(localRect);
    b(localRect);
    this.o.a(localRect.left, localRect.top, localRect.right, localRect.bottom);
  }
  
  d g()
  {
    return new d();
  }
  
  final GradientDrawable h()
  {
    GradientDrawable localGradientDrawable = i();
    localGradientDrawable.setShape(1);
    localGradientDrawable.setColor(-1);
    return localGradientDrawable;
  }
  
  GradientDrawable i()
  {
    return new GradientDrawable();
  }
  
  final boolean j()
  {
    if (this.n.getVisibility() != 0) {
      if (this.c != 2) {}
    }
    while (this.c != 1)
    {
      return true;
      return false;
    }
    return false;
  }
  
  final boolean k()
  {
    if (this.n.getVisibility() == 0) {
      if (this.c != 1) {}
    }
    while (this.c != 2)
    {
      return true;
      return false;
    }
    return false;
  }
  
  public static abstract interface a
  {
    public abstract void a();
    
    public abstract void b();
  }
}


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