public static GoogleMapOptions a(Location paramLocation) { CameraPosition localCameraPosition = null; if (paramLocation != null) { localCameraPosition = CameraPosition.b().a(new LatLng(paramLocation.getLatitude(), paramLocation.getLongitude())).a(16.0F).a(); } return b(localCameraPosition); }
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; } }
private void a(LatLng paramLatLng) { paramLatLng = CameraPosition.b().a(paramLatLng).a(19.0F).a(); a.a(paramLatLng, null); }