Home
last modified time | relevance | path

Searched refs:transaction (Results 1 – 25 of 35) sorted by relevance

12

/development/samples/training/basic/FragmentBasics/src/com/example/fragments/
DMainActivity.java76 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onArticleSelected() local
80 transaction.replace(R.id.fragment_container, newFragment); in onArticleSelected()
81 transaction.addToBackStack(null); in onArticleSelected()
84 transaction.commit(); in onArticleSelected()
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/
DSlidingFragments.java111 FragmentTransaction transaction = getFragmentManager().beginTransaction(); in switchFragments()
112 transaction.setCustomAnimations(R.animator.slide_fragment_in, 0, 0, in switchFragments()
114 transaction.add(R.id.move_to_back_container, mTextFragment); in switchFragments()
115 transaction.addToBackStack(null); in switchFragments()
116 transaction.commit(); in switchFragments()
/development/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/
DMainActivity.java46 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
48 transaction.add(fragment, FRAGTAG); in onCreate()
49 transaction.commit(); in onCreate()
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMainActivity.java46 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
48 transaction.add(fragment, FRAGTAG); in onCreate()
49 transaction.commit(); in onCreate()
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
DMainActivity.java46 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
48 transaction.add(fragment, FRAGTAG); in onCreate()
49 transaction.commit(); in onCreate()
/development/samples/browseable/RepeatingAlarm/src/com.example.android.repeatingalarm/
DMainActivity.java46 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
48 transaction.add(fragment, FRAGTAG); in onCreate()
49 transaction.commit(); in onCreate()
/development/samples/browseable/ImmersiveMode/src/com.example.android.immersivemode/
DMainActivity.java46 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
48 transaction.add(fragment, FRAGTAG); in onCreate()
49 transaction.commit(); in onCreate()
/development/samples/browseable/StorageClient/src/com.example.android.storageclient/
DMainActivity.java46 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
48 transaction.add(fragment, FRAGTAG); in onCreate()
49 transaction.commit(); in onCreate()
/development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
DMainActivity.java49 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
51 transaction.add(fragment, FRAGTAG); in onCreate()
52 transaction.commit(); in onCreate()
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DMainActivity.java49 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
51 transaction.add(fragment, FRAGTAG); in onCreate()
52 transaction.commit(); in onCreate()
/development/samples/browseable/BasicTransition/src/com.example.android.basictransition/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.slidingtabsbasic/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/ClippingBasic/src/com.example.android.clippingbasic/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/AdapterTransition/src/com.example.android.adaptertransition/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()
/development/samples/browseable/ElevationBasic/src/com.example.android.elevationbasic/
DMainActivity.java51 FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); in onCreate() local
53 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
54 transaction.commit(); in onCreate()

12