Home
last modified time | relevance | path

Searched refs:mFragment2 (Results 1 – 4 of 4) sorted by relevance

/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentMenuFragmentSupport.java37 Fragment mFragment2; field in FragmentMenuFragmentSupport
61 mFragment2 = fm.findFragmentByTag("f2"); in onCreateView()
62 if (mFragment2 == null) { in onCreateView()
63 mFragment2 = new FragmentMenuSupport.Menu2Fragment(); in onCreateView()
64 ft.add(mFragment2, "f2"); in onCreateView()
92 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
93 else ft.hide(mFragment2); in updateFragmentVisibility()
DFragmentMenuSupport.java40 Fragment mFragment2; field in FragmentMenuSupport
64 mFragment2 = fm.findFragmentByTag("f2"); in onCreate()
65 if (mFragment2 == null) { in onCreate()
66 mFragment2 = new Menu2Fragment(); in onCreate()
67 ft.add(mFragment2, "f2"); in onCreate()
93 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
94 else ft.hide(mFragment2); in updateFragmentVisibility()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentMenuFragment.java36 Fragment mFragment2; field in FragmentMenuFragment
60 mFragment2 = fm.findFragmentByTag("f2"); in onCreateView()
61 if (mFragment2 == null) { in onCreateView()
62 mFragment2 = new FragmentMenu.Menu2Fragment(); in onCreateView()
63 ft.add(mFragment2, "f2"); in onCreateView()
91 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
92 else ft.hide(mFragment2); in updateFragmentVisibility()
DFragmentMenu.java38 Fragment mFragment2; field in FragmentMenu
62 mFragment2 = fm.findFragmentByTag("f2"); in onCreate()
63 if (mFragment2 == null) { in onCreate()
64 mFragment2 = new Menu2Fragment(); in onCreate()
65 ft.add(mFragment2, "f2"); in onCreate()
91 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
92 else ft.hide(mFragment2); in updateFragmentVisibility()