Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/app/
DFragmentTransaction.java27 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
32 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add()
49 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add()
55 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace()
73 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace()
84 public abstract FragmentTransaction remove(Fragment fragment); in remove()
95 public abstract FragmentTransaction hide(Fragment fragment); in hide()
106 public abstract FragmentTransaction show(Fragment fragment); in show()
119 public abstract FragmentTransaction detach(Fragment fragment); in detach()
131 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()
DBackStackRecord.java223 Fragment fragment; field in BackStackRecord.Op
449 public FragmentTransaction add(Fragment fragment, String tag) { in add()
454 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add()
459 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add()
464 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp()
495 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace()
499 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { in replace()
508 public FragmentTransaction remove(Fragment fragment) { in remove()
517 public FragmentTransaction hide(Fragment fragment) { in hide()
526 public FragmentTransaction show(Fragment fragment) { in show()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DFragmentTransaction.java42 public abstract FragmentTransaction add(Fragment fragment, String tag); in add()
47 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add()
64 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add()
70 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace()
88 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace()
99 public abstract FragmentTransaction remove(Fragment fragment); in remove()
110 public abstract FragmentTransaction hide(Fragment fragment); in hide()
121 public abstract FragmentTransaction show(Fragment fragment); in show()
134 public abstract FragmentTransaction detach(Fragment fragment); in detach()
146 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
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()
DFragmentActivity.java843 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
930 public void startActivityFromFragment(Fragment fragment, Intent intent, in startActivityFromFragment()
938 public void startActivityFromFragment(Fragment fragment, Intent intent, in startActivityFromFragment()
958 public void startIntentSenderFromFragment(Fragment fragment, IntentSender intent, in startIntentSenderFromFragment()
979 private int allocateRequestIndex(Fragment fragment) { in allocateRequestIndex()
1002 private void requestPermissionsFromFragment(Fragment fragment, String[] permissions, in requestPermissionsFromFragment()
1030 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
1050 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { in onStartActivityFromFragment()
1056 Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) { in onStartActivityFromFragment()
1061 public void onStartIntentSenderFromFragment(Fragment fragment, IntentSender intent, in onStartIntentSenderFromFragment()
[all …]
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.java212 Fragment fragment; field in BackStackRecord.Op
402 public FragmentTransaction add(Fragment fragment, String tag) { in add()
407 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add()
412 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add()
417 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp()
448 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace()
452 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { in replace()
461 public FragmentTransaction remove(Fragment fragment) { in remove()
470 public FragmentTransaction hide(Fragment fragment) { in hide()
479 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()
47 public void requestPermissions(final Fragment fragment, final String[] permissions, in requestPermissions()
74 public boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission) { in shouldShowRequestPermissionRationale()
95 public void requestPermissions(Fragment fragment, String[] permissions, int requestCode) { in requestPermissions()
100 public boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission) { in shouldShowRequestPermissionRationale()
217 public static void requestPermissions(@NonNull Fragment fragment, in requestPermissions()
243 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/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.java44 final PreferenceFragment fragment = showNightMode ? new NightModeFragment() in onCreate() local
63 Fragment fragment = (Fragment) cls.newInstance(); in onPreferenceStartFragment() local
79 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.java23 public static void requestPermissions(android.app.Fragment fragment, String[] permissions, in requestPermissions()
30 public static void requestPermissions(android.support.v4.app.Fragment fragment, in requestPermissions()
DMediaControllerGlue.java60 PlaybackOverlayFragment fragment, in MediaControllerGlue()
80 PlaybackOverlayFragment fragment, in MediaControllerGlue()
/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/v4/tests/java/android/support/v4/app/
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.java438 ChildFragmentManagerFragment fragment = new ChildFragmentManagerFragment(); in childFragmentManagerAttach() local
605 public boolean onShouldSaveFragmentState(Fragment fragment) { in onShouldSaveFragmentState()
625 public void onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode) { in onStartActivityFromFragment()
631 Fragment fragment, Intent intent, int requestCode, @Nullable Bundle options) { in onStartActivityFromFragment()
636 public void onRequestPermissionsFromFragment(@NonNull Fragment fragment, in onRequestPermissionsFromFragment()
659 public void onAttachFragment(Fragment fragment) { in onAttachFragment()
701 SimpleFragment fragment = new SimpleFragment(); in create() 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/v17/leanback/api23/android/support/v17/leanback/app/
DPermissionHelper23.java18 public static void requestPermissions(android.app.Fragment fragment, String[] permissions, in requestPermissions()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDialogTestCase.java37 TestDialogFragment fragment = new TestDialogFragment(); in testDialogFragmentShows() local
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
DLeanbackSettingsFragment.java117 public void startPreferenceFragment(@NonNull Fragment fragment) { in startPreferenceFragment()
139 public void startImmersiveFragment(@NonNull Fragment fragment) { in startImmersiveFragment()
DLeanbackPreferenceDialogFragment.java46 final DialogPreference.TargetFragment fragment = in onCreate() local

1234