package com.google.android.m4b.maps.ao;

import android.graphics.Point;
import com.google.android.m4b.maps.bc.af;
import com.google.android.m4b.maps.bc.bp;
import com.google.android.m4b.maps.bc.bq;
import com.google.android.m4b.maps.bu.bk.a;
import com.google.android.m4b.maps.model.LatLng;
import com.google.android.m4b.maps.model.LatLngBounds;
import com.google.android.m4b.maps.model.VisibleRegion;
import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper;

public final class q
  implements bk.a
{
  private final com.google.android.m4b.maps.bn.b a;
  private final int b;
  private final int c;
  private final int d;
  private final int e;

  public q(com.google.android.m4b.maps.bn.b paramb, int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  {
    this.a = paramb;
    this.b = paramInt1;
    this.c = paramInt2;
    this.d = paramInt3;
    this.e = paramInt4;
  }

  public final Point a(LatLng paramLatLng)
  {
    int[] arrayOfInt = this.a.b(b.b(paramLatLng));
    return new Point(arrayOfInt[0], arrayOfInt[1]);
  }

  public final LatLng a(Point paramPoint)
  {
    af localaf = this.a.d(paramPoint.x, paramPoint.y);
    if (localaf == null)
      return null;
    return b.a(localaf);
  }

  public final VisibleRegion a()
  {
    bp localbp = this.a.a(this.b, this.c, this.d, this.e);
    LatLng localLatLng1 = b.a(localbp.d());
    LatLng localLatLng2 = b.a(localbp.e());
    LatLng localLatLng3 = b.a(localbp.g());
    LatLng localLatLng4 = b.a(localbp.f());
    bq localbq = localbp.a();
    return new VisibleRegion(localLatLng1, localLatLng2, localLatLng3, localLatLng4, new LatLngBounds(b.a(localbq.f()), b.a(localbq.g())));
  }

  public final String toString()
  {
    return Objects.toStringHelper(this).add("camera", this.a).toString();
  }
}

/* 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.ao.q
 * JD-Core Version:    0.6.2
 */