/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFragmentPagerAdapter.java | 19 public void __constructor__(FragmentManager fm) { 20 this.fragmentManager = fm;
|
/frameworks/support/fragment/tests/java/android/support/v4/app/ |
FragmentReplaceTest.java | 60 final FragmentManager fm = activity.getSupportFragmentManager(); local 62 fm.beginTransaction() 66 executePendingTransactions(fm); 72 fm.beginTransaction() 76 executePendingTransactions(fm); 85 executePendingTransactions(fm); 91 private void executePendingTransactions(final FragmentManager fm) throws Throwable { 95 fm.executePendingTransactions();
|
ChildFragmentStateTest.java | 44 FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 45 fm.beginTransaction().add(parent, "parent").commit(); 46 fm.executePendingTransactions();
|
NestedInflatedFragmentTest.java | 50 final FragmentManager fm = activity.getSupportFragmentManager(); local 53 fm.beginTransaction().add(android.R.id.content, parentFragment).commitNow(); 55 fm.beginTransaction().replace(android.R.id.content, new SimpleFragment()) 57 fm.executePendingTransactions(); 59 fm.popBackStackImmediate();
|
PostponedTransitionTest.java | 61 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 63 fm.beginTransaction() 78 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 82 fm.beginTransaction() 115 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 119 fm.beginTransaction() 143 fm.beginTransaction() 169 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 181 commit[0] = fm.beginTransaction() 188 fm.beginTransaction( 228 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 287 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 329 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 427 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 525 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 606 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 645 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 694 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local 778 final FragmentManager fm = mActivityRule.getActivity().getSupportFragmentManager(); local [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
BuglePhotoPageAdapter.java | 28 public BuglePhotoPageAdapter(Context context, FragmentManager fm, Cursor c, float maxScale, 30 super(context, fm, c, maxScale, thumbsFullScreen);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentMenuFragment.java | 53 FragmentManager fm = getChildFragmentManager(); local 54 FragmentTransaction ft = fm.beginTransaction(); 55 mFragment1 = fm.findFragmentByTag("f1"); 60 mFragment2 = fm.findFragmentByTag("f2");
|
FragmentMenu.java | 55 FragmentManager fm = getFragmentManager(); local 56 FragmentTransaction ft = fm.beginTransaction(); 57 mFragment1 = fm.findFragmentByTag("f1"); 62 mFragment2 = fm.findFragmentByTag("f2");
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentMenuFragmentSupport.java | 55 FragmentManager fm = getChildFragmentManager(); local 56 FragmentTransaction ft = fm.beginTransaction(); 57 mFragment1 = fm.findFragmentByTag("f1"); 62 mFragment2 = fm.findFragmentByTag("f2");
|
FragmentMenuSupport.java | 56 FragmentManager fm = getSupportFragmentManager(); local 57 FragmentTransaction ft = fm.beginTransaction(); 58 mFragment1 = fm.findFragmentByTag("f1"); 63 mFragment2 = fm.findFragmentByTag("f2");
|
FragmentStackFragmentSupport.java | 73 FragmentManager fm = getChildFragmentManager(); 74 if (fm.getBackStackEntryCount() > 0) { 75 fm.popBackStack(fm.getBackStackEntryAt(0).getId(),
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
ShadowGridActivity.java | 39 FragmentManager fm = getSupportFragmentManager(); local 40 if (fm.findFragmentById(android.R.id.content) == null) { 45 fm.beginTransaction().add(android.R.id.content, listFragment).commit();
|
ClippedListActivity.java | 50 FragmentManager fm = getSupportFragmentManager(); local 51 if (fm.findFragmentById(android.R.id.content) == null) { 56 fm.beginTransaction().add(R.id.app_bar_layout, listFragment).commit();
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldFormatTest.java | 55 Format fm = new MockFormat(); local 56 Format fmc = (Format) fm.clone(); 57 assertEquals(fm.getClass(), fmc.getClass());
|
/cts/tests/fragment/src/android/fragment/cts/ |
NestedInflatedFragmentTest.java | 52 final FragmentManager fm = activity.getFragmentManager(); 55 fm.beginTransaction().add(android.R.id.content, parentFragment).commitNow(); 57 fm.beginTransaction().replace(android.R.id.content, new SimpleFragment()) 59 fm.executePendingTransactions(); 61 fm.popBackStackImmediate();
|
PostponedTransitionTest.java | 56 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 58 fm.beginTransaction() 72 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 76 fm.beginTransaction() 108 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 112 fm.beginTransaction() 136 fm.beginTransaction() 162 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 174 commit[0] = fm.beginTransaction() 180 fm.beginTransaction( 219 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 276 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 317 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 409 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 501 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 576 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 613 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 656 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local 728 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local [all...] |
/frameworks/base/core/tests/coretests/src/android/graphics/ |
TypefaceTest.java | 80 Paint.FontMetrics fm = p.getFontMetrics(); local 82 ascent = fm.ascent; 83 descent = fm.descent; 85 assertTrue("fontMetrics", fm.ascent == ascent); 86 assertTrue("fontMetrics", fm.descent == descent);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
BadgeSpan.java | 63 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { 64 if (fm != null) { 65 paint.getFontMetricsInt(fm); 67 fm.top = fm.ascent;
|
/external/skia/src/core/ |
SkTypeface.cpp | 95 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); 96 SkTypeface* t = fm->legacyCreateTypeface(nullptr, SkFontStyle::FromOldStyle(style)); 137 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); 138 return sk_sp<SkTypeface>(fm->legacyCreateTypeface(name, fontStyle)); 150 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); 151 return sk_sp<SkTypeface>(fm->matchFaceStyle(family, SkFontStyle::FromOldStyle(s))); 155 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); 156 return sk_sp<SkTypeface>(fm->createFromStream(stream, index)); 160 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); 161 return sk_sp<SkTypeface>(fm->createFromFontData(std::move(data))) 365 SkPaint::FontMetrics fm; local [all...] |
/external/skia/gm/ |
fontmgr.cpp | 29 SkScalar y, SkPaint& paint, SkFontMgr* fm, 35 sk_sp<SkTypeface> typeface(fm->matchFamilyStyleCharacter(fontName, fontStyle, 49 paint.setTypeface(sk_sp<SkTypeface>(fm->legacyCreateTypeface(familyName.c_str(), 90 SkFontMgr* fm = fFM.get(); variable 91 int count = SkMin32(fm->countFamilies(), MAX_FAMILIES); 95 fm->getFamilyName(i, &familyName); 101 sk_sp<SkFontStyleSet> set(fm->createStyleSet(i)); 112 x = drawCharacter(canvas, 0x5203, x, y, paint, fm, familyName.c_str(), &zh, 1, fs); 113 x = drawCharacter(canvas, 0x5203, x, y, paint, fm, familyName.c_str(), &ja, 1, fs); 115 x = drawCharacter(canvas, 0x1f601, x, y, paint, fm, familyName.c_str(), nullptr,0, fs) 267 SkFontMgr* fm = fFM.get(); variable [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
DialogFragment.java | 205 FragmentManager fm = getRealActivity().getFragmentManager(); local 206 boolean hasContent = fm.findFragmentByTag(BaseDialogFragment.TAG_CONTENT) != null; 207 FragmentTransaction ft = fm.beginTransaction(); 223 FragmentTransaction ft, boolean addToBackStack, FragmentManager fm) { 225 ft = fm.beginTransaction(); 227 boolean hasActions = fm.findFragmentByTag(BaseDialogFragment.TAG_ACTION) != null;
|
/prebuilts/go/darwin-x86/src/internal/pprof/profile/ |
filter.go | 14 func (p *Profile) FilterSamplesByName(focus, ignore, hide *regexp.Regexp) (fm, im, hm bool) { 22 fm = true 119 func (p *Profile) FilterSamplesByTag(focus, ignore TagMatch) (fm, im bool) { 123 fm = fm || focused 135 func focusedSample(s *Sample, focus, ignore TagMatch) (fm, im bool) { 136 fm = focus == nil 142 if !fm && focus(key, val, 0) { 143 fm = true 152 if !fm && focus(key, "", val) [all...] |
/prebuilts/go/linux-x86/src/internal/pprof/profile/ |
filter.go | 14 func (p *Profile) FilterSamplesByName(focus, ignore, hide *regexp.Regexp) (fm, im, hm bool) { 22 fm = true 119 func (p *Profile) FilterSamplesByTag(focus, ignore TagMatch) (fm, im bool) { 123 fm = fm || focused 135 func focusedSample(s *Sample, focus, ignore TagMatch) (fm, im bool) { 136 fm = focus == nil 142 if !fm && focus(key, val, 0) { 143 fm = true 152 if !fm && focus(key, "", val) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
BisectionSolver.java | 106 double fm; local 113 fm = f.value(m); 115 if (fm * fmin > 0.0) {
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
RvCompatListActivity.java | 53 FragmentManager fm = getSupportFragmentManager(); local 54 if (fm.findFragmentById(android.R.id.content) == null) { 58 fm.beginTransaction().add(android.R.id.content, fragment).commit();
|