public void a(Activity activity, AttributeSet attributeset, Bundle bundle) { super.a(activity, attributeset, bundle); m.a(a, activity); attributeset = GoogleMapOptions.a(activity, attributeset); Bundle bundle1 = new Bundle(); bundle1.putParcelable("MapOptions", attributeset); a.a(activity, bundle1, bundle); }
protected void onActivityResult(int paramInt1, int paramInt2, Intent paramIntent) { b.i(); int n = paramInt1 >> 16; if (n != 0) { n -= 1; if ((b.f == null) || (n < 0) || (n >= b.f.size())) { Log.w("FragmentActivity", "Activity result fragment index out of range: 0x" + Integer.toHexString(paramInt1)); return; } Fragment localFragment = (Fragment)b.f.get(n); if (localFragment == null) { Log.w("FragmentActivity", "Activity result no fragment exists for index: 0x" + Integer.toHexString(paramInt1)); return; } localFragment.a(0xFFFF & paramInt1, paramInt2, paramIntent); return; } super.onActivityResult(paramInt1, paramInt2, paramIntent); }
public View onCreateView(String paramString, Context paramContext, AttributeSet paramAttributeSet) { Object localObject = null; if (!"fragment".equals(paramString)) { return super.onCreateView(paramString, paramContext, paramAttributeSet); } paramString = paramAttributeSet.getAttributeValue(null, "class"); paramContext = paramContext.obtainStyledAttributes(paramAttributeSet, i.a); String str1 = paramString; if (paramString == null) { str1 = paramContext.getString(0); } int i1 = paramContext.getResourceId(1, -1); String str2 = paramContext.getString(2); paramContext.recycle(); if (0 != 0) { throw new NullPointerException(); } if ((-1 == 0) && (i1 == -1) && (str2 == null)) { throw new IllegalArgumentException(paramAttributeSet.getPositionDescription() + ": Must specify unique android:id, android:tag, or have a parent with an id for " + str1); } paramContext = (Context)localObject; if (i1 != -1) { paramContext = b.a(i1); } paramString = paramContext; if (paramContext == null) { paramString = paramContext; if (str2 != null) { paramString = b.a(str2); } } paramContext = paramString; if (paramString == null) { paramContext = paramString; if (-1 != 0) { paramContext = b.a(0); } } if (n.a) { Log.v("FragmentActivity", "onCreateView: id=0x" + Integer.toHexString(i1) + " fname=" + str1 + " existing=" + paramContext); } int n; if (paramContext == null) { paramContext = Fragment.a(this, str1); o = true; if (i1 != 0) { n = i1; w = n; x = 0; y = str2; p = true; s = b; paramContext.a(this, paramAttributeSet, d); b.a(paramContext, true); } } for (;;) { if (I != null) { break label498; } throw new IllegalStateException("Fragment " + str1 + " did not create a view."); n = 0; break; if (p) { throw new IllegalArgumentException(paramAttributeSet.getPositionDescription() + ": Duplicate id 0x" + Integer.toHexString(i1) + ", tag " + str2 + ", or parent id 0x" + Integer.toHexString(0) + " with another fragment for " + str1); } p = true; if (!C) { paramContext.a(this, paramAttributeSet, d); } b.b(paramContext); } label498: if (i1 != 0) { I.setId(i1); } if (I.getTag() == null) { I.setTag(str2); } return I; }
public void a(Bundle bundle) { super.a(bundle); a.a(bundle); }
public void a(Activity activity) { super.a(activity); m.a(a, activity); }