/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 | FragmentHideShow.java | 45 FragmentManager fm = getFragmentManager(); in onCreate() local 46 addShowHideListener(R.id.frag1hide, fm.findFragmentById(R.id.fragment1)); in onCreate() 47 addShowHideListener(R.id.frag2hide, fm.findFragmentById(R.id.fragment2)); 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 | 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()
|
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()
|
/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 | 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 | 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 | 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 addShowHideListener(R.id.frag1hide, fm.findFragmentById(R.id.fragment1)); in onCreate() 48 addShowHideListener(R.id.frag2hide, 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/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/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/SupportPercentDemos/src/com/example/android/support/percent/ |
D | SupportPercentDemos.java | 43 public Adapter(FragmentManager fm) { in Adapter() argument 44 super(fm); in Adapter()
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | GuidedStepActivity.java | 99 FragmentManager fm = getFragmentManager(); in onGuidedActionClicked() local 101 GuidedStepFragment.add(fm, new SecondStepFragment()); in onGuidedActionClicked() 155 FragmentManager fm = getFragmentManager(); in onGuidedActionClicked() local 156 GuidedStepFragment.add(fm, new ThirdStepFragment(mSelectedOption)); in onGuidedActionClicked()
|
/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/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/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/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
D | CollectionDemoActivity.java | 106 public DemoCollectionPagerAdapter(FragmentManager fm) { in DemoCollectionPagerAdapter() argument 107 super(fm); in DemoCollectionPagerAdapter()
|