Searched refs:mFragment (Results 1 – 7 of 7) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentNestingTabs.java | 75 private Fragment mFragment; field in FragmentNestingTabs.TabListener 90 mFragment = mActivity.getFragmentManager().findFragmentByTag(mTag); in TabListener() 91 if (mFragment != null && !mFragment.isDetached()) { in TabListener() 93 ft.detach(mFragment); in TabListener() 99 if (mFragment == null) { in onTabSelected() 100 mFragment = Fragment.instantiate(mActivity, mClass.getName(), mArgs); in onTabSelected() 101 ft.add(android.R.id.content, mFragment, mTag); in onTabSelected() 103 ft.attach(mFragment); in onTabSelected() 108 if (mFragment != null) { in onTabUnselected() 109 ft.detach(mFragment); in onTabUnselected()
|
D | FragmentTabs.java | 75 private Fragment mFragment; field in FragmentTabs.TabListener 90 mFragment = mActivity.getFragmentManager().findFragmentByTag(mTag); in TabListener() 91 if (mFragment != null && !mFragment.isDetached()) { in TabListener() 93 ft.detach(mFragment); in TabListener() 99 if (mFragment == null) { in onTabSelected() 100 mFragment = Fragment.instantiate(mActivity, mClass.getName(), mArgs); in onTabSelected() 101 ft.add(android.R.id.content, mFragment, mTag); in onTabSelected() 103 ft.attach(mFragment); in onTabSelected() 108 if (mFragment != null) { in onTabUnselected() 109 ft.detach(mFragment); in onTabUnselected()
|
D | ActionBarTabs.java | 90 private TabContentFragment mFragment; field in ActionBarTabs.TabListener 93 mFragment = fragment; in TabListener() 97 ft.add(R.id.fragment_content, mFragment, mFragment.getText()); in onTabSelected() 101 ft.remove(mFragment); in onTabUnselected()
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | SearchActivity.java | 32 private SearchFragment mFragment; field in SearchActivity 42 mFragment = (SearchFragment) getFragmentManager().findFragmentById(R.id.search_fragment); in onCreate() 49 startActivityForResult(mFragment.getRecognizerIntent(), REQUEST_SPEECH); in onCreate() 52 mFragment.setSpeechRecognitionCallback(mSpeechRecognitionCallback); in onCreate() 62 mFragment.setSearchQuery(data, true); in onActivityResult()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | ActionBarTabs.java | 86 private TabContentFragment mFragment; field in ActionBarTabs.TabListener 89 mFragment = fragment; in TabListener() 94 ft.add(R.id.fragment_content, mFragment, mFragment.getText()); in onTabSelected() 99 ft.remove(mFragment); in onTabUnselected()
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
D | CompatTabEclair.java | 30 private Fragment mFragment; field in CompatTabEclair 56 mFragment = fragment; in setFragment() 62 return mFragment; in getFragment()
|
D | CompatTabHoneycomb.java | 36 Fragment mFragment; field in CompatTabHoneycomb 108 mFragment = fragment; in setFragment() 114 return mFragment; in getFragment()
|