public View onCreateView(LayoutInflater paramLayoutInflater, ViewGroup paramViewGroup, Bundle paramBundle)
 {
   ViewGroup localViewGroup = (ViewGroup)super.onCreateView(paramLayoutInflater, paramViewGroup, paramBundle);
   paramLayoutInflater.inflate(2130903548, localViewGroup);
   c(localViewGroup);
   paramLayoutInflater = (TextView)localViewGroup.findViewById(2131690940);
   paramViewGroup = getArguments().getString("business_name");
   b = ((Address)getArguments().getParcelable("address"));
   Address localAddress = c.c();
   if (localAddress != null) {
     b = localAddress;
   }
   if (TextUtils.isEmpty(paramViewGroup)) {}
   for (int i = 2131166373;; i = 2131166372)
   {
     paramLayoutInflater.setText(StringUtils.a(getActivity(), i, new Object[] { paramViewGroup, a.a(", ", b) }));
     paramViewGroup = YelpMap.a(AppData.b().r().c());
     paramLayoutInflater = paramViewGroup;
     if (b.hasLatitude())
     {
       paramLayoutInflater = paramViewGroup;
       if (b.hasLongitude()) {
         paramLayoutInflater = YelpMap.b(CameraPosition.b().a(new LatLng(b.getLatitude(), b.getLongitude())).a());
       }
     }
     CameraPosition.b();
     if (paramLayoutInflater.n() != null) {
       paramLayoutInflater.a(CameraPosition.a(paramLayoutInflater.n()).a(19.0F).a());
     }
     a.setOptions(paramLayoutInflater);
     a.a(paramBundle, null);
     g();
     paramLayoutInflater = (ImageView)a.findViewById(2131689600);
     paramViewGroup = getResources().getDrawable(2130838392);
     paramLayoutInflater.setImageDrawable(paramViewGroup);
     paramLayoutInflater.setPadding(0, 0, 0, paramViewGroup.getIntrinsicHeight());
     return localViewGroup;
   }
 }
