Home
last modified time | relevance | path

Searched refs:FragmentTransaction (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/app/
DFragmentTransaction.java12 public abstract class FragmentTransaction { class
16 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
21 public abstract FragmentTransaction add(int containerViewId, Fragment fragment); in add()
38 public abstract FragmentTransaction add(int containerViewId, Fragment fragment, String tag); in add()
43 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment); in replace()
61 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment, String tag); in replace()
71 public abstract FragmentTransaction remove(Fragment fragment); in remove()
82 public abstract FragmentTransaction hide(Fragment fragment); in hide()
93 public abstract FragmentTransaction show(Fragment fragment); in show()
106 public abstract FragmentTransaction detach(Fragment fragment); in detach()
[all …]
DBackStackRecord.java164 final class BackStackRecord extends FragmentTransaction implements
215 if (mTransition != FragmentTransaction.TRANSIT_NONE) { in dump()
331 public FragmentTransaction add(Fragment fragment, String tag) { in add()
336 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add()
341 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add()
373 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace()
377 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { in replace()
386 public FragmentTransaction remove(Fragment fragment) { in remove()
395 public FragmentTransaction hide(Fragment fragment) { in hide()
404 public FragmentTransaction show(Fragment fragment) { in show()
[all …]
DActionBar.java868 public void onTabSelected(Tab tab, FragmentTransaction ft); in onTabSelected()
879 public void onTabUnselected(Tab tab, FragmentTransaction ft); in onTabUnselected()
890 public void onTabReselected(Tab tab, FragmentTransaction ft); in onTabReselected()
DDialogFragment.java228 FragmentTransaction ft = manager.beginTransaction(); in show()
242 public int show(FragmentTransaction transaction, String tag) { in show()
287 FragmentTransaction ft = getFragmentManager().beginTransaction(); in dismissInternal()
DFragmentManager.java130 public abstract FragmentTransaction beginTransaction(); in beginTransaction()
134 public FragmentTransaction openTransaction() { in openTransaction()
422 public FragmentTransaction beginTransaction() { in beginTransaction()
1852 case FragmentTransaction.TRANSIT_FRAGMENT_OPEN: in reverseTransit()
1853 rev = FragmentTransaction.TRANSIT_FRAGMENT_CLOSE; in reverseTransit()
1855 case FragmentTransaction.TRANSIT_FRAGMENT_CLOSE: in reverseTransit()
1856 rev = FragmentTransaction.TRANSIT_FRAGMENT_OPEN; in reverseTransit()
1858 case FragmentTransaction.TRANSIT_FRAGMENT_FADE: in reverseTransit()
1859 rev = FragmentTransaction.TRANSIT_FRAGMENT_FADE; in reverseTransit()
1869 case FragmentTransaction.TRANSIT_FRAGMENT_OPEN: in transitToStyleIndex()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DFragmentTransaction.java26 public abstract class FragmentTransaction { class
30 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
35 public abstract FragmentTransaction add(int containerViewId, Fragment fragment); in add()
52 public abstract FragmentTransaction add(int containerViewId, Fragment fragment, String tag); in add()
57 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment); in replace()
75 public abstract FragmentTransaction replace(int containerViewId, Fragment fragment, String tag); in replace()
85 public abstract FragmentTransaction remove(Fragment fragment); in remove()
96 public abstract FragmentTransaction hide(Fragment fragment); in hide()
107 public abstract FragmentTransaction show(Fragment fragment); in show()
120 public abstract FragmentTransaction detach(Fragment fragment); in detach()
[all …]
DBackStackRecord.java164 final class BackStackRecord extends FragmentTransaction implements
215 if (mTransition != FragmentTransaction.TRANSIT_NONE) { in dump()
331 public FragmentTransaction add(Fragment fragment, String tag) { in add()
336 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add()
341 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add()
373 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace()
377 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { in replace()
386 public FragmentTransaction remove(Fragment fragment) { in remove()
395 public FragmentTransaction hide(Fragment fragment) { in hide()
404 public FragmentTransaction show(Fragment fragment) { in show()
[all …]
DDialogFragment.java121 FragmentTransaction ft = manager.beginTransaction(); in show()
135 public int show(FragmentTransaction transaction, String tag) { in show()
163 FragmentTransaction ft = getFragmentManager().beginTransaction(); in dismissInternal()
DFragmentManager.java134 public abstract FragmentTransaction beginTransaction(); in beginTransaction()
138 public FragmentTransaction openTransaction() { in openTransaction()
423 public FragmentTransaction beginTransaction() { in beginTransaction()
1892 case FragmentTransaction.TRANSIT_FRAGMENT_OPEN: in reverseTransit()
1893 rev = FragmentTransaction.TRANSIT_FRAGMENT_CLOSE; in reverseTransit()
1895 case FragmentTransaction.TRANSIT_FRAGMENT_CLOSE: in reverseTransit()
1896 rev = FragmentTransaction.TRANSIT_FRAGMENT_OPEN; in reverseTransit()
1898 case FragmentTransaction.TRANSIT_FRAGMENT_FADE: in reverseTransit()
1899 rev = FragmentTransaction.TRANSIT_FRAGMENT_FADE; in reverseTransit()
1916 case FragmentTransaction.TRANSIT_FRAGMENT_OPEN: in transitToStyleIndex()
[all …]
DFragmentPagerAdapter.java34 private FragmentTransaction mCurTransaction = null;
DFragmentStatePagerAdapter.java32 private FragmentTransaction mCurTransaction = null;
/frameworks/support/v13/java/android/support/v13/app/
DFragmentPagerAdapter.java21 import android.app.FragmentTransaction;
37 private FragmentTransaction mCurTransaction = null;
DFragmentStatePagerAdapter.java23 import android.app.FragmentTransaction;
35 private FragmentTransaction mCurTransaction = null;
/frameworks/base/docs/html/guide/topics/fundamentals/
Dfragments.jd46 <li>{@link android.app.FragmentTransaction}</li>
336 fragment), you must use APIs from {@link android.app.FragmentTransaction}. You can get an instance
337 of {@link android.app.FragmentTransaction} from your {@link android.app.Activity} like this:</p>
341 FragmentTransaction fragmentTransaction = fragmentManager.{@link android.app.FragmentManager#beginT…
345 android.app.FragmentTransaction#add(int,Fragment) add()} method, specifying the fragment to add and
354 <p>The first argument passed to {@link android.app.FragmentTransaction#add(int,Fragment) add()}
358 {@link android.app.FragmentTransaction}, you must
359 call {@link android.app.FragmentTransaction#commit} for the changes to take effect.</p>
371 android.app.FragmentTransaction#add(Fragment,String)} (supplying a unique string "tag" for the
410 to open a {@link android.app.FragmentTransaction}, which allows you to perform transactions, such as
[all …]
Dtasks-and-back-stack.jd77 android.app.FragmentTransaction#addToBackStack addToBackStack()} before you {@link
78 android.app.FragmentTransaction#commit()} the transaction that replaces fragment B with fragment
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestActivity.java26 import android.app.FragmentTransaction;
62 FragmentTransaction ft = getFragmentManager().beginTransaction(); in onListItemClick()
64 ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE); in onListItemClick()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java22 import android.app.FragmentTransaction;
1118 FragmentTransaction transaction = getFragmentManager().beginTransaction(); in switchToHeaderInner()
1119 transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE); in switchToHeaderInner()
1208 FragmentTransaction transaction = getFragmentManager().beginTransaction(); in startPreferenceFragment()
1211 transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); in startPreferenceFragment()
1214 transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE); in startPreferenceFragment()
1247 FragmentTransaction transaction = getFragmentManager().beginTransaction(); in startPreferencePanel()
1254 transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); in startPreferencePanel()
/frameworks/base/docs/html/guide/topics/ui/
Dactionbar.jd424 event and a {@link android.app.FragmentTransaction} for you to perform the fragment
436 public void onTabSelected(Tab tab, FragmentTransaction ft) {
440 public void onTabUnselected(Tab tab, FragmentTransaction ft) {
444 public void onTabReselected(Tab tab, FragmentTransaction ft) {
509 android.app.FragmentTransaction#add add()} with the provided {@link
510 android.app.FragmentTransaction}. Likewise, when a tab is deselected (because another tab becomes
512 android.app.FragmentTransaction#remove remove()}.</p>
515 android.app.FragmentTransaction#commit} for these transactions&mdash;the system calls it for you
658 FragmentTransaction ft = openFragmentTransaction();
/frameworks/base/core/java/com/android/internal/app/
DActionBarImpl.java35 import android.app.FragmentTransaction;
497 final FragmentTransaction trans = mActivity.getFragmentManager().beginTransaction()
/frameworks/base/docs/html/sdk/
Dandroid-3.2.jd390 <li>New {@link android.app.FragmentTransaction#attach(android.app.Fragment) attach()}
391 and {@link android.app.FragmentTransaction#detach(android.app.Fragment) detach()}
393 <li>A new {@link android.app.FragmentTransaction#setCustomAnimations(int, int, int, int)
Dandroid-3.0.jd159 android.app.FragmentTransaction}. You can then call methods such as {@link
160 android.app.FragmentTransaction#add add()} {@link android.app.FragmentTransaction#remove
161 remove()}, or {@link android.app.FragmentTransaction#replace replace()}. Once you've applied all
163 android.app.FragmentTransaction#commit commit()} and the system applies the fragment transaction to
Dcompatibility-library.jd296 <li>{@link android.app.FragmentTransaction}</li>
/frameworks/base/api/
Dcurrent.txt2506 …d public abstract void onTabReselected(android.app.ActionBar.Tab, android.app.FragmentTransaction);
2507 …hod public abstract void onTabSelected(android.app.ActionBar.Tab, android.app.FragmentTransaction);
2508 …d public abstract void onTabUnselected(android.app.ActionBar.Tab, android.app.FragmentTransaction);
3122 method public int show(android.app.FragmentTransaction, java.lang.String);
3319 method public abstract android.app.FragmentTransaction beginTransaction();
3354 public abstract class FragmentTransaction {
3355 ctor public FragmentTransaction();
3356 …method public abstract android.app.FragmentTransaction add(android.app.Fragment, java.lang.String);
3357 method public abstract android.app.FragmentTransaction add(int, android.app.Fragment);
3358 …method public abstract android.app.FragmentTransaction add(int, android.app.Fragment, java.lang.St…
[all …]
D14.txt2506 …d public abstract void onTabReselected(android.app.ActionBar.Tab, android.app.FragmentTransaction);
2507 …hod public abstract void onTabSelected(android.app.ActionBar.Tab, android.app.FragmentTransaction);
2508 …d public abstract void onTabUnselected(android.app.ActionBar.Tab, android.app.FragmentTransaction);
3122 method public int show(android.app.FragmentTransaction, java.lang.String);
3319 method public abstract android.app.FragmentTransaction beginTransaction();
3354 public abstract class FragmentTransaction {
3355 ctor public FragmentTransaction();
3356 …method public abstract android.app.FragmentTransaction add(android.app.Fragment, java.lang.String);
3357 method public abstract android.app.FragmentTransaction add(int, android.app.Fragment);
3358 …method public abstract android.app.FragmentTransaction add(int, android.app.Fragment, java.lang.St…
[all …]