package com.google.android.m4b.maps.model.internal;

import android.graphics.Bitmap;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable.Creator;
import com.google.android.m4b.maps.h.a;
import com.google.android.m4b.maps.h.a.a;
import com.google.android.m4b.maps.h.b;

public class BitmapDescriptorParcelableCreator
  implements Parcelable.Creator<BitmapDescriptorParcelable>
{
  public static final int CONTENT_DESCRIPTION;

  static void a(BitmapDescriptorParcelable paramBitmapDescriptorParcelable, Parcel paramParcel, int paramInt)
  {
    int i = b.a(paramParcel);
    b.a(paramParcel, 1, paramBitmapDescriptorParcelable.getVersionCode());
    b.a(paramParcel, 2, paramBitmapDescriptorParcelable.getType());
    b.a(paramParcel, 3, paramBitmapDescriptorParcelable.getParameters(), false);
    b.a(paramParcel, 4, paramBitmapDescriptorParcelable.getBitmap(), paramInt, false);
    b.a(paramParcel, i);
  }

  public BitmapDescriptorParcelable createFromParcel(Parcel paramParcel)
  {
    Bitmap localBitmap = null;
    int i = a.a(paramParcel);
    byte b = 0;
    int j = 0;
    Bundle localBundle = null;
    while (paramParcel.dataPosition() < i)
    {
      int k = paramParcel.readInt();
      switch (0xFFFF & k)
      {
      default:
        a.b(paramParcel, k);
        break;
      case 1:
        j = a.f(paramParcel, k);
        break;
      case 2:
        b = a.d(paramParcel, k);
        break;
      case 3:
        localBundle = a.m(paramParcel, k);
        break;
      case 4:
        localBitmap = (Bitmap)a.a(paramParcel, k, Bitmap.CREATOR);
      }
    }
    if (paramParcel.dataPosition() != i)
      throw new a.a("Overread allowed size end=" + i, paramParcel);
    return new BitmapDescriptorParcelable(j, b, localBundle, localBitmap);
  }

  public BitmapDescriptorParcelable[] newArray(int paramInt)
  {
    return new BitmapDescriptorParcelable[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.model.internal.BitmapDescriptorParcelableCreator
 * JD-Core Version:    0.6.2
 */