Home
last modified time | relevance | path

Searched defs:fragment (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentTransactionTest.java51 final Fragment fragment = new CorrectFragment(); in testAddTransactionWithValidFragment() local
68 final Fragment fragment = new PrivateFragment(); in testAddTransactionWithPrivateFragment() local
92 final Fragment fragment = new PackagePrivateFragment(); in testAddTransactionWithPackagePrivateFragment() local
116 final Fragment fragment = new Fragment() {}; in testAddTransactionWithAnonymousFragment() local
140 final Fragment fragment = new NonStaticFragment(); in testAddTransactionWithNonStaticFragment() local
DFragmentTransitionTest.java366 private boolean waitForStart(TestFragment fragment, int key) throws InterruptedException { in waitForStart()
372 private boolean waitForEnd(TestFragment fragment, int key) throws InterruptedException { in waitForEnd()
DFragmentLifecycleTest.java441 ChildFragmentManagerFragment fragment = new ChildFragmentManagerFragment(); in childFragmentManagerAttach() local
608 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
628 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { in onStartActivityFromFragment()
634 Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) { in onStartActivityFromFragment()
639 public void onRequestPermissionsFromFragment(@NonNull Fragment fragment, in onRequestPermissionsFromFragment()
662 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
704 SimpleFragment fragment = new SimpleFragment(); in create() local
/frameworks/base/core/java/android/app/
DFragmentTransaction.java28 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
33 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add()
50 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add()
56 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace()
74 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, 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()
132 public abstract FragmentTransaction attach(Fragment fragment); in attach()
DFragmentHostCallback.java87 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
125 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode, in onStartActivityFromFragment()
138 public void onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, in onStartIntentSenderFromFragment()
153 public void onRequestPermissionsFromFragment(@NonNull Fragment fragment, in onRequestPermissionsFromFragment()
176 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTransaction.java45 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
50 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add()
67 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add()
73 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace()
91 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace()
102 public abstract FragmentTransaction remove(Fragment fragment); in remove()
113 public abstract FragmentTransaction hide(Fragment fragment); in hide()
124 public abstract FragmentTransaction show(Fragment fragment); in show()
137 public abstract FragmentTransaction detach(Fragment fragment); in detach()
149 public abstract FragmentTransaction attach(Fragment fragment); in attach()
DFragmentStatePagerAdapter.java109 Fragment fragment = getItem(position); in instantiateItem() local
123 mCurTransaction.add(container.getId(), fragment); in instantiateItem() local
130 Fragment fragment = (Fragment) object; in destroyItem() local
149 Fragment fragment = (Fragment)object; in setPrimaryItem() local
DFragmentActivity.java831 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
919 public void startActivityFromFragment(Fragment fragment, Intent intent, in startActivityFromFragment()
927 public void startActivityFromFragment(Fragment fragment, Intent intent, in startActivityFromFragment()
947 public void startIntentSenderFromFragment(Fragment fragment, IntentSender intent, in startIntentSenderFromFragment()
968 private int allocateRequestIndex(Fragment fragment) { in allocateRequestIndex()
991 void requestPermissionsFromFragment(Fragment fragment, String[] permissions, in requestPermissionsFromFragment()
1019 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
1039 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { in onStartActivityFromFragment()
1045 Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) { in onStartActivityFromFragment()
1050 public void onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, in onStartIntentSenderFromFragment()
[all …]
DFragmentHostCallback.java88 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
119 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { in onStartActivityFromFragment()
128 Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) { in onStartActivityFromFragment()
140 public void onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, in onStartIntentSenderFromFragment()
155 public void onRequestPermissionsFromFragment(@NonNull Fragment fragment, in onRequestPermissionsFromFragment()
228 void onAttachFragment(Fragment fragment) { in onAttachFragment()
DFragmentPagerAdapter.java96 Fragment fragment = mFragmentManager.findFragmentByTag(name); in instantiateItem() local
103 mCurTransaction.add(container.getId(), fragment, in instantiateItem() local
126 Fragment fragment = (Fragment)object; in setPrimaryItem() local
DBackStackRecord.java217 Fragment fragment; field in BackStackRecord.Op
413 public FragmentTransaction add(Fragment fragment, String tag) { in add()
419 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add()
425 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add()
430 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp()
471 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace()
476 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { in replace()
486 public FragmentTransaction remove(Fragment fragment) { in remove()
496 public FragmentTransaction hide(Fragment fragment) { in hide()
506 public FragmentTransaction show(Fragment fragment) { in show()
[all …]
/frameworks/support/v13/java/android/support/v13/app/
DFragmentCompat.java38 void requestPermissions(Fragment fragment, String[] permissions, int requestCode); in requestPermissions()
39 boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission); in shouldShowRequestPermissionRationale()
50 public void requestPermissions(final Fragment fragment, final String[] permissions, in requestPermissions()
78 public boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission) { in shouldShowRequestPermissionRationale()
99 public void requestPermissions(Fragment fragment, String[] permissions, int requestCode) { in requestPermissions()
104 public boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission) { in shouldShowRequestPermissionRationale()
221 public static void requestPermissions(@NonNull Fragment fragment, in requestPermissions()
247 public static boolean shouldShowRequestPermissionRationale(@NonNull Fragment fragment, in shouldShowRequestPermissionRationale()
DFragmentStatePagerAdapter.java113 Fragment fragment = getItem(position); in instantiateItem() local
127 mCurTransaction.add(container.getId(), fragment); in instantiateItem() local
134 Fragment fragment = (Fragment) object; in destroyItem() local
153 Fragment fragment = (Fragment)object; in setPrimaryItem() local
DFragmentPagerAdapter.java100 Fragment fragment = mFragmentManager.findFragmentByTag(name); in instantiateItem() local
107 mCurTransaction.add(container.getId(), fragment, in instantiateItem() local
130 Fragment fragment = (Fragment)object; in setPrimaryItem() local
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/
DWizardExample2ndStepFragment.java52 GuidedStepFragment fragment = new WizardExample2ndStepFragment(); in build() local
137 GuidedStepFragment fragment = new WizardNewPaymentStepFragment(); in onSubGuidedActionClicked() local
147 GuidedStepFragment fragment = new WizardExample3rdStepFragment(); in onGuidedActionClicked() local
149 add(getFragmentManager(), fragment); in onGuidedActionClicked() local
DWizardExample1stStepFragment.java67 GuidedStepFragment fragment = WizardExample2ndStepFragment.build(rentHd, this); in onGuidedActionClicked() local
68 add(getFragmentManager(), fragment); in onGuidedActionClicked() local
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewCallbacks.java82 public void onFragmentPhotoLoadComplete(PhotoViewFragment fragment, in onFragmentPhotoLoadComplete()
87 public boolean isFragmentActive(Fragment fragment); in isFragmentActive()
89 public void onFragmentVisible(PhotoViewFragment fragment); in onFragmentVisible()
91 public boolean isFragmentFullScreen(Fragment fragment); in isFragmentFullScreen()
93 public void onCursorChanged(PhotoViewFragment fragment, Cursor cursor); in onCursorChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerActivity.java42 final PreferenceFragment fragment = showDemoMode ? new DemoModeFragment() in onCreate() local
60 Fragment fragment = (Fragment) cls.newInstance(); in onPreferenceStartFragment() local
76 SubSettingsFragment fragment = new SubSettingsFragment(); in onPreferenceStartScreen() local
/frameworks/support/v13/api23/android/support/v13/app/
DFragmentCompat23.java22 public static void requestPermissions(Fragment fragment, String[] permissions, in requestPermissions()
27 public static boolean shouldShowRequestPermissionRationale(Fragment fragment, in shouldShowRequestPermissionRationale()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPermissionHelper.java27 public static void requestPermissions(android.app.Fragment fragment, String[] permissions, in requestPermissions()
34 public static void requestPermissions(android.support.v4.app.Fragment fragment, in requestPermissions()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DDialogFragmentUsage.java72 MenuDialogFragment fragment = MenuDialogFragment.create(R.layout.dialog_content); in showSimpleDialog() local
77 MenuDialogFragment fragment = MenuDialogFragment.create(R.layout.dialog_content_buttons); in showButtonBarDialog() local
93 MenuDialogFragment fragment = new MenuDialogFragment(); in create() local
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java82 Fragment fragment = mFragmentManager.findFragmentByTag(name); in instantiateItem() local
93 mCurTransaction.add(container.getId(), fragment, in instantiateItem() local
111 Fragment fragment = (Fragment) object; in destroyItem() local
126 Fragment fragment = (Fragment) object; in setPrimaryItem() local
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
DTransitionHelperApi21.java32 public static void setEnterTransition(android.app.Fragment fragment, Object transition) { in setEnterTransition()
36 public static void setExitTransition(android.app.Fragment fragment, Object transition) { in setExitTransition()
40 public static void setSharedElementEnterTransition(android.app.Fragment fragment, in setSharedElementEnterTransition()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/
DMainActivity.java34 Fragment fragment = new MainFragment(); in onCreate() local
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/
DDialogExampleActivity.java33 GuidedStepFragment fragment = new DialogExampleFragment(); in onCreate() local

12345