Home
last modified time | relevance | path

Searched refs:newFragment (Results 1 – 11 of 11) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentArgumentsFragment.java39 Fragment newFragment = FragmentArguments.MyFragment.newInstance("From Arguments 1"); in onCreate() local
40 ft.add(R.id.created1, newFragment); in onCreate()
41 newFragment = FragmentArguments.MyFragment.newInstance("From Arguments 2"); in onCreate()
42 ft.add(R.id.created2, newFragment); in onCreate()
DFragmentDialogOrActivity.java43 DialogFragment newFragment = MyDialogFragment.newInstance(); in onCreate() local
44 ft.add(R.id.embedded, newFragment); in onCreate()
61 DialogFragment newFragment = MyDialogFragment.newInstance(); in showDialog() local
62 newFragment.show(getFragmentManager(), "dialog"); in showDialog()
DFragmentStackFragment.java39 Fragment newFragment = FragmentStack.CountingFragment.newInstance(mStackLevel); in onCreate() local
41 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate()
79 Fragment newFragment = FragmentStack.CountingFragment.newInstance(mStackLevel); in addFragmentToStack() local
84 ft.replace(R.id.simple_fragment, newFragment); in addFragmentToStack()
DFragmentCustomAnimations.java54 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in onCreate() local
56 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate()
73 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in addFragmentToStack() local
82 ft.replace(R.id.simple_fragment, newFragment); in addFragmentToStack()
DFragmentStack.java56 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in onCreate() local
58 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate()
75 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in addFragmentToStack() local
80 ft.replace(R.id.simple_fragment, newFragment); in addFragmentToStack()
DFragmentAlertDialog.java57 DialogFragment newFragment = MyAlertDialogFragment.newInstance( in showDialog() local
59 newFragment.show(getFragmentManager(), "dialog"); in showDialog()
DFragmentArguments.java45 Fragment newFragment = MyFragment.newInstance("From Arguments"); in onCreate() local
46 ft.add(R.id.created, newFragment); in onCreate()
DFragmentReceiveResult.java49 Fragment newFragment = new ReceiveResultFragment(); in onCreate() local
51 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate()
DFragmentDialog.java81 DialogFragment newFragment = MyDialogFragment.newInstance(mStackLevel); in showDialog() local
82 newFragment.show(ft, "dialog"); in showDialog()
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/
DMainActivity.java72 ArticleFragment newFragment = new ArticleFragment(); in onArticleSelected() local
75 newFragment.setArguments(args); in onArticleSelected()
80 transaction.replace(R.id.fragment_container, newFragment); in onArticleSelected()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DMainActivity.java253 DialogFragment newFragment = MyDialogFragment.newInstance(text); in showDialog() local
256 newFragment.show(ft, "dialog"); in showDialog()