package com.google.android.m4b.maps.bu;

import com.google.android.m4b.maps.model.CircleOptions;
import com.google.android.m4b.maps.model.LatLng;
import com.google.android.m4b.maps.model.internal.ICircleDelegate;
import com.google.android.m4b.maps.model.internal.ICircleDelegate.Stub;
import com.google.common.base.Preconditions;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;

public final class l extends ICircleDelegate.Stub
  implements bf.a, bh
{
  private static final AtomicInteger a = new AtomicInteger(0);
  private static final CircleOptions b = new CircleOptions();
  private final String c;
  private final bf d;
  private final cb e;
  private bh.a f;
  private LatLng g;
  private double h;
  private List<LatLng> i;
  private int j;
  private int k;
  private float l;
  private float m;
  private boolean n;
  private boolean o;
  private by p;

  l(CircleOptions paramCircleOptions, bf parambf, cb paramcb, by paramby)
  {
    this.d = ((bf)Preconditions.checkNotNull(parambf));
    this.e = ((cb)Preconditions.checkNotNull(paramcb));
    this.p = paramby;
    Object[] arrayOfObject = new Object[bool1];
    arrayOfObject[0] = Integer.valueOf(a.getAndIncrement());
    this.c = String.format("ci%d", arrayOfObject);
    boolean bool2;
    if (paramCircleOptions.getStrokeWidth() >= 0.0F)
    {
      bool2 = bool1;
      Preconditions.checkArgument(bool2, "line width is negative");
      Preconditions.checkNotNull(paramCircleOptions.getCenter());
      if (paramCircleOptions.getRadius() < 0.0D)
        break label317;
    }
    while (true)
    {
      Preconditions.checkArgument(bool1, "radius is negative");
      this.g = paramCircleOptions.getCenter();
      this.h = paramCircleOptions.getRadius();
      this.l = paramCircleOptions.getStrokeWidth();
      this.j = paramCircleOptions.getStrokeColor();
      this.k = paramCircleOptions.getFillColor();
      this.m = paramCircleOptions.getZIndex();
      this.n = paramCircleOptions.isVisible();
      this.i = q.a(this.g, this.h, 100);
      if (paramCircleOptions.getFillColor() != b.getFillColor())
        this.e.b(cb.a.V);
      if (paramCircleOptions.getStrokeColor() != b.getStrokeColor())
        this.e.b(cb.a.U);
      if (paramCircleOptions.getStrokeWidth() != b.getStrokeWidth())
        this.e.b(cb.a.T);
      if (paramCircleOptions.isVisible() != b.isVisible())
        this.e.b(cb.a.X);
      if (paramCircleOptions.getZIndex() != b.getZIndex())
        this.e.b(cb.a.W);
      return;
      bool2 = false;
      break;
      label317: bool1 = false;
    }
  }

  private void a(int paramInt)
  {
    try
    {
      if (this.o);
      do
        return;
      while (this.f == null);
      this.f.a(paramInt);
      return;
    }
    finally
    {
    }
  }

  public final void a()
  {
    try
    {
      if (this.o)
        return;
      this.o = true;
      if (this.f != null)
      {
        this.f.a();
        return;
      }
    }
    finally
    {
    }
  }

  final void a(bh.a parama)
  {
    this.f = parama;
  }

  public final List<LatLng> b()
  {
    try
    {
      List localList = this.i;
      return localList;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final List<List<LatLng>> c()
  {
    try
    {
      List localList = Collections.emptyList();
      return localList;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final int d()
  {
    try
    {
      int i1 = this.j;
      return i1;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final int e()
  {
    try
    {
      int i1 = this.k;
      return i1;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final boolean equalsRemote(ICircleDelegate paramICircleDelegate)
  {
    return equals(paramICircleDelegate);
  }

  public final float f()
  {
    try
    {
      float f1 = this.l;
      return f1;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final float g()
  {
    try
    {
      float f1 = this.m;
      return f1;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final LatLng getCenter()
  {
    this.p.a();
    return this.g;
  }

  public final int getFillColor()
  {
    this.p.a();
    return e();
  }

  public final String getId()
  {
    return this.c;
  }

  public final double getRadius()
  {
    this.p.a();
    return this.h;
  }

  public final int getStrokeColor()
  {
    this.p.a();
    return d();
  }

  public final float getStrokeWidth()
  {
    this.p.a();
    return f();
  }

  public final float getZIndex()
  {
    this.p.a();
    return g();
  }

  public final boolean h()
  {
    try
    {
      boolean bool = this.n;
      return bool;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final int hashCodeRemote()
  {
    return hashCode();
  }

  public final boolean isVisible()
  {
    this.p.a();
    return h();
  }

  public final void remove()
  {
    this.p.a();
    this.e.b(cb.a.Q);
    a();
    this.d.b(this);
  }

  public final void setCenter(LatLng paramLatLng)
  {
    this.p.a();
    this.e.b(cb.a.R);
    try
    {
      this.g = paramLatLng;
      this.i = q.a(paramLatLng, this.h, 100);
      a(1);
      return;
    }
    finally
    {
    }
  }

  public final void setFillColor(int paramInt)
  {
    this.p.a();
    this.e.b(cb.a.V);
    try
    {
      this.k = paramInt;
      a(16);
      return;
    }
    finally
    {
    }
  }

  public final void setRadius(double paramDouble)
  {
    this.p.a();
    this.e.b(cb.a.S);
    try
    {
      this.h = paramDouble;
      this.i = q.a(this.g, paramDouble, 100);
      a(1);
      return;
    }
    finally
    {
    }
  }

  public final void setStrokeColor(int paramInt)
  {
    this.p.a();
    this.e.b(cb.a.U);
    try
    {
      this.j = paramInt;
      a(8);
      return;
    }
    finally
    {
    }
  }

  public final void setStrokeWidth(float paramFloat)
  {
    this.p.a();
    this.e.b(cb.a.T);
    boolean bool;
    if (paramFloat >= 0.0F)
      bool = true;
    while (true)
    {
      Preconditions.checkArgument(bool, "line width is negative");
      try
      {
        this.l = paramFloat;
        return;
        bool = false;
      }
      finally
      {
      }
    }
  }

  public final void setVisible(boolean paramBoolean)
  {
    this.p.a();
    this.e.b(cb.a.X);
    try
    {
      this.n = paramBoolean;
      a(32);
      return;
    }
    finally
    {
    }
  }

  public final void setZIndex(float paramFloat)
  {
    this.p.a();
    this.e.b(cb.a.W);
    try
    {
      this.m = paramFloat;
      a(64);
      return;
    }
    finally
    {
    }
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.google.android.m4b.maps.bu.l
 * JD-Core Version:    0.6.2
 */