package com.google.android.m4b.maps.bu;

import android.graphics.Bitmap;
import android.os.Bundle;
import com.google.android.m4b.maps.j.b;
import com.google.android.m4b.maps.model.internal.BitmapDescriptorParcelable;
import com.google.android.m4b.maps.model.internal.IBitmapDescriptorFactoryDelegate.Stub;

public final class d extends IBitmapDescriptorFactoryDelegate.Stub
{
  public final b a(BitmapDescriptorParcelable paramBitmapDescriptorParcelable)
  {
    int i = paramBitmapDescriptorParcelable.getType();
    Bundle localBundle = paramBitmapDescriptorParcelable.getParameters();
    switch (i)
    {
    default:
      throw new RuntimeException("Unknown type of BitmapDescriptor: " + i);
    case 1:
    case 2:
    case 3:
    case 4:
    case 5:
    case 7:
      return fromBitmap(paramBitmapDescriptorParcelable.getBitmap());
    case 6:
    }
    return com.google.android.m4b.maps.j.d.a(e.b(localBundle.getInt("resourceId")));
  }

  public final b defaultMarker()
  {
    return com.google.android.m4b.maps.j.d.a(e.a());
  }

  public final b defaultMarkerWithHue(float paramFloat)
  {
    return com.google.android.m4b.maps.j.d.a(e.a(paramFloat));
  }

  public final b fromAsset(String paramString)
  {
    return com.google.android.m4b.maps.j.d.a(e.a(paramString));
  }

  public final b fromBitmap(Bitmap paramBitmap)
  {
    return com.google.android.m4b.maps.j.d.a(e.a(paramBitmap));
  }

  public final b fromFile(String paramString)
  {
    return com.google.android.m4b.maps.j.d.a(e.b(paramString));
  }

  public final b fromPath(String paramString)
  {
    return com.google.android.m4b.maps.j.d.a(e.c(paramString));
  }

  public final b fromResource(int paramInt)
  {
    return com.google.android.m4b.maps.j.d.a(e.a(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.d
 * JD-Core Version:    0.6.2
 */