Home
last modified time | relevance | path

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

123

/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
DLNotificationActivity.java45 .newInstance())); in onCreate()
47 .newInstance())); in onCreate()
48 tabOtherMetadata.setTabListener(new FragmentTabListener(OtherMetadataFragment.newInstance in onCreate()
/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
DFragmentArgumentsSupport.java47 Fragment newFragment = MyFragment.newInstance("From Arguments"); in onCreate()
62 static MyFragment newInstance(CharSequence label) { in newInstance() method in FragmentArgumentsSupport.MyFragment
DFragmentStackFragmentSupport.java40 Fragment newFragment = FragmentStackSupport.CountingFragment.newInstance(mStackLevel); in onCreate()
91 Fragment newFragment = FragmentStackSupport.CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
DFragmentStatePagerSupport.java85 return ArrayListFragment.newInstance(position); in getItem()
96 static ArrayListFragment newInstance(int num) { in newInstance() method in FragmentStatePagerSupport.ArrayListFragment
/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
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DMainActivity.java45 .replace(R.id.container, SetupProfileFragment.newInstance()) in showSetupProfile()
51 .add(R.id.container, BasicManagedProfileFragment.newInstance()) in showMainFragment()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DMessageDialogFragment.java29 public static MessageDialogFragment newInstance(int message) { in newInstance() method in MessageDialogFragment
37 public static MessageDialogFragment newInstance(String message) { in newInstance() method in MessageDialogFragment
/development/samples/browseable/FragmentTransition/src/com.example.android.fragmenttransition/
DFragmentTransitionFragment.java37 public static FragmentTransitionFragment newInstance() { in newInstance() method in FragmentTransitionFragment
67 DetailFragment.newInstance(meat.resourceId, meat.title, in onItemClick()
/development/samples/browseable/CardView/src/com.example.android.cardview/
DCardViewActivity.java33 .add(R.id.container, CardViewFragment.newInstance()) in onCreate()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCameraActivity.java30 .replace(R.id.container, Camera2BasicFragment.newInstance()) in onCreate()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCameraActivity.java30 .replace(R.id.container, Camera2VideoFragment.newInstance()) in onCreate()
/development/samples/wearable/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/
DGridExampleActivity.java73 return MainFragment.newInstance(rowNum, colNum); in getFragment()
99 private static MainFragment newInstance(int rowNum, int colNum) { in newInstance() method in GridExampleActivity.MainFragment
/development/samples/Support13Demos/src/com/example/android/supportv13/app/
DFragmentPagerSupport.java85 return ArrayListFragment.newInstance(position); in getItem()
96 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
/development/samples/BusinessCard/src/com/example/android/businesscard/
DContactAccessor.java68 sInstance = clazz.newInstance(); in getInstance()

123