/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/ |
D | MainActivity.java | 47 FragmentManager fm = getSupportFragmentManager(); in onCreate() local 49 (BatchStepSensorFragment) fm.findFragmentByTag(FRAGTAG); in onCreate() 52 FragmentTransaction transaction = fm.beginTransaction(); in onCreate() 63 OnCardClickListener clickListener = (OnCardClickListener) fm.findFragmentByTag(FRAGTAG); in onCreate() 65 mRetentionFragment = (StreamRetentionFragment) fm.findFragmentByTag(RETENTION_TAG); in onCreate() 68 fm.beginTransaction().add(mRetentionFragment, RETENTION_TAG).commit(); in onCreate() 76 (CardStreamFragment) fm.findFragmentById(R.id.fragment_cardstream); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentMenuFragment.java | 53 FragmentManager fm = getChildFragmentManager(); in onCreateView() local 54 FragmentTransaction ft = fm.beginTransaction(); in onCreateView() 55 mFragment1 = fm.findFragmentByTag("f1"); in onCreateView() 60 mFragment2 = fm.findFragmentByTag("f2"); in onCreateView()
|
D | FragmentMenu.java | 55 FragmentManager fm = getFragmentManager(); in onCreate() local 56 FragmentTransaction ft = fm.beginTransaction(); in onCreate() 57 mFragment1 = fm.findFragmentByTag("f1"); in onCreate() 62 mFragment2 = fm.findFragmentByTag("f2"); in onCreate()
|
D | FragmentRetainInstance.java | 77 FragmentManager fm = getFragmentManager(); in onActivityCreated() local 80 mWorkFragment = (RetainedFragment)fm.findFragmentByTag("work"); in onActivityCreated() 87 fm.beginTransaction().add(mWorkFragment, "work").commit(); in onActivityCreated()
|
D | FragmentHideShow.java | 45 FragmentManager fm = getFragmentManager(); in onCreate() local 46 Fragment fragment1 = fm.findFragmentById(R.id.fragment1); in onCreate() 50 Fragment fragment2 = fm.findFragmentById(R.id.fragment2); in onCreate()
|
D | LoaderCursor.java | 52 FragmentManager fm = getFragmentManager(); in onCreate() local 55 if (fm.findFragmentById(android.R.id.content) == null) { in onCreate() 57 fm.beginTransaction().add(android.R.id.content, list).commit(); in onCreate()
|
D | LoaderRetained.java | 54 FragmentManager fm = getFragmentManager(); in onCreate() local 57 if (fm.findFragmentById(android.R.id.content) == null) { in onCreate() 59 fm.beginTransaction().add(android.R.id.content, list).commit(); in onCreate()
|
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/ |
D | PagerAdapter.java | 33 public PagerAdapter(FragmentManager fm) { in PagerAdapter() argument 34 super(fm); in PagerAdapter()
|
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
D | LNotificationActivity.java | 51 NotificationsPagerAdapter(FragmentManager fm) { in NotificationsPagerAdapter() argument 52 super(fm); in NotificationsPagerAdapter()
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/ |
D | ImageCache.java | 175 public static RetainFragment findOrCreateRetainFragment(FragmentManager fm) { in findOrCreateRetainFragment() argument 177 RetainFragment mRetainFragment = (RetainFragment) fm.findFragmentByTag(TAG); in findOrCreateRetainFragment() 182 fm.beginTransaction().add(mRetainFragment, TAG).commitAllowingStateLoss(); in findOrCreateRetainFragment()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ColorFilters.java | 90 Paint.FontMetrics fm = mPaint.getFontMetrics(); in SampleView() local 91 mPaintTextOffset = (fm.descent + fm.ascent) * 0.5f; in SampleView()
|
D | AlphaBitmap.java | 56 Paint.FontMetrics fm = p.getFontMetrics(); in drawIntoBitmap() local 57 c.drawText("Alpha", x/2, (y-fm.ascent)/2, p); in drawIntoBitmap()
|
/development/samples/browseable/Flashlight/src/com.example.android.wearable.flashlight/ |
D | MainActivity.java | 74 public LightFragmentAdapter(FragmentManager fm) { in LightFragmentAdapter() argument 75 super(fm); in LightFragmentAdapter()
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | ScreenSlideActivity.java | 127 public ScreenSlidePagerAdapter(FragmentManager fm) { in ScreenSlidePagerAdapter() argument 128 super(fm); in ScreenSlidePagerAdapter()
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | ShortcutLauncherMain.java | 83 public MyPagerAdapter(FragmentManager fm) { in MyPagerAdapter() argument 84 super(fm); in MyPagerAdapter()
|
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
D | CollectionDemoActivity.java | 106 public DemoCollectionPagerAdapter(FragmentManager fm) { in DemoCollectionPagerAdapter() argument 107 super(fm); in DemoCollectionPagerAdapter()
|
D | MainActivity.java | 113 public AppSectionsPagerAdapter(FragmentManager fm) { in AppSectionsPagerAdapter() argument 114 super(fm); in AppSectionsPagerAdapter()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/ |
D | SlidingTabsColorsFragment.java | 205 SampleFragmentPagerAdapter(FragmentManager fm) { in SampleFragmentPagerAdapter() argument 206 super(fm); in SampleFragmentPagerAdapter()
|
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/ |
D | GridExampleActivity.java | 62 public MainAdapter(Context ctx, FragmentManager fm) { in MainAdapter() argument 63 super(fm); in MainAdapter()
|
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/ |
D | MainActivity.java | 134 public SectionsPagerAdapter(FragmentManager fm) { in SectionsPagerAdapter() argument 135 super(fm); in SectionsPagerAdapter()
|
/development/samples/training/ads-and-ux/src/com/example/training/ads/ |
D | AdsCatalogActivity.java | 68 public PagerAdapter(FragmentManager fm) { in PagerAdapter() argument 69 super(fm); in PagerAdapter()
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | MainActivity.java | 155 final FragmentManager fm = getFragmentManager(); in toggleVisibleTitles() local 156 final TitlesFragment f = (TitlesFragment) fm in toggleVisibleTitles() 200 fm.beginTransaction().show(f).commit(); in toggleVisibleTitles() 225 fm.beginTransaction().hide(f).commit(); in toggleVisibleTitles()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/ |
D | ImageDetailActivity.java | 183 public ImagePagerAdapter(FragmentManager fm, int size) { in ImagePagerAdapter() argument 184 super(fm); in ImagePagerAdapter()
|
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/ |
D | StorageClientFragment.java | 119 FragmentManager fm = getActivity().getSupportFragmentManager(); in showImage() local 124 imageDialog.show(fm, "image_dialog"); in showImage()
|
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/ |
D | SampleGridPagerAdapter.java | 54 public SampleGridPagerAdapter(Context ctx, FragmentManager fm) { in SampleGridPagerAdapter() argument 55 super(fm); in SampleGridPagerAdapter()
|