Home
last modified time | relevance | path

Searched refs:fm (Results 1 – 25 of 32) sorted by relevance

12

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
DMainActivity.java47 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/
DFragmentMenuFragment.java53 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()
DFragmentMenu.java55 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()
DFragmentRetainInstance.java77 FragmentManager fm = getFragmentManager(); in onActivityCreated() local
80 mWorkFragment = (RetainedFragment)fm.findFragmentByTag("work"); in onActivityCreated()
87 fm.beginTransaction().add(mWorkFragment, "work").commit(); in onActivityCreated()
DFragmentHideShow.java45 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()
DLoaderCursor.java52 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()
DLoaderRetained.java54 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/
DPagerAdapter.java33 public PagerAdapter(FragmentManager fm) { in PagerAdapter() argument
34 super(fm); in PagerAdapter()
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
DLNotificationActivity.java51 NotificationsPagerAdapter(FragmentManager fm) { in NotificationsPagerAdapter() argument
52 super(fm); in NotificationsPagerAdapter()
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageCache.java175 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/
DColorFilters.java90 Paint.FontMetrics fm = mPaint.getFontMetrics(); in SampleView() local
91 mPaintTextOffset = (fm.descent + fm.ascent) * 0.5f; in SampleView()
DAlphaBitmap.java56 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/
DMainActivity.java74 public LightFragmentAdapter(FragmentManager fm) { in LightFragmentAdapter() argument
75 super(fm); in LightFragmentAdapter()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DScreenSlideActivity.java127 public ScreenSlidePagerAdapter(FragmentManager fm) { in ScreenSlidePagerAdapter() argument
128 super(fm); in ScreenSlidePagerAdapter()
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DShortcutLauncherMain.java83 public MyPagerAdapter(FragmentManager fm) { in MyPagerAdapter() argument
84 super(fm); in MyPagerAdapter()
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DCollectionDemoActivity.java106 public DemoCollectionPagerAdapter(FragmentManager fm) { in DemoCollectionPagerAdapter() argument
107 super(fm); in DemoCollectionPagerAdapter()
DMainActivity.java113 public AppSectionsPagerAdapter(FragmentManager fm) { in AppSectionsPagerAdapter() argument
114 super(fm); in AppSectionsPagerAdapter()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/
DSlidingTabsColorsFragment.java205 SampleFragmentPagerAdapter(FragmentManager fm) { in SampleFragmentPagerAdapter() argument
206 super(fm); in SampleFragmentPagerAdapter()
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
DGridExampleActivity.java62 public MainAdapter(Context ctx, FragmentManager fm) { in MainAdapter() argument
63 super(fm); in MainAdapter()
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
DMainActivity.java134 public SectionsPagerAdapter(FragmentManager fm) { in SectionsPagerAdapter() argument
135 super(fm); in SectionsPagerAdapter()
/development/samples/training/ads-and-ux/src/com/example/training/ads/
DAdsCatalogActivity.java68 public PagerAdapter(FragmentManager fm) { in PagerAdapter() argument
69 super(fm); in PagerAdapter()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DMainActivity.java155 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/
DImageDetailActivity.java183 public ImagePagerAdapter(FragmentManager fm, int size) { in ImagePagerAdapter() argument
184 super(fm); in ImagePagerAdapter()
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/
DStorageClientFragment.java119 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/
DSampleGridPagerAdapter.java54 public SampleGridPagerAdapter(Context ctx, FragmentManager fm) { in SampleGridPagerAdapter() argument
55 super(fm); in SampleGridPagerAdapter()

12