Searched refs:newFragment (Results 1 – 11 of 11) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentArgumentsFragment.java | 39 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()
|
D | FragmentDialogOrActivity.java | 43 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()
|
D | FragmentStackFragment.java | 39 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()
|
D | FragmentStack.java | 56 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()
|
D | FragmentCustomAnimations.java | 54 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()
|
D | FragmentAlertDialog.java | 57 DialogFragment newFragment = MyAlertDialogFragment.newInstance( in showDialog() local 59 newFragment.show(getFragmentManager(), "dialog"); in showDialog()
|
D | FragmentArguments.java | 45 Fragment newFragment = MyFragment.newInstance("From Arguments"); in onCreate() local 46 ft.add(R.id.created, newFragment); in onCreate()
|
D | FragmentReceiveResult.java | 49 Fragment newFragment = new ReceiveResultFragment(); in onCreate() local 51 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate()
|
D | FragmentDialog.java | 81 DialogFragment newFragment = MyDialogFragment.newInstance(mStackLevel); in showDialog() local 82 newFragment.show(ft, "dialog"); in showDialog()
|
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/ |
D | MainActivity.java | 72 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/ |
D | MainActivity.java | 253 DialogFragment newFragment = MyDialogFragment.newInstance(text); in showDialog() local 256 newFragment.show(ft, "dialog"); in showDialog()
|