Home
last modified time | relevance | path

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

/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarFragmentMenu.java40 Menu2Fragment mFragment2; field in ActionBarFragmentMenu
68 mFragment2 = (Menu2Fragment)fm.findFragmentByTag("f2"); in onCreate()
69 if (mFragment2 == null) { in onCreate()
70 mFragment2 = new Menu2Fragment(); in onCreate()
71 ft.add(mFragment2, "f2"); in onCreate()
104 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
105 else ft.hide(mFragment2); in updateFragmentVisibility()
110 mFragment2.setHasOptionsMenu(mHasOptionsMenu.isChecked()); in updateFragmentVisibility()
111 mFragment2.setMenuVisibility(mMenuVisibility.isChecked()); in updateFragmentVisibility()
114 if (mFragment2.mFragment3 != null) { in updateFragmentVisibility()
[all …]
/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()
/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()