Home
last modified time | relevance | path

Searched refs:mFragments (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/testables/src/android/testing/
DBaseFragmentTest.java57 protected FragmentController mFragments; field in BaseFragmentTest
82 mFragments = FragmentController.createController(new HostCallbacks()); in setupFragment()
83 mFragments.attachHost(null); in setupFragment()
84 mFragments.getFragmentManager().beginTransaction() in setupFragment()
100 if (mFragments != null) { in tearDown()
102 TestableLooper.get(this).runWithLooper(() -> mFragments.dispatchDestroy()); in tearDown()
108 mFragments.dispatchCreate(); in testCreateDestroy()
115 mFragments.dispatchStart(); in testStartStop()
117 mFragments.dispatchStop(); in testStartStop()
123 mFragments.dispatchResume(); in testResumePause()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java57 mFragments.dispatchCreate(); in testCreateLifecycle()
69 mFragments.dispatchResume(); in testResumeLifecycle()
81 mFragments.dispatchStart(); in testStartLifecycle()
93 mFragments.dispatchStart(); in testStopLifecycle()
95 mFragments.dispatchStop(); in testStopLifecycle()
107 mFragments.dispatchResume(); in testPauseLifecycle()
109 mFragments.dispatchPause(); in testPauseLifecycle()
121 mFragments.dispatchCreate(); in testDestroyLifecycle()
123 mFragments.dispatchDestroy(); in testDestroyLifecycle()
125 mFragments = null; in testDestroyLifecycle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java62 private FragmentController mFragments; field in FragmentHostManager
74 mFragments = FragmentController.createController(new HostCallbacks()); in createFragmentHost()
75 mFragments.attachHost(null); in createFragmentHost()
93 mFragments.getFragmentManager().registerFragmentLifecycleCallbacks(mLifecycleCallbacks, in createFragmentHost()
96 mFragments.restoreAllState(savedState, (FragmentManagerNonConfig) null); in createFragmentHost()
99 mFragments.dispatchCreate(); in createFragmentHost()
100 mFragments.dispatchStart(); in createFragmentHost()
101 mFragments.dispatchResume(); in createFragmentHost()
105 mFragments.dispatchPause(); in destroyFragmentHost()
106 Parcelable p = mFragments.saveAllState(); in destroyFragmentHost()
[all …]
/frameworks/base/core/java/android/app/
DFragmentManagerNonConfig.java36 private final List<Fragment> mFragments; field in FragmentManagerNonConfig
41 mFragments = fragments; in FragmentManagerNonConfig()
49 return mFragments; in getFragments()
DActivity.java889 final FragmentController mFragments = FragmentController.createController(new HostCallbacks()); field in Activity
1107 return mFragments.getLoaderManager(); in getLoaderManager()
1566 mFragments.restoreLoaderNonConfig(mLastNonConfigurationInstances.loaders); in onCreate()
1585 mFragments.restoreAllState(p, mLastNonConfigurationInstances != null in onCreate()
1588 mFragments.dispatchCreate(); in onCreate()
1831 mFragments.doLoaderStart(); in onStart()
2242 Parcelable p = mFragments.saveAllState(); in onSaveInstanceState()
2967 mFragments.dispatchConfigurationChanged(newConfig); in onConfigurationChanged()
3119 FragmentManagerNonConfig fragments = mFragments.retainNestedNonConfig(); in retainNonConfigurationInstances()
3125 mFragments.doLoaderStart(); in retainNonConfigurationInstances()
[all …]
DActivityThread.java3663 r.activity.mFragments.noteStateNotSaved(); in deliverNewIntents()
4424 r.activity.mFragments.noteStateNotSaved(); in performResumeActivity()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java79 mFragments.dispatchResume(); in testDisableNone()
94 mFragments.dispatchResume(); in testDisableSystemInfo()
112 mFragments.dispatchResume(); in testDisableNotifications()
128 mFragments.dispatchResume(); in testDisableClock()
144 mFragments.dispatchResume(); in testOnDozingChanged()
DNavigationBarFragmentTest.java152 mFragments = FragmentController.createController( in setupFragment()
154 mFragments.attachHost(null); in setupFragment()
155 mFragments.getFragmentManager().beginTransaction() in setupFragment()
193 mFragments.dispatchResume(); in testHomeLongPress()
202 mFragments.dispatchResume(); in testRegisteredWithDispatcher()
217 mFragments.dispatchCreate(); in testSetImeWindowStatusWhenImeSwitchOnDisplay()
219 mFragments.dispatchResume(); in testSetImeWindowStatusWhenImeSwitchOnDisplay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFragmentTest.java103 mFragments.dispatchResume(); in testListening()
132 mFragments.dispatchResume(); in testSaveState()