package com.google.android.m4b.maps.bu;

import com.google.android.m4b.maps.ac.a;
import com.google.android.m4b.maps.ak.h;
import com.google.android.m4b.maps.model.MapsEngineLayerInfo;
import com.google.android.m4b.maps.model.MapsEngineLayerOptions;
import com.google.android.m4b.maps.model.internal.IMapsEngineLayerDelegate;
import com.google.android.m4b.maps.model.internal.IMapsEngineLayerDelegate.Stub;
import com.google.common.annotations.VisibleForTesting;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.atomic.AtomicInteger;

public final class az extends IMapsEngineLayerDelegate.Stub
  implements ba.a, bf.a
{
  private static final MapsEngineLayerOptions a = new MapsEngineLayerOptions();
  private static AtomicInteger b = new AtomicInteger(0);
  private final bf c;
  private by d;
  private final cb e;
  private final ba f;
  private a g;
  private final String h;
  private final MapsEngineLayerInfo i;
  private boolean j;
  private float k;
  private boolean l;
  private boolean m;

  @VisibleForTesting
  private az(MapsEngineLayerOptions paramMapsEngineLayerOptions, bf parambf, cb paramcb, ba paramba, by paramby)
  {
    Object[] arrayOfObject = new Object[1];
    arrayOfObject[0] = Integer.valueOf(b.getAndIncrement());
    this.h = String.format("me%d", arrayOfObject);
    this.c = parambf;
    this.e = paramcb;
    this.d = paramby;
    this.i = paramMapsEngineLayerOptions.getLayerInfo();
    this.j = paramMapsEngineLayerOptions.isVisible();
    this.k = paramMapsEngineLayerOptions.getZIndex();
    this.l = paramMapsEngineLayerOptions.isDefaultUiEnabled();
    this.f = paramba;
    this.f.a(this);
    this.f.a();
    if (paramMapsEngineLayerOptions.isVisible() != a.isVisible())
      this.e.b(cb.a.an);
    if (paramMapsEngineLayerOptions.getZIndex() != a.getZIndex())
      this.e.b(cb.a.am);
    if (paramMapsEngineLayerOptions.isDefaultUiEnabled() != a.isDefaultUiEnabled())
      this.e.b(cb.a.ao);
  }

  static az a(MapsEngineLayerOptions paramMapsEngineLayerOptions, s params, ScheduledExecutorService paramScheduledExecutorService, h paramh, bf parambf, cb paramcb, by paramby)
  {
    return new az(paramMapsEngineLayerOptions, parambf, paramcb, new ba(paramMapsEngineLayerOptions.getLayerInfo(), params, paramScheduledExecutorService, paramh), paramby);
  }

  private void a(int paramInt)
  {
    try
    {
      if (this.m);
      do
        return;
      while (this.g == null);
      this.g.a(paramInt);
      return;
    }
    finally
    {
    }
  }

  public final void a()
  {
    try
    {
      if (this.m)
        return;
      this.m = true;
      if (this.g != null)
        this.g.a();
      this.f.b();
      return;
    }
    finally
    {
    }
  }

  public final void a(a parama)
  {
    this.g.a(parama);
  }

  public final void a(a parama)
  {
    this.g = parama;
  }

  public final a b()
  {
    return this.f.e();
  }

  public final String c()
  {
    return this.h;
  }

  public final float d()
  {
    try
    {
      float f1 = this.k;
      return f1;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final boolean e()
  {
    try
    {
      boolean bool = this.j;
      return bool;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final boolean equalsRemote(IMapsEngineLayerDelegate paramIMapsEngineLayerDelegate)
  {
    return equals(paramIMapsEngineLayerDelegate);
  }

  public final boolean f()
  {
    try
    {
      boolean bool = this.l;
      return bool;
    }
    finally
    {
      localObject = finally;
      throw localObject;
    }
  }

  public final MapsEngineLayerInfo getLayerInfo()
  {
    this.d.a();
    return this.i;
  }

  public final float getZIndex()
  {
    this.d.a();
    return d();
  }

  public final int hashCodeRemote()
  {
    return hashCode();
  }

  public final boolean isDefaultUiEnabled()
  {
    this.d.a();
    return f();
  }

  public final boolean isVisible()
  {
    this.d.a();
    return e();
  }

  public final void remove()
  {
    this.d.a();
    this.e.b(cb.a.y);
    a();
    this.c.b(this);
  }

  public final void setDefaultUiEnabled(boolean paramBoolean)
  {
    this.d.a();
    this.e.b(cb.a.ao);
    this.l = paramBoolean;
    a(1);
  }

  public final void setVisible(boolean paramBoolean)
  {
    this.d.a();
    this.e.b(cb.a.ak);
    try
    {
      this.j = paramBoolean;
      a(4);
      return;
    }
    finally
    {
    }
  }

  public final void setZIndex(float paramFloat)
  {
    this.d.a();
    this.e.b(cb.a.aj);
    try
    {
      this.k = paramFloat;
      a(2);
      return;
    }
    finally
    {
    }
  }

  public static abstract interface a extends ba.a
  {
    public abstract void a();

    public abstract void a(int paramInt);
  }
}

/* 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.az
 * JD-Core Version:    0.6.2
 */