HomeSort by relevance Sort by last modified time
    Searched defs:fm (Results 1 - 25 of 248) sorted by null

1 2 3 4 5 6 7 8 910

  /frameworks/support/fragment/tests/java/android/support/v4/app/
ChildFragmentStateTest.java 40 FragmentManager fm = getActivity().getSupportFragmentManager(); local
41 fm.beginTransaction().add(parent, "parent").commit();
42 fm.executePendingTransactions();
NestedFragmentRestoreTest.java 66 FragmentManager fm = activity.getSupportFragmentManager(); local
67 ParentFragment parent = (ParentFragment) fm.findFragmentByTag("parent");
  /frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/
MainActivity.java 42 final FragmentManager fm = getSupportFragmentManager(); local
43 if (fm.findFragmentById(android.R.id.content) == null) {
44 fm.beginTransaction().add(android.R.id.content, new AppListFragment()).commit();
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/listview/
CompatListActivity.java 30 FragmentManager fm = getSupportFragmentManager(); local
31 if (fm.findFragmentById(android.R.id.content) == null) {
34 fm.beginTransaction().add(android.R.id.content, listFragment).commit();
  /cts/tests/fragment/src/android/fragment/cts/
FragmentLifecycleTest.java 42 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local
47 fm.beginTransaction().add(strictFragment, "EmptyHeadless").commit();
48 executePendingTransactions(fm);
55 fm.beginTransaction().remove(strictFragment).commit();
56 executePendingTransactions(fm);
70 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local
74 fm.beginTransaction().add(f1, "1").add(f2, "2").commit();
75 executePendingTransactions(fm);
81 fm.beginTransaction().detach(f1).detach(f2).commit();
82 executePendingTransactions(fm);
110 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local
141 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local
165 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local
190 final FragmentManager fm = mActivityRule.getActivity().getFragmentManager(); local
    [all...]
  /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());
  /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) {
  /external/icu/icu4c/source/samples/layout/
gdiglue.cpp 63 GDIFontMap *fm = (GDIFontMap *) fontMap; local
65 delete fm;
gnomeglue.cpp 59 GnomeFontMap *fm = (GnomeFontMap *) fontMap; local
61 delete fm;
  /external/libopus/celt/
laplace.c 98 unsigned fm; local
99 fm = ec_decode_bin(dec, 15);
101 if (fm >= fs)
107 while(fs > LAPLACE_MINP && fm >= fl+2*fs)
119 di = (fm-fl)>>(LAPLACE_LOG_MINP+1);
123 if (fm < fl+fs)
130 celt_assert(fl<=fm);
131 celt_assert(fm<IMIN(fl+fs,32768));
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
TypefaceTest.java 79 Paint.FontMetrics fm = p.getFontMetrics(); local
81 ascent = fm.ascent;
82 descent = fm.descent;
84 assertTrue("fontMetrics", fm.ascent == ascent);
85 assertTrue("fontMetrics", fm.descent == descent);
  /frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
SharedLibraryMain.java 59 final FragmentManager fm = activity.getFragmentManager(); local
61 Fragment curDialog = fm.findFragmentByTag(dialogTag);
67 fm.beginTransaction().remove(curDialog).commitAllowingStateLoss();
76 fm.beginTransaction().add(curDialog, dialogTag).commitAllowingStateLoss();
  /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();
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
RvCompatListActivity.java 54 FragmentManager fm = getSupportFragmentManager(); local
55 if (fm.findFragmentById(android.R.id.content) == null) {
59 fm.beginTransaction().add(android.R.id.content, fragment).commit();
  /frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
GuidedStepHalfScreenActivity.java 89 FragmentManager fm = getFragmentManager(); local
91 GuidedStepFragment.add(fm, new SecondStepFragment(), R.id.lb_guidedstep_host);
137 FragmentManager fm = getFragmentManager(); local
138 fm.popBackStack();
GuidedStepSupportHalfScreenActivity.java 91 FragmentManager fm = getFragmentManager(); local
93 GuidedStepSupportFragment.add(fm, new SecondStepFragment(), R.id.lb_guidedstep_host);
139 FragmentManager fm = getFragmentManager(); local
140 fm.popBackStack();
  /art/runtime/base/
variant_map_test.cc 50 FruitMap fm; local
52 EXPECT_NULL(fm.Get(FruitMap::Apple));
53 EXPECT_FALSE(fm.Exists(FruitMap::Apple));
54 EXPECT_NULL(fm.Get(FruitMap::Orange));
55 EXPECT_FALSE(fm.Exists(FruitMap::Orange));
57 fm.Set(FruitMap::Apple, 1);
58 EXPECT_NULL(fm.Get(FruitMap::Orange));
59 EXPECT_EQ(1, *fm.Get(FruitMap::Apple));
60 EXPECT_TRUE(fm.Exists(FruitMap::Apple));
62 fm.Set(FruitMap::Apple, 5)
82 FruitMap fm; local
    [all...]
  /cts/tests/tests/text/src/android/text/style/cts/
DynamicDrawableSpanTest.java 43 FontMetricsInt fm = new FontMetricsInt(); local
45 assertEquals(0, fm.ascent);
46 assertEquals(0, fm.bottom);
47 assertEquals(0, fm.descent);
48 assertEquals(0, fm.leading);
49 assertEquals(0, fm.top);
52 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, fm));
54 assertEquals(-rect.bottom, fm.ascent);
55 assertEquals(0, fm.bottom);
56 assertEquals(0, fm.descent)
    [all...]