Example #2
0
 public static bo a(
     LayoutInflater paramLayoutInflater,
     GoogleMapOptions paramGoogleMapOptions,
     boolean paramBoolean) {
   com.google.common.base.g.a(paramGoogleMapOptions);
   Object localObject1 = com.google.android.m4b.maps.q.g.d();
   boolean bool;
   bl.a locala;
   Context localContext;
   Resources localResources;
   bu localbu;
   ScheduledExecutorService localScheduledExecutorService;
   View localView;
   if ((localObject1 != null) && (((com.google.android.m4b.maps.q.b) localObject1).b())) {
     bool = true;
     localObject1 = new bm(new com.google.android.m4b.maps.cf.b(), "map_start_up", bool);
     ((bl) localObject1).a();
     locala = ((bl) localObject1).a("init");
     final Object localObject2 = ((bl) localObject1).a("map_load");
     Object localObject3 = paramLayoutInflater.getContext();
     localContext = ((Context) localObject3).getApplicationContext();
     localResources = c.a();
     paramLayoutInflater = new m(localContext);
     paramLayoutInflater.a();
     localContext = b.a(localContext, paramLayoutInflater);
     localbu = ax.b();
     localScheduledExecutorService = Executors.newScheduledThreadPool(10);
     az localaz = new az(localContext, localResources);
     bf localbf = new bf(localContext, localResources);
     be localbe = be.a(localContext);
     localView = localaz.a();
     bool = a(paramGoogleMapOptions);
     if (!au.a(paramBoolean)) {
       break label734;
     }
     paramLayoutInflater =
         com.google.android.m4b.maps.o.s.a(
             localContext,
             localResources,
             paramLayoutInflater,
             localScheduledExecutorService,
             localView,
             localbu,
             "",
             bool);
     label196:
     localView = paramLayoutInflater.f();
     if (((localView instanceof SurfaceView)) && (paramGoogleMapOptions.j() != null)) {
       ((SurfaceView) localView).setZOrderOnTop(paramGoogleMapOptions.j().booleanValue());
     }
     bh localbh = paramLayoutInflater.g();
     x localx = x.a(paramLayoutInflater.h(), localbe, localContext, localResources, localbu);
     ab localab = paramLayoutInflater.i();
     aa localaa = new aa();
     localObject3 =
         new s((Context) localObject3, localResources, localab, localaa, localbe, localbu);
     localab.a((s) localObject3);
     h localh = h.a(localContext);
     Object localObject4 = paramLayoutInflater.j();
     localObject4 =
         new z(
             localContext,
             localResources,
             localbh,
             localbf.c(),
             (z.a) localObject4,
             localh,
             localbu);
     bw localbw = paramLayoutInflater.k();
     ak localak = paramLayoutInflater.l();
     j localj = paramLayoutInflater.m();
     localj.b(
         new ab.a() {
           public final void a() {
             a.a(localObject2);
             a.b();
           }
         });
     localObject2 = new FrameLayout(localContext);
     ((FrameLayout) localObject2).addView(localView);
     ((FrameLayout) localObject2).addView(localaz.a());
     ((FrameLayout) localObject2).addView(localbf.a());
     ((FrameLayout) localObject2).addView(((s) localObject3).d());
     paramLayoutInflater =
         new bo(
             (View) localObject2,
             paramLayoutInflater,
             localbe,
             localx,
             localh,
             (z) localObject4,
             localab,
             localaa,
             localbh,
             localaz,
             localbf,
             (s) localObject3,
             localj,
             av.a(),
             localbu,
             paramGoogleMapOptions,
             (bl) localObject1,
             localResources,
             localbw,
             localak,
             localScheduledExecutorService);
     paramGoogleMapOptions = g;
     c.n()
         .a(
             new View.OnClickListener() {
               public final void onClick(View paramAnonymousView) {
                 bo.a(bo.this).b(bu.a.aZ);
                 paramAnonymousView = bo.b(bo.this).c();
                 paramAnonymousView = new CameraPosition(a, b, 0.0F, 0.0F);
                 bo.b(bo.this).a(paramAnonymousView, 400);
               }
             });
     if (p.o() == null) {
       break label755;
     }
     paramLayoutInflater.g(p.o().booleanValue());
     label539:
     paramLayoutInflater.o(true);
     paramLayoutInflater.n(true);
     if (p.n() == null) {
       break label765;
     }
     paramLayoutInflater.f(p.n().booleanValue());
     label574:
     if (p.l() != -1) {
       paramLayoutInflater.a(p.l());
     }
     if (p.q() == null) {
       break label775;
     }
     paramLayoutInflater.j(p.q().booleanValue());
     label620:
     if (p.p() == null) {
       break label783;
     }
     paramLayoutInflater.i(p.p().booleanValue());
     label644:
     if (p.r() == null) {
       break label791;
     }
     paramLayoutInflater.k(p.r().booleanValue());
     label668:
     if (p.s() == null) {
       break label799;
     }
     paramLayoutInflater.l(p.s().booleanValue());
   }
   for (; ; ) {
     paramLayoutInflater.r(a);
     localbu.a(bu.a.a);
     ah.a(localContext).a(1);
     ((bl) localObject1).a(locala);
     return paramLayoutInflater;
     bool = false;
     break;
     label734:
     paramLayoutInflater =
         com.google.android.m4b.maps.o.x.a(
             localContext,
             localResources,
             paramLayoutInflater,
             localScheduledExecutorService,
             localView,
             localbu,
             "",
             bool);
     break label196;
     label755:
     paramLayoutInflater.q(a);
     break label539;
     label765:
     paramLayoutInflater.p(a);
     break label574;
     label775:
     paramLayoutInflater.t(true);
     break label620;
     label783:
     paramLayoutInflater.s(true);
     break label644;
     label791:
     paramLayoutInflater.u(true);
     break label668;
     label799:
     paramLayoutInflater.v(true);
   }
 }