Home
last modified time | relevance | path

Searched refs:beginTransaction (Results 1 – 25 of 152) sorted by relevance

1234567

/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentReorderingTest.java67 mFM.beginTransaction() in addReplace()
72 mFM.beginTransaction() in addReplace()
100 mFM.beginTransaction() in startWithPop()
114 mFM.beginTransaction() in startWithPop()
138 mFM.beginTransaction() in middlePop()
144 mFM.beginTransaction() in middlePop()
170 id[0] = mFM.beginTransaction() in removeRedundantRemove()
175 mFM.beginTransaction() in removeRedundantRemove()
180 mFM.beginTransaction() in removeRedundantRemove()
209 int id = mFM.beginTransaction() in removeRedundantAdd()
[all …]
DFragmentViewTests.java70 fm.beginTransaction().add(R.id.fragmentContainer, fragment1).addToBackStack(null).commit(); in addFragments()
76 fm.beginTransaction().add(R.id.fragmentContainer, fragment2).addToBackStack(null).commit(); in addFragments()
83 fm.beginTransaction() in addFragments()
117 fm.beginTransaction().add(R.id.fragmentContainer1, fragment1).addToBackStack(null).commit(); in addTwoContainers()
122 fm.beginTransaction().add(R.id.fragmentContainer2, fragment2).addToBackStack(null).commit(); in addTwoContainers()
128 fm.beginTransaction() in addTwoContainers()
159 fm.beginTransaction().add(R.id.fragmentContainer, fragment1).commit(); in doubleAdd()
166 fm.beginTransaction() in doubleAdd()
191 fm.beginTransaction() in removeFragments()
201 fm.beginTransaction().remove(fragment4).addToBackStack(null).commit(); in removeFragments()
[all …]
DPrimaryNavFragmentTest.java46 fm.beginTransaction().add(strictFragment, null).setPrimaryNavigationFragment(strictFragment) in delegateBackToPrimaryNav()
55 cfm.beginTransaction().add(child, null).addToBackStack(null).commit(); in delegateBackToPrimaryNav()
72 fm.beginTransaction().add(strictFragment1, null) in popPrimaryNav()
80 fm.beginTransaction().remove(strictFragment1).addToBackStack(null).commit(); in popPrimaryNav()
92 fm.beginTransaction().remove(strictFragment1).add(strictFragment2, null) in popPrimaryNav()
104 fm.beginTransaction().setPrimaryNavigationFragment(strictFragment1) in popPrimaryNav()
121 fm.beginTransaction().add(android.R.id.content, strictFragment1) in replacePrimaryNav()
129 fm.beginTransaction().replace(android.R.id.content, strictFragment2) in replacePrimaryNav()
142 fm.beginTransaction().setPrimaryNavigationFragment(null).commit(); in replacePrimaryNav()
148 fm.beginTransaction().replace(android.R.id.content, strictFragment2) in replacePrimaryNav()
DFragmentAnimationTest.java77 fm.beginTransaction() in addAnimators()
94 fm.beginTransaction().add(R.id.fragmentContainer, fragment, "1").commit(); in removeAnimators()
97 fm.beginTransaction() in removeAnimators()
114 fm.beginTransaction().add(R.id.fragmentContainer, fragment).hide(fragment).commit(); in showAnimators()
117 fm.beginTransaction() in showAnimators()
134 fm.beginTransaction().add(R.id.fragmentContainer, fragment, "1").commit(); in hideAnimators()
137 fm.beginTransaction() in hideAnimators()
154 fm.beginTransaction().add(R.id.fragmentContainer, fragment).detach(fragment).commit(); in attachAnimators()
157 fm.beginTransaction() in attachAnimators()
174 fm.beginTransaction().add(R.id.fragmentContainer, fragment, "1").commit(); in detachAnimators()
[all …]
DFragmentAnimatorTest.java79 fm.beginTransaction() in addAnimators()
97 fm.beginTransaction() in removeAnimators()
103 fm.beginTransaction() in removeAnimators()
122 fm.beginTransaction().add(R.id.fragmentContainer, fragment).hide(fragment).commit(); in showAnimatorsReordered()
133 fm.beginTransaction() in showAnimatorsReordered()
165 fm.beginTransaction() in showAnimatorsOrdered()
180 fm.beginTransaction() in showAnimatorsOrdered()
212 fm.beginTransaction() in hideAnimators()
218 fm.beginTransaction() in hideAnimators()
236 fm.beginTransaction() in attachAnimators()
[all …]
DFragmentTransactionTest.java95 mActivity.getSupportFragmentManager().beginTransaction() in testAddTransactionWithValidFragment()
115 mActivity.getSupportFragmentManager().beginTransaction() in testAddTransactionWithPrivateFragment()
140 mActivity.getSupportFragmentManager().beginTransaction() in testAddTransactionWithPackagePrivateFragment()
165 mActivity.getSupportFragmentManager().beginTransaction() in testAddTransactionWithAnonymousFragment()
189 mActivity.getSupportFragmentManager().beginTransaction() in testGetLayoutInflater()
202 mActivity.getSupportFragmentManager().beginTransaction() in testGetLayoutInflater()
238 mActivity.getSupportFragmentManager().beginTransaction() in testAddTransactionWithNonStaticFragment()
262 fm.beginTransaction().runOnCommit(new Runnable() { in testPostOnCommit()
276 fm.beginTransaction().runOnCommit(new Runnable() { in testPostOnCommit()
315 fm.beginTransaction() in getFragmentsOffThread()
[all …]
DFragmentLifecycleTest.java83 fm.beginTransaction().add(strictFragment, "EmptyHeadless").commit(); in basicLifecycle()
91 fm.beginTransaction().remove(strictFragment).commit(); in basicLifecycle()
109 fm.beginTransaction().add(f1, "1").add(f2, "2").commit(); in detachment()
116 fm.beginTransaction().detach(f1).detach(f2).commit(); in detachment()
125 fm.beginTransaction().attach(f1).commit(); in detachment()
133 fm.beginTransaction().remove(f1).remove(f2).commit(); in detachment()
149 fm.beginTransaction().add(f1, "1").commit(); in basicBackStack()
158 fm.beginTransaction().remove(f1).add(f2, "2").addToBackStack("stack1").commit(); in basicBackStack()
179 fm.beginTransaction().add(f1, "1").commit(); in attachBackStack()
184 fm.beginTransaction().detach(f1).add(f2, "2").addToBackStack("stack1").commit(); in attachBackStack()
[all …]
DPostponedTransitionTest.java63 fm.beginTransaction() in setupContainer()
82 fm.beginTransaction() in replaceTransition()
119 fm.beginTransaction() in backStackNestingLevel()
143 fm.beginTransaction() in backStackNestingLevel()
181 commit[0] = fm.beginTransaction() in forcedTransition1()
188 fm.beginTransaction() in forcedTransition1()
233 fm.beginTransaction() in forcedTransition2()
245 fm.beginTransaction() in forcedTransition2()
292 fm.beginTransaction() in crazyTransition()
330 fm.beginTransaction() in differentContainers()
[all …]
DFragmentReplaceTest.java62 fm.beginTransaction() in testReplaceFragment()
72 fm.beginTransaction() in testReplaceFragment()
81 activity.getSupportFragmentManager().beginTransaction() in testReplaceFragment()
104 activity.getFragmentManager().beginTransaction() in testBackPressWithFrameworkFragment()
DFragmentTest.java68 .beginTransaction() in testOnCreateOrder()
84 mActivity.getSupportFragmentManager().beginTransaction() in testChildFragmentManagerGone()
93 mActivity.getSupportFragmentManager().beginTransaction() in testChildFragmentManagerGone()
106 mActivity.getSupportFragmentManager().beginTransaction() in testChildFragmentManagerGone()
142 .beginTransaction() in testViewOrder()
DFragmentTransitionTest.java109 mFragmentManager.beginTransaction() in enterExitTransitions()
186 mFragmentManager.beginTransaction() in removeAdded()
228 mFragmentManager.beginTransaction() in crossContainer()
343 mFragmentManager.beginTransaction() in onMapSharedElementOut()
410 mFragmentManager.beginTransaction() in onMapSharedElementIn()
463 mFragmentManager.beginTransaction() in complexSharedElementTransition()
540 mFragmentManager.beginTransaction() in showHideTransition()
591 mFragmentManager.beginTransaction() in attachDetachTransition()
636 mFragmentManager.beginTransaction() in sharedElementMismatch()
670 FragmentTransaction ft = mFragmentManager.beginTransaction(); in sharedDuplicateTargetNames()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java288 db.beginTransaction(); in onUpgrade()
307 db.beginTransaction(); in onUpgrade()
322 db.beginTransaction(); in onUpgrade()
335 db.beginTransaction(); in onUpgrade()
390 db.beginTransaction(); in onUpgrade()
414 db.beginTransaction(); in onUpgrade()
430 db.beginTransaction(); in onUpgrade()
454 db.beginTransaction(); in onUpgrade()
465 db.beginTransaction(); in onUpgrade()
489 db.beginTransaction(); in onUpgrade()
[all …]
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseLockTest.java74 mDatabase.beginTransaction(); in testLockFairness()
101 mDatabase.beginTransaction(); in run()
126 mDatabase.beginTransaction(); in testLockLatency()
159 mDatabase.beginTransaction(); in run()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaBrowserSupport.java37 getSupportFragmentManager().beginTransaction() in onCreate()
50 getSupportFragmentManager().beginTransaction() in onMediaItemSelected()
56 getSupportFragmentManager().beginTransaction() in onMediaItemSelected()
/frameworks/base/core/tests/coretests/src/android/app/
DLoaderLifecycleTest.java58 fm1.beginTransaction().add(f1, "one").commitNow(); in loaderIdentityTest()
67 fm1.beginTransaction().remove(f1).commitNow(); in loaderIdentityTest()
68 fm1.beginTransaction().add(f2, "two").commitNow(); in loaderIdentityTest()
69 fm1.beginTransaction().add(f1, "one").commitNow(); in loaderIdentityTest()
152 fm1.beginTransaction().add(f1, "one").commitNow(); in backStackLoaderIdentityTest()
157 fm1.beginTransaction().remove(f1).addToBackStack("backentry").commit(); in backStackLoaderIdentityTest()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCursorTest.java62 mDatabase.beginTransaction(); in testFillWindow()
82 mDatabase.beginTransaction(); in testFillWindow()
110 mDatabase.beginTransaction(); in testFillWindow()
140 mDatabase.beginTransaction(); in testFillWindow()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMapper.java63 database.beginTransaction(); in putDeviceDocument()
96 database.beginTransaction(); in putStorageDocuments()
164 database.beginTransaction(); in clearMapping()
201 database.beginTransaction(); in startAddingDocuments()
247 database.beginTransaction(); in putDocuments()
330 database.beginTransaction(); in stopAddingDocuments()
381 database.beginTransaction(); in cancelAddingDocuments()
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
DMainActivity.java34 .beginTransaction() in onCreate()
42 .beginTransaction() in showAllEmojis()
/frameworks/support/fragment/tests/java/android/support/v4/app/test/
DNewIntentActivity.java34 .beginTransaction() in onCreate()
47 .beginTransaction() in onNewIntent()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DVideoExampleActivity.java34 FragmentTransaction ft1 = getFragmentManager().beginTransaction(); in onCreate()
38 FragmentTransaction ft2 = getFragmentManager().beginTransaction(); in onCreate()
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DSharedLibraryMain.java67 fm.beginTransaction().remove(curDialog).commitAllowingStateLoss(); in ensureVersion()
76 fm.beginTransaction().add(curDialog, dialogTag).commitAllowingStateLoss(); in ensureVersion()
/frameworks/support/samples/SupportPreferenceDemos/src/com/example/android/supportpreference/
DFragmentSupportPreferencesCompat.java38 getSupportFragmentManager().beginTransaction().replace(android.R.id.content, in onCreate()
49 getSupportFragmentManager().beginTransaction() in onPreferenceStartScreen()
DFragmentSupportPreferences.java38 getFragmentManager().beginTransaction().replace(android.R.id.content, in onCreate()
49 getFragmentManager().beginTransaction().replace(android.R.id.content, f) in onPreferenceStartScreen()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DDetailsActivity.java44 getFragmentManager().beginTransaction() in onCreate()
51 getFragmentManager().beginTransaction() in onCreate()
DDetailsSupportActivity.java47 getSupportFragmentManager().beginTransaction() in onCreate()
54 getSupportFragmentManager().beginTransaction() in onCreate()

1234567