Home
last modified time | relevance | path

Searched refs:ft (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentMenuFragmentSupport.java56 FragmentTransaction ft = fm.beginTransaction(); in onCreateView() local
60 ft.add(mFragment1, "f1"); in onCreateView()
65 ft.add(mFragment2, "f2"); in onCreateView()
67 ft.commit(); in onCreateView()
90 FragmentTransaction ft = getChildFragmentManager().beginTransaction(); in updateFragmentVisibility() local
91 if (mCheckBox1.isChecked()) ft.show(mFragment1); in updateFragmentVisibility()
92 else ft.hide(mFragment1); in updateFragmentVisibility()
93 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
94 else ft.hide(mFragment2); in updateFragmentVisibility()
95 ft.commit(); in updateFragmentVisibility()
DFragmentMenuSupport.java57 FragmentTransaction ft = fm.beginTransaction(); in onCreate() local
61 ft.add(mFragment1, "f1"); in onCreate()
66 ft.add(mFragment2, "f2"); in onCreate()
68 ft.commit(); in onCreate()
89 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in updateFragmentVisibility() local
90 if (mCheckBox1.isChecked()) ft.show(mFragment1); in updateFragmentVisibility()
91 else ft.hide(mFragment1); in updateFragmentVisibility()
92 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
93 else ft.hide(mFragment2); in updateFragmentVisibility()
94 ft.commit(); in updateFragmentVisibility()
DFragmentStackFragmentSupport.java41 FragmentTransaction ft = getChildFragmentManager().beginTransaction(); in onCreate() local
42 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate()
98 FragmentTransaction ft = getChildFragmentManager().beginTransaction(); in addFragmentToStack() local
99 ft.replace(R.id.simple_fragment, newFragment); in addFragmentToStack()
100 ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); in addFragmentToStack()
101 ft.addToBackStack(null); in addFragmentToStack()
102 ft.commit(); in addFragmentToStack()
DFragmentCustomAnimationSupport.java54 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in onCreate() local
55 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate()
76 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in addFragmentToStack() local
77 ft.setCustomAnimations(R.anim.fragment_slide_left_enter, in addFragmentToStack()
81 ft.replace(R.id.simple_fragment, newFragment); in addFragmentToStack()
82 ft.addToBackStack(null); in addFragmentToStack()
83 ft.commit(); in addFragmentToStack()
DFragmentStackSupport.java67 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in onCreate() local
68 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate()
89 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in addFragmentToStack() local
90 ft.replace(R.id.simple_fragment, newFragment); in addFragmentToStack()
91 ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN); in addFragmentToStack()
92 ft.addToBackStack(null); in addFragmentToStack()
93 ft.commit(); in addFragmentToStack()
DFragmentHideShowSupport.java62 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in addShowHideListener()
63 ft.setCustomAnimations(android.R.anim.fade_in, in addShowHideListener()
66 ft.show(fragment); in addShowHideListener()
69 ft.hide(fragment); in addShowHideListener()
72 ft.commit(); in addShowHideListener()
DFragmentDialogOrActivitySupport.java41 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in onCreate() local
43 ft.add(R.id.embedded, newFragment); in onCreate()
44 ft.commit(); in onCreate()
DFragmentDialogSupport.java75 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in showDialog() local
78 ft.remove(prev); in showDialog()
80 ft.addToBackStack(null); in showDialog()
84 newFragment.show(ft, "dialog"); in showDialog()
DFragmentArgumentsSupport.java47 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in onCreate() local
49 ft.add(R.id.created, newFragment); in onCreate()
50 ft.commit(); in onCreate()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentTabHost.java232 FragmentTransaction ft = mFragmentManager.beginTransaction(); in addTab() local
233 ft.detach(info.fragment); in addTab()
234 ft.commit(); in addTab()
250 FragmentTransaction ft = null; in onAttachedToWindow() local
263 if (ft == null) { in onAttachedToWindow()
264 ft = mFragmentManager.beginTransaction(); in onAttachedToWindow()
266 ft.detach(tab.fragment); in onAttachedToWindow()
274 ft = doTabChanged(currentTab, ft); in onAttachedToWindow()
275 if (ft != null) { in onAttachedToWindow()
276 ft.commit(); in onAttachedToWindow()
[all …]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarFragmentMenu.java61 FragmentTransaction ft = fm.beginTransaction(); in onCreate() local
65 ft.add(mFragment1, "f1"); in onCreate()
70 ft.add(mFragment2, "f2"); in onCreate()
72 ft.commit(); in onCreate()
100 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in updateFragmentVisibility() local
101 if (mCheckBox1.isChecked()) ft.show(mFragment1); in updateFragmentVisibility()
102 else ft.hide(mFragment1); in updateFragmentVisibility()
103 if (mCheckBox2.isChecked()) ft.show(mFragment2); in updateFragmentVisibility()
104 else ft.hide(mFragment2); in updateFragmentVisibility()
105 ft.commit(); in updateFragmentVisibility()
[all …]
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTabHost.java244 final FragmentTransaction ft = mFragmentManager.beginTransaction(); in addTab() local
245 ft.detach(info.fragment); in addTab()
246 ft.commit(); in addTab()
262 FragmentTransaction ft = null; in onAttachedToWindow() local
275 if (ft == null) { in onAttachedToWindow()
276 ft = mFragmentManager.beginTransaction(); in onAttachedToWindow()
278 ft.detach(tab.fragment); in onAttachedToWindow()
286 ft = doTabChanged(currentTag, ft); in onAttachedToWindow()
287 if (ft != null) { in onAttachedToWindow()
288 ft.commit(); in onAttachedToWindow()
[all …]
DDialogFragment.java141 FragmentTransaction ft = manager.beginTransaction(); in show() local
142 ft.add(this, tag); in show()
143 ft.commit(); in show()
200 FragmentTransaction ft = getFragmentManager().beginTransaction(); in dismissInternal() local
201 ft.remove(this); in dismissInternal()
203 ft.commitAllowingStateLoss(); in dismissInternal()
205 ft.commit(); in dismissInternal()
/frameworks/base/core/java/android/app/
DDialogFragment.java228 FragmentTransaction ft = manager.beginTransaction(); in show() local
229 ft.add(this, tag); in show()
230 ft.commit(); in show()
237 FragmentTransaction ft = manager.beginTransaction(); in showAllowingStateLoss() local
238 ft.add(this, tag); in showAllowingStateLoss()
239 ft.commitAllowingStateLoss(); in showAllowingStateLoss()
296 FragmentTransaction ft = getFragmentManager().beginTransaction(); in dismissInternal() local
297 ft.remove(this); in dismissInternal()
299 ft.commitAllowingStateLoss(); in dismissInternal()
301 ft.commit(); in dismissInternal()
DRecoverableSecurityException.java179 final FragmentTransaction ft = fm.beginTransaction(); in showAsDialog() local
182 ft.remove(old); in showAsDialog()
184 ft.add(dialog, tag); in showAsDialog()
185 ft.commitAllowingStateLoss(); in showAsDialog()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DBrowseFragmentTestActivity.java45 FragmentTransaction ft = getFragmentManager().beginTransaction(); in onCreate() local
46 ft.replace(R.id.main_frame, fragment); in onCreate()
48 ft.addToBackStack(null); in onCreate()
50 ft.commit(); in onCreate()
DBrowseSupportFragmentTestActivity.java48 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in onCreate() local
49 ft.replace(R.id.main_frame, fragment); in onCreate()
51 ft.addToBackStack(null); in onCreate()
53 ft.commit(); in onCreate()
DSingleFragmentTestActivity.java54 FragmentTransaction ft = getFragmentManager().beginTransaction(); in onCreate() local
55 ft.replace(R.id.main_frame, fragment); in onCreate()
56 ft.commit(); in onCreate()
DSingleSupportFragmentTestActivity.java57 FragmentTransaction ft = getSupportFragmentManager().beginTransaction(); in onCreate() local
58 ft.replace(R.id.main_frame, fragment); in onCreate()
59 ft.commit(); in onCreate()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DVideoActivityWithDetailedCard.java42 FragmentTransaction ft = getFragmentManager().beginTransaction(); in onCreate() local
43 ft.add(R.id.videoFragment, new VideoConsumptionWithDetailCardFragment(), in onCreate()
45 ft.commit(); in onCreate()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DGuidedStepSupportFragment.java507 FragmentTransaction ft = fragmentManager.beginTransaction(); in add() local
510 ft.addToBackStack(fragment.generateStackEntryName()); in add()
512 fragment.onAddSharedElementTransition(ft, current); in add()
514 return ft.replace(id, fragment, TAG_LEAN_BACK_ACTIONS_FRAGMENT).commit(); in add()
530 protected void onAddSharedElementTransition(FragmentTransaction ft, GuidedStepSupportFragment in onAddSharedElementTransition() argument
533 addNonNullSharedElementTransition(ft, fragmentView.findViewById( in onAddSharedElementTransition()
535 addNonNullSharedElementTransition(ft, fragmentView.findViewById( in onAddSharedElementTransition()
537 addNonNullSharedElementTransition(ft, fragmentView.findViewById( in onAddSharedElementTransition()
539 addNonNullSharedElementTransition(ft, fragmentView.findViewById( in onAddSharedElementTransition()
541 addNonNullSharedElementTransition(ft, fragmentView.findViewById( in onAddSharedElementTransition()
[all …]
DGuidedStepFragment.java510 FragmentTransaction ft = fragmentManager.beginTransaction(); in add() local
513 ft.addToBackStack(fragment.generateStackEntryName()); in add()
515 fragment.onAddSharedElementTransition(ft, current); in add()
517 return ft.replace(id, fragment, TAG_LEAN_BACK_ACTIONS_FRAGMENT).commit(); in add()
533 protected void onAddSharedElementTransition(FragmentTransaction ft, GuidedStepFragment in onAddSharedElementTransition() argument
536 addNonNullSharedElementTransition(ft, fragmentView.findViewById( in onAddSharedElementTransition()
538 addNonNullSharedElementTransition(ft, fragmentView.findViewById( in onAddSharedElementTransition()
540 addNonNullSharedElementTransition(ft, fragmentView.findViewById( in onAddSharedElementTransition()
542 addNonNullSharedElementTransition(ft, fragmentView.findViewById( in onAddSharedElementTransition()
544 addNonNullSharedElementTransition(ft, fragmentView.findViewById( in onAddSharedElementTransition()
[all …]
/frameworks/base/graphics/java/android/graphics/
DPath.java259 public void setFillType(FillType ft) { in setFillType() argument
260 nSetFillType(mNativePath, ft.nativeInt); in setFillType()
269 final int ft = nGetFillType(mNativePath); in isInverseFillType() local
270 return (ft & FillType.INVERSE_WINDING.nativeInt) != 0; in isInverseFillType()
277 int ft = nGetFillType(mNativePath); in toggleInverseFillType() local
278 ft ^= FillType.INVERSE_WINDING.nativeInt; in toggleInverseFillType()
279 nSetFillType(mNativePath, ft); in toggleInverseFillType()
879 private static native void nSetFillType(long nPath, int ft); in nSetFillType() argument
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
DFragmentNestingPagerSupport.java141 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
151 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
155 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument
DFragmentNestingStatePagerSupport.java141 public void onTabSelected(Tab tab, FragmentTransaction ft) { in onTabSelected() argument
151 public void onTabUnselected(Tab tab, FragmentTransaction ft) { in onTabUnselected() argument
155 public void onTabReselected(Tab tab, FragmentTransaction ft) { in onTabReselected() argument

12