DrawableMarginSpanTest.java 101 FontMetricsInt fm = new FontMetricsInt(); local
103 assertEquals(0, fm.ascent);
104 assertEquals(0, fm.bottom);
105 assertEquals(0, fm.descent);
106 assertEquals(0, fm.leading);
107 assertEquals(0, fm.top);
110 drawableMarginSpan.chooseHeight(text, 0, text.getSpanEnd(drawableMarginSpan), 0, 0, fm);
112 assertEquals(0, fm.ascent);
114 assertTrue(fm.bottom > 0);
115 assertTrue(fm.descent > 0)
    [all...]
IconMarginSpanTest.java 82 FontMetricsInt fm = new FontMetricsInt(); local
84 assertEquals(0, fm.ascent);
85 assertEquals(0, fm.bottom);
86 assertEquals(0, fm.descent);
87 assertEquals(0, fm.leading);
88 assertEquals(0, fm.top);
90 iconMarginSpan.chooseHeight(text, 0, -1, 0, 0, fm);
92 assertEquals(0, fm.ascent);
93 assertEquals(HEIGHT, fm.bottom);
94 assertEquals(HEIGHT, fm.descent)
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
MediaRouteDialogPresenter.java 45 final FragmentManager fm = activity.getFragmentManager(); local
49 if (fm.findFragmentByTag(CHOOSER_FRAGMENT_TAG) != null) {
56 f.show(fm, CHOOSER_FRAGMENT_TAG);
59 if (fm.findFragmentByTag(CONTROLLER_FRAGMENT_TAG) != null) {
64 f.show(fm, CONTROLLER_FRAGMENT_TAG);
  /hardware/intel/common/libmix/mix_video/test/src/
test_framemanager.c 10 MixFrameManager *fm = (MixFrameManager *) data; local
18 mixresult = mix_framemanager_dequeue(fm, &mvf);
57 MixFrameManager *fm = NULL; local
71 fm = mix_framemanager_new();
72 if (!fm) {
77 mixresult = mix_framemanager_initialize(fm,
126 deque_thread = g_thread_create((GThreadFunc) deque_function, (void *) fm,
133 mixresult = mix_framemanager_enqueue(fm, mvf_1st);
152 mixresult = mix_framemanager_enqueue(fm, mvf);
191 if (fm) {
    [all...]
  /developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/
MainActivity.java 47 FragmentManager fm = getSupportFragmentManager(); local
49 (BatchStepSensorFragment) fm.findFragmentByTag(FRAGTAG);
52 FragmentTransaction transaction = fm.beginTransaction();
63 OnCardClickListener clickListener = (OnCardClickListener) fm.findFragmentByTag(FRAGTAG);
65 mRetentionFragment = (StreamRetentionFragment) fm.findFragmentByTag(RETENTION_TAG);
68 fm.beginTransaction().add(mRetentionFragment, RETENTION_TAG).commit();
76 (CardStreamFragment) fm.findFragmentById(R.id.fragment_cardstream);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentHideShow.java 45 FragmentManager fm = getFragmentManager(); local
46 Fragment fragment1 = fm.findFragmentById(R.id.fragment1);
50 Fragment fragment2 = fm.findFragmentById(R.id.fragment2);
FragmentMenu.java 55 FragmentManager fm = getFragmentManager(); local
56 FragmentTransaction ft = fm.beginTransaction();
57 mFragment1 = fm.findFragmentByTag("f1");
62 mFragment2 = fm.findFragmentByTag("f2");

Completed in 8593 milliseconds

1 2 3 4 5 6 7 8 910