Home
last modified time | relevance | path

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

123

/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/Support4Demos/src/com/example/android/supportv4/app/
DFragmentMenuFragmentSupport.java54 FragmentManager fm = getChildFragmentManager(); in onCreateView() local
55 FragmentTransaction ft = fm.beginTransaction(); in onCreateView()
56 mFragment1 = fm.findFragmentByTag("f1"); in onCreateView()
61 mFragment2 = fm.findFragmentByTag("f2"); in onCreateView()
DFragmentStackFragmentSupport.java70 FragmentManager fm = getChildFragmentManager(); in onCreateView()
71 if (fm.getBackStackEntryCount() > 0) { in onCreateView()
72 fm.popBackStack(fm.getBackStackEntryAt(0).getId(), in onCreateView()
DFragmentStackSupport.java53 FragmentManager fm = getSupportFragmentManager(); in onCreate()
54 if (fm.getBackStackEntryCount() > 0) { in onCreate()
55 fm.popBackStack(fm.getBackStackEntryAt(0).getId(), in onCreate()
DFragmentMenuSupport.java57 FragmentManager fm = getSupportFragmentManager(); in onCreate() local
58 FragmentTransaction ft = fm.beginTransaction(); in onCreate()
59 mFragment1 = fm.findFragmentByTag("f1"); in onCreate()
64 mFragment2 = fm.findFragmentByTag("f2"); in onCreate()
DFragmentRetainInstanceSupport.java78 FragmentManager fm = getFragmentManager(); in onActivityCreated() local
81 mWorkFragment = (RetainedFragment)fm.findFragmentByTag("work"); in onActivityCreated()
88 fm.beginTransaction().add(mWorkFragment, "work").commit(); in onActivityCreated()
DFragmentHideShowSupport.java46 FragmentManager fm = getSupportFragmentManager(); in onCreate() local
47 Fragment fragment1 = fm.findFragmentById(R.id.fragment1); in onCreate()
51 Fragment fragment2 = fm.findFragmentById(R.id.fragment2); in onCreate()
DLoaderRetainedSupport.java54 FragmentManager fm = getSupportFragmentManager(); 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()
DLoaderCursorSupport.java55 FragmentManager fm = getSupportFragmentManager(); in onCreate() local
58 if (fm.findFragmentById(android.R.id.content) == null) { in onCreate()
60 fm.beginTransaction().add(android.R.id.content, list).commit(); 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/Support7Demos/src/com/example/android/supportv7/app/
DActionBarFragmentMenu.java61 FragmentManager fm = getSupportFragmentManager(); in onCreate() local
62 FragmentTransaction ft = fm.beginTransaction(); in onCreate()
63 mFragment1 = (MenuFragment)fm.findFragmentByTag("f1"); in onCreate()
68 mFragment2 = (Menu2Fragment)fm.findFragmentByTag("f2"); in onCreate()
169 FragmentManager fm = getChildFragmentManager(); in onCreate() local
170 FragmentTransaction ft = fm.beginTransaction(); in onCreate()
171 mFragment3 = (Menu3Fragment)fm.findFragmentByTag("f3"); 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/SupportLeanbackDemos/src/com/example/android/leanback/
DGuidedStepHalfScreenActivity.java89 FragmentManager fm = getFragmentManager(); in onGuidedActionClicked() local
91 GuidedStepFragment.add(fm, new SecondStepFragment(), R.id.lb_guidedstep_host); in onGuidedActionClicked()
137 FragmentManager fm = getFragmentManager(); in onGuidedActionClicked() local
138 fm.popBackStack(); in onGuidedActionClicked()
DGuidedStepSupportHalfScreenActivity.java91 FragmentManager fm = getFragmentManager(); in onGuidedActionClicked() local
93 … GuidedStepSupportFragment.add(fm, new SecondStepFragment(), R.id.lb_guidedstep_host); in onGuidedActionClicked()
139 FragmentManager fm = getFragmentManager(); in onGuidedActionClicked() local
140 fm.popBackStack(); in onGuidedActionClicked()
/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/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DCollectionDemoActivity.java106 public DemoCollectionPagerAdapter(FragmentManager fm) { in DemoCollectionPagerAdapter() argument
107 super(fm); in DemoCollectionPagerAdapter()

123