/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicPlayerActivity.java | 34 .add(R.id.container, BrowseFragment.newInstance(null)) in onCreate() 43 QueueFragment queueFragment = QueueFragment.newInstance(); in onMediaItemSelected() 50 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId())) in onMediaItemSelected()
|
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
D | LNotificationActivity.java | 59 return HeadsUpNotificationFragment.newInstance(); in getItem() 61 return VisibilityMetadataFragment.newInstance(); in getItem() 63 return OtherMetadataFragment.newInstance(); in getItem()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentDialogOrActivity.java | 43 DialogFragment newFragment = MyDialogFragment.newInstance(); in onCreate() 61 DialogFragment newFragment = MyDialogFragment.newInstance(); in showDialog() 68 static MyDialogFragment newInstance() { in newInstance() method in FragmentDialogOrActivity.MyDialogFragment
|
D | FragmentArgumentsFragment.java | 39 Fragment newFragment = FragmentArguments.MyFragment.newInstance("From Arguments 1"); in onCreate() 41 newFragment = FragmentArguments.MyFragment.newInstance("From Arguments 2"); in onCreate()
|
D | FragmentStack.java | 56 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
|
D | FragmentCustomAnimations.java | 54 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
|
D | FragmentStackFragment.java | 39 Fragment newFragment = FragmentStack.CountingFragment.newInstance(mStackLevel); in onCreate() 79 Fragment newFragment = FragmentStack.CountingFragment.newInstance(mStackLevel); in addFragmentToStack()
|
D | FragmentAlertDialog.java | 57 DialogFragment newFragment = MyAlertDialogFragment.newInstance( in showDialog() 76 public static MyAlertDialogFragment newInstance(int title) { in newInstance() method in FragmentAlertDialog.MyAlertDialogFragment
|
D | FragmentArguments.java | 45 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/ |
D | MainActivity.java | 45 .replace(R.id.container, SetupProfileFragment.newInstance()) in showSetupProfile() 51 .add(R.id.container, BasicManagedProfileFragment.newInstance()) in showMainFragment()
|
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/ |
D | MainActivity.java | 40 showFragment(DeviceOwnerFragment.newInstance()); in onCreate() 44 showFragment(InstructionFragment.newInstance()); in onCreate()
|
D | InstructionFragment.java | 34 public static InstructionFragment newInstance() { in newInstance() method in InstructionFragment
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | MessageDialogFragment.java | 29 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/Camera2Video/src/com.example.android.camera2video/ |
D | CameraActivity.java | 30 .replace(R.id.container, Camera2VideoFragment.newInstance()) in onCreate()
|
/development/samples/browseable/CardView/src/com.example.android.cardview/ |
D | CardViewActivity.java | 33 .add(R.id.container, CardViewFragment.newInstance()) in onCreate()
|
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
D | CameraActivity.java | 33 .replace(R.id.container, Camera2RawFragment.newInstance()) in onCreate()
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
D | CameraActivity.java | 30 .replace(R.id.container, Camera2BasicFragment.newInstance()) in onCreate()
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/ |
D | MainActivity.java | 33 .add(R.id.container, SchedulerFragment.newInstance()) in onCreate()
|
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/ |
D | AppUsageStatisticsActivity.java | 33 .add(R.id.container, AppUsageStatisticsFragment.newInstance()) in onCreate()
|
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/ |
D | DirectorySelectionActivity.java | 33 .add(R.id.container, DirectorySelectionFragment.newInstance()) in onCreate()
|
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/ |
D | MainActivity.java | 36 .add(R.id.container, ScopedDirectoryAccessFragment.newInstance(), FRAGMENT_TAG) in onCreate()
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
D | ContactAccessor.java | 68 sInstance = clazz.newInstance(); in getInstance()
|
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/ |
D | GridExampleActivity.java | 79 return MainFragment.newInstance(rowNum, colNum); in getFragment() 106 private static MainFragment newInstance(int rowNum, int colNum) { in newInstance() method in GridExampleActivity.MainFragment
|
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
D | MessageDialogFragment.java | 34 public static MessageDialogFragment newInstance(@StringRes int message) { in newInstance() method in MessageDialogFragment
|
/development/samples/training/ads-and-ux/src/com/example/training/ads/ |
D | AdsCatalogActivity.java | 74 return AdFragment.newInstance(position); in getItem() 88 static AdFragment newInstance(int num) { in newInstance() method in AdsCatalogActivity.AdFragment
|