/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
D | CompatTabHoneycomb.java | 84 FragmentTransaction ft = mActivity.getSupportFragmentManager().beginTransaction(); in onTabReselected() local 85 ft.disallowAddToBackStack(); in onTabReselected() 86 mCallback.onTabReselected(this, ft); in onTabReselected() 87 ft.commit(); in onTabReselected() 92 FragmentTransaction ft = mActivity.getSupportFragmentManager().beginTransaction(); in onTabSelected() local 93 ft.disallowAddToBackStack(); in onTabSelected() 94 mCallback.onTabSelected(this, ft); in onTabSelected() 95 ft.commit(); in onTabSelected() 100 FragmentTransaction ft = mActivity.getSupportFragmentManager().beginTransaction(); in onTabUnselected() local 101 ft.disallowAddToBackStack(); in onTabUnselected() [all …]
|
D | TabHelperEclair.java | 84 FragmentTransaction ft = mActivity.getSupportFragmentManager().beginTransaction(); in addTab() local 85 ft.detach(fragment); in addTab() 86 ft.commit(); in addTab() 100 FragmentTransaction ft = mActivity.getSupportFragmentManager().beginTransaction(); in onTabChanged() local 106 mLastTab.getCallback().onTabUnselected(mLastTab, ft); in onTabChanged() 111 newTab.getCallback().onTabSelected(newTab, ft); in onTabChanged() 117 newTab.getCallback().onTabReselected(newTab, ft); in onTabChanged() 120 ft.commit(); in onTabChanged()
|
D | CompatTabListener.java | 29 public void onTabSelected(CompatTab tab, FragmentTransaction ft); in onTabSelected() argument 35 public void onTabUnselected(CompatTab tab, FragmentTransaction ft); in onTabUnselected() argument 41 public void onTabReselected(CompatTab tab, FragmentTransaction ft); in onTabReselected() argument
|
D | TabHelperHoneycomb.java | 57 FragmentTransaction ft = mActivity.getSupportFragmentManager().beginTransaction(); in addTab() local 58 ft.detach(fragment); in addTab() 59 ft.commit(); in addTab()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentTabsFragment.java | 161 FragmentTransaction ft = null; in handleViewStateRestored() local 174 if (ft == null) { in handleViewStateRestored() 175 ft = mManager.beginTransaction(); in handleViewStateRestored() 177 ft.detach(tab.fragment); in handleViewStateRestored() 185 ft = doTabChanged(currentTab, ft); in handleViewStateRestored() 186 if (ft != null) { in handleViewStateRestored() 187 ft.commit(); in handleViewStateRestored() 209 FragmentTransaction ft = doTabChanged(tabId, null); in onTabChanged() local 210 if (ft != null) { in onTabChanged() 211 ft.commit(); in onTabChanged() [all …]
|
D | FragmentMenuFragment.java | 54 FragmentTransaction ft = fm.beginTransaction(); in onCreateView() local 58 ft.add(mFragment1, "f1"); in onCreateView() 63 ft.add(mFragment2, "f2"); in onCreateView() 65 ft.commit(); in onCreateView() 88 FragmentTransaction ft = getChildFragmentManager().beginTransaction(); in updateFragmentVisibility() local 89 if (mCheckBox1.isChecked()) ft.show(mFragment1); in updateFragmentVisibility() 90 else ft.hide(mFragment1); in updateFragmentVisibility() 91 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility() 92 else ft.hide(mFragment2); in updateFragmentVisibility() 93 ft.commit(); in updateFragmentVisibility()
|
D | FragmentMenu.java | 56 FragmentTransaction ft = fm.beginTransaction(); in onCreate() local 60 ft.add(mFragment1, "f1"); in onCreate() 65 ft.add(mFragment2, "f2"); in onCreate() 67 ft.commit(); in onCreate() 88 FragmentTransaction ft = getFragmentManager().beginTransaction(); in updateFragmentVisibility() local 89 if (mCheckBox1.isChecked()) ft.show(mFragment1); in updateFragmentVisibility() 90 else ft.hide(mFragment1); in updateFragmentVisibility() 91 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility() 92 else ft.hide(mFragment2); in updateFragmentVisibility() 93 ft.commit(); in updateFragmentVisibility()
|
D | FragmentNestingTabs.java | 92 FragmentTransaction ft = mActivity.getFragmentManager().beginTransaction(); in TabListener() local 93 ft.detach(mFragment); in TabListener() 94 ft.commit(); in TabListener() 98 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 101 ft.add(android.R.id.content, mFragment, mTag); in onTabSelected() 103 ft.attach(mFragment); in onTabSelected() 107 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 109 ft.detach(mFragment); in onTabUnselected() 113 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
D | FragmentTabs.java | 92 FragmentTransaction ft = mActivity.getFragmentManager().beginTransaction(); in TabListener() local 93 ft.detach(mFragment); in TabListener() 94 ft.commit(); in TabListener() 98 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 101 ft.add(android.R.id.content, mFragment, mTag); in onTabSelected() 103 ft.attach(mFragment); in onTabSelected() 107 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 109 ft.detach(mFragment); in onTabUnselected() 113 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
D | FragmentStackFragment.java | 40 FragmentTransaction ft = getChildFragmentManager().beginTransaction(); in onCreate() local 41 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate() 83 FragmentTransaction ft = getChildFragmentManager().beginTransaction(); in addFragmentToStack() local 84 ft.replace(R.id.simple_fragment, newFragment); in addFragmentToStack() 85 ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); in addFragmentToStack() 86 ft.addToBackStack(null); in addFragmentToStack() 87 ft.commit(); in addFragmentToStack()
|
D | FragmentStack.java | 57 FragmentTransaction ft = getFragmentManager().beginTransaction(); in onCreate() local 58 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate() 79 FragmentTransaction ft = getFragmentManager().beginTransaction(); in addFragmentToStack() local 80 ft.replace(R.id.simple_fragment, newFragment); in addFragmentToStack() 81 ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); in addFragmentToStack() 82 ft.addToBackStack(null); in addFragmentToStack() 83 ft.commit(); in addFragmentToStack()
|
D | FragmentCustomAnimations.java | 55 FragmentTransaction ft = getFragmentManager().beginTransaction(); in onCreate() local 56 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate() 77 FragmentTransaction ft = getFragmentManager().beginTransaction(); in addFragmentToStack() local 78 ft.setCustomAnimations(R.animator.fragment_slide_left_enter, in addFragmentToStack() 82 ft.replace(R.id.simple_fragment, newFragment); in addFragmentToStack() 83 ft.addToBackStack(null); in addFragmentToStack() 84 ft.commit(); in addFragmentToStack()
|
D | FragmentArgumentsFragment.java | 38 FragmentTransaction ft = getChildFragmentManager().beginTransaction(); in onCreate() local 40 ft.add(R.id.created1, newFragment); in onCreate() 42 ft.add(R.id.created2, newFragment); in onCreate() 43 ft.commit(); in onCreate()
|
D | ActionBarTabs.java | 96 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 97 ft.add(R.id.fragment_content, mFragment, mFragment.getText()); in onTabSelected() 100 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument 101 ft.remove(mFragment); in onTabUnselected() 104 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
|
D | FragmentHideShow.java | 60 FragmentTransaction ft = getFragmentManager().beginTransaction(); in addShowHideListener() 61 ft.setCustomAnimations(android.R.animator.fade_in, in addShowHideListener() 64 ft.show(fragment); in addShowHideListener() 67 ft.hide(fragment); in addShowHideListener() 70 ft.commit(); in addShowHideListener()
|
D | FragmentLayout.java | 152 FragmentTransaction ft = getFragmentManager().beginTransaction(); in showDetails() local 154 ft.replace(R.id.details, details); in showDetails() 156 ft.replace(R.id.a_item, details); in showDetails() 158 ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE); in showDetails() 159 ft.commit(); in showDetails()
|
D | FragmentDialog.java | 73 FragmentTransaction ft = getFragmentManager().beginTransaction(); in showDialog() local 76 ft.remove(prev); in showDialog() 78 ft.addToBackStack(null); in showDialog() 82 newFragment.show(ft, "dialog"); in showDialog()
|
D | FragmentDialogOrActivity.java | 42 FragmentTransaction ft = getFragmentManager().beginTransaction(); in onCreate() local 44 ft.add(R.id.embedded, newFragment); in onCreate() 45 ft.commit(); in onCreate()
|
D | FragmentArguments.java | 44 FragmentTransaction ft = getFragmentManager().beginTransaction(); in onCreate() local 46 ft.add(R.id.created, newFragment); in onCreate() 47 ft.commit(); in onCreate()
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/ |
D | MainActivity.java | 77 public void onTabSelected(CompatTab tab, FragmentTransaction ft) { in onTabSelected() argument 84 ft.add(android.R.id.tabcontent, fragment, tab.getTag()); in onTabSelected() 87 ft.attach(fragment); in onTabSelected() 92 public void onTabUnselected(CompatTab tab, FragmentTransaction ft) { in onTabUnselected() argument 96 ft.detach(fragment); in onTabUnselected() 101 public void onTabReselected(CompatTab tab, FragmentTransaction ft) { in onTabReselected() argument
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
D | CompatActionBarNavHandler.java | 54 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument 76 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument 84 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/ |
D | ImageGridActivity.java | 40 final FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in onCreate() local 41 ft.add(android.R.id.content, new ImageGridFragment(), TAG); in onCreate() 42 ft.commit(); in onCreate()
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
D | ContactDetailActivity.java | 62 final FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in onCreate() local 66 ft.add(android.R.id.content, ContactDetailFragment.newInstance(uri), TAG); in onCreate() 67 ft.commit(); in onCreate()
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
D | ShortcutLauncherMain.java | 67 public void onTabSelected(Tab tab, FragmentTransaction ft) { 72 public void onTabUnselected(Tab tab, FragmentTransaction ft) { 77 public void onTabReselected(Tab tab, FragmentTransaction ft) {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | PathFillTypes.java | 50 private void showPath(Canvas canvas, int x, int y, Path.FillType ft, in showPath() argument 56 mPath.setFillType(ft); in showPath()
|