/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/Support4Demos/src/com/example/android/supportv4/app/ |
D | FragmentMenuFragmentSupport.java | 54 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()
|
D | FragmentStackFragmentSupport.java | 70 FragmentManager fm = getChildFragmentManager(); in onCreateView() 71 if (fm.getBackStackEntryCount() > 0) { in onCreateView() 72 fm.popBackStack(fm.getBackStackEntryAt(0).getId(), in onCreateView()
|
D | FragmentStackSupport.java | 53 FragmentManager fm = getSupportFragmentManager(); in onCreate() 54 if (fm.getBackStackEntryCount() > 0) { in onCreate() 55 fm.popBackStack(fm.getBackStackEntryAt(0).getId(), in onCreate()
|
D | FragmentMenuSupport.java | 57 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()
|
D | FragmentRetainInstanceSupport.java | 78 FragmentManager fm = getFragmentManager(); in onActivityCreated() local 81 mWorkFragment = (RetainedFragment)fm.findFragmentByTag("work"); in onActivityCreated() 88 fm.beginTransaction().add(mWorkFragment, "work").commit(); in onActivityCreated()
|
D | FragmentHideShowSupport.java | 46 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()
|
D | LoaderRetainedSupport.java | 54 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()
|
D | LoaderCursorSupport.java | 55 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/ |
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/Support7Demos/src/com/example/android/supportv7/app/ |
D | ActionBarFragmentMenu.java | 61 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/ |
D | PagerAdapter.java | 33 public PagerAdapter(FragmentManager fm) { in PagerAdapter() argument 34 super(fm); in PagerAdapter()
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | GuidedStepHalfScreenActivity.java | 89 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()
|
D | GuidedStepSupportHalfScreenActivity.java | 91 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/ |
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/training/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
D | CollectionDemoActivity.java | 106 public DemoCollectionPagerAdapter(FragmentManager fm) { in DemoCollectionPagerAdapter() argument 107 super(fm); in DemoCollectionPagerAdapter()
|