package com.google.android.m4b.maps.bt;

import android.opengl.GLES20;
import com.google.common.collect.Lists;
import java.util.Iterator;
import java.util.List;

public abstract class n
{
  private Object a = new Object();
  private int b = 0;
  private int c = 0;
  private volatile boolean d = true;
  private boolean e = false;
  private float[] f = new float[4];
  private final List<e> g = Lists.newArrayList();

  public n()
  {
    if (this.e)
      d.b();
    this.f[0] = 0.0F;
    this.f[1] = 0.0F;
    this.f[2] = 0.0F;
    this.f[3] = 1.0F;
  }

  void a()
  {
    if (this.d);
    synchronized (this.a)
    {
      this.d = false;
      GLES20.glClearColor(this.f[0], this.f[1], this.f[2], this.f[3]);
      GLES20.glClearStencil(0);
      GLES20.glClear(17664);
      GLES20.glEnable(2929);
      GLES20.glEnable(2884);
      return;
    }
  }

  protected final void a(int paramInt1, int paramInt2)
  {
    synchronized (this.a)
    {
      this.b = paramInt1;
      this.c = paramInt2;
      this.d = true;
      synchronized (this.g)
      {
        if (!this.g.isEmpty())
        {
          Iterator localIterator = this.g.iterator();
          if (localIterator.hasNext())
            ((e)localIterator.next()).a(this.b, this.c);
        }
      }
    }
  }

  final void a(e parame)
  {
    synchronized (this.g)
    {
      this.g.add(parame);
      return;
    }
  }

  final boolean a(f.a parama)
  {
    if ((parama.d == this.e) && (!parama.e))
      return false;
    this.e = parama.d;
    return true;
  }

  public final int b()
  {
    return this.b;
  }

  final void b(e parame)
  {
    synchronized (this.g)
    {
      this.g.remove(parame);
      return;
    }
  }

  public final int c()
  {
    return this.c;
  }
}

/* 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.bt.n
 * JD-Core Version:    0.6.2
 */