Home
last modified time | relevance | path

Searched refs:mFragment (Results 1 – 7 of 7) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentNestingTabs.java75 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()
DFragmentTabs.java75 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()
DActionBarTabs.java90 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/browseable/ActiveNotifications/src/com.example.android.activenotifications/
DActiveNotificationsActivity.java28 private ActiveNotificationsFragment mFragment; field in ActiveNotificationsActivity
36 if (mFragment == null) {
39 mFragment.updateNumberOfNotifications();
47 mFragment.updateNumberOfNotifications(); in onCreate()
51 mFragment = (ActiveNotificationsFragment) getSupportFragmentManager() in findFragment()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DMainActivity.java62 @Inject FingerprintAuthenticationDialogFragment mFragment; field in MainActivity
107 mFragment.setCryptoObject(new FingerprintManager.CryptoObject(mSignature)); in onCreate()
112 mFragment.setStage( in onCreate()
115 mFragment.setStage( in onCreate()
118 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onCreate()
124 mFragment.setStage( in onCreate()
126 mFragment.show(getFragmentManager(), DIALOG_FRAGMENT_TAG); in onCreate()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DCompatTabEclair.java30 private Fragment mFragment; field in CompatTabEclair
56 mFragment = fragment; in setFragment()
62 return mFragment; in getFragment()
DCompatTabHoneycomb.java36 Fragment mFragment; field in CompatTabHoneycomb
108 mFragment = fragment; in setFragment()
114 return mFragment; in getFragment()