Home
last modified time | relevance | path

Searched refs:newInstance (Results 1 – 25 of 39) sorted by relevance

12

/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentDialogOrActivitySupport.java42 DialogFragment newFragment = MyDialogFragment.newInstance(); in onCreate()
60 DialogFragment newFragment = MyDialogFragment.newInstance(); in showDialog()
67 static MyDialogFragment newInstance() { in newInstance() method in FragmentDialogOrActivitySupport.MyDialogFragment
DFragmentCustomAnimationSupport.java51 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in onCreate()
70 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
93 static CountingFragment newInstance(int num) { in newInstance() method in FragmentCustomAnimationSupport.CountingFragment
DFragmentStackSupport.java63 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in onCreate()
82 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
102 static CountingFragment newInstance(int num) { in newInstance() method in FragmentStackSupport.CountingFragment
DFragmentAlertDialogSupport.java58 DialogFragment newFragment = MyAlertDialogFragment.newInstance( in showDialog()
77 public static MyAlertDialogFragment newInstance(int title) { in newInstance() method in FragmentAlertDialogSupport.MyAlertDialogFragment
DFragmentStackFragmentSupport.java40 Fragment newFragment = FragmentStackSupport.CountingFragment.newInstance(mStackLevel); in onCreate()
91 Fragment newFragment = FragmentStackSupport.CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
DFragmentArgumentsSupport.java47 Fragment newFragment = MyFragment.newInstance("From Arguments"); in onCreate()
62 static MyFragment newInstance(CharSequence label) { in newInstance() method in FragmentArgumentsSupport.MyFragment
DFragmentPagerSupport.java84 return ArrayListFragment.newInstance(position); in getItem()
95 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentPagerSupport.ArrayListFragment
DFragmentStatePagerSupport.java85 return ArrayListFragment.newInstance(position); in getItem()
96 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentStatePagerSupport.ArrayListFragment
DFragmentDialogSupport.java82 DialogFragment newFragment = MyDialogFragment.newInstance(mStackLevel); in showDialog()
110 static MyDialogFragment newInstance(int num) { in newInstance() method in FragmentDialogSupport.MyDialogFragment
DFragmentLayoutSupport.java151 details = DetailsFragment.newInstance(index); in showDetails()
187 public static DetailsFragment newInstance(int index) { in newInstance() method in FragmentLayoutSupport.DetailsFragment
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentDialogOrActivity.java43 DialogFragment newFragment = MyDialogFragment.newInstance(); in onCreate()
61 DialogFragment newFragment = MyDialogFragment.newInstance(); in showDialog()
68 static MyDialogFragment newInstance() { in newInstance() method in FragmentDialogOrActivity.MyDialogFragment
DFragmentArgumentsFragment.java39 Fragment newFragment = FragmentArguments.MyFragment.newInstance("From Arguments 1"); in onCreate()
41 newFragment = FragmentArguments.MyFragment.newInstance("From Arguments 2"); in onCreate()
DFragmentStack.java56 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in onCreate()
75 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
95 static CountingFragment newInstance(int num) { in newInstance() method in FragmentStack.CountingFragment
DFragmentCustomAnimations.java54 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in onCreate()
73 Fragment newFragment = CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
96 static CountingFragment newInstance(int num) { in newInstance() method in FragmentCustomAnimations.CountingFragment
DFragmentStackFragment.java39 Fragment newFragment = FragmentStack.CountingFragment.newInstance(mStackLevel); in onCreate()
79 Fragment newFragment = FragmentStack.CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
DFragmentAlertDialog.java57 DialogFragment newFragment = MyAlertDialogFragment.newInstance( in showDialog()
76 public static MyAlertDialogFragment newInstance(int title) { in newInstance() method in FragmentAlertDialog.MyAlertDialogFragment
DFragmentArguments.java45 Fragment newFragment = MyFragment.newInstance("From Arguments"); in onCreate()
60 static MyFragment newInstance(CharSequence label) { in newInstance() method in FragmentArguments.MyFragment
DFragmentDialog.java81 DialogFragment newFragment = MyDialogFragment.newInstance(mStackLevel); in showDialog()
109 static MyDialogFragment newInstance(int num) { in newInstance() method in FragmentDialog.MyDialogFragment
DFragmentLayout.java148 details = DetailsFragment.newInstance(index); in showDetails()
184 public static DetailsFragment newInstance(int index) { in newInstance() method in FragmentLayout.DetailsFragment
/development/samples/BrowserPlugin/jni/
DPluginObject.cpp188 PluginObject *newInstance = (PluginObject*) malloc(sizeof(PluginObject)); in pluginAllocate() local
189 newInstance->header._class = theClass; in pluginAllocate()
190 newInstance->header.referenceCount = 1; in pluginAllocate()
197 newInstance->npp = npp; in pluginAllocate()
199 return &newInstance->header; in pluginAllocate()
/development/samples/BusinessCard/src/com/example/android/businesscard/
DContactAccessor.java68 sInstance = clazz.newInstance(); in getInstance()
/development/samples/Support13Demos/src/com/example/android/supportv13/app/
DFragmentStatePagerSupport.java85 return ArrayListFragment.newInstance(position); in getItem()
96 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentStatePagerSupport.ArrayListFragment
DFragmentPagerSupport.java85 return ArrayListFragment.newInstance(position); in getItem()
96 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentPagerSupport.ArrayListFragment
DCountingFragment.java34 static CountingFragment newInstance(int num) { in newInstance() method in CountingFragment
/development/samples/training/ads-and-ux/src/com/example/training/ads/
DAdsCatalogActivity.java74 return AdFragment.newInstance(position); in getItem()
88 static AdFragment newInstance(int num) { in newInstance() method in AdsCatalogActivity.AdFragment

12