Lines Matching defs:Fragment

71     Fragment mInstance;
73 public FragmentState(Fragment frag) {
100 public Fragment instantiate(FragmentHostCallback host, Fragment parent,
108 mInstance = Fragment.instantiate(context, mClassName, mArguments);
167 * Static library support version of the framework's {@link android.app.Fragment}.
170 * to switch to the framework's implementation. See the framework {@link android.app.Fragment}
181 public class Fragment implements ComponentCallbacks, OnCreateContextMenuListener {
219 Fragment mTarget;
260 // If this Fragment is contained in another Fragment, this is that container.
261 Fragment mParentFragment;
336 * through {@link FragmentManager#saveFragmentInstanceState(Fragment)
378 * Thrown by {@link Fragment#instantiate(Context, String, Bundle)} when
394 * and later retrieved by the Fragment with {@link #getArguments}.
402 public Fragment() {
409 public static Fragment instantiate(Context context, String fname) {
414 * Create a new instance of a Fragment with the given class name. This is
427 public static Fragment instantiate(Context context, String fname, @Nullable Bundle args) {
435 Fragment f = (Fragment)clazz.newInstance();
461 * @return true if <code>fname</code> is <code>android.support.v4.app.Fragment</code>
472 return Fragment.class.isAssignableFrom(clazz);
486 throw new SuperNotCalledException("Fragment " + this
491 final void setIndex(int index, Fragment parent) {
563 throw new IllegalStateException("Fragment already active");
577 * Set the initial saved state that this Fragment should restore itself
579 * {@link FragmentManager#saveFragmentInstanceState(Fragment)
586 throw new IllegalStateException("Fragment already active");
603 public void setTargetFragment(Fragment fragment, int requestCode) {
611 final public Fragment getTargetFragment() {
651 throw new IllegalStateException("Fragment " + this + " not attached to Activity");
696 * <p>If this Fragment is a child of another Fragment, the FragmentManager
705 * inside of this Fragment.
724 * Returns the parent Fragment containing this Fragment. If this Fragment
727 final public Fragment getParentFragment() {
740 * That is, {@link FragmentTransaction#detach(Fragment)
741 * FragmentTransaction.detach(Fragment)} has been used on it.
914 throw new IllegalStateException("Fragment " + this + " not attached to Activity");
935 throw new IllegalStateException("Fragment " + this + " not attached to Activity");
954 throw new IllegalStateException("Fragment " + this + " not attached to Activity");
967 throw new IllegalStateException("Fragment " + this + " not attached to Activity");
1065 throw new IllegalStateException("Fragment " + this + " not attached to Activity");
1206 public void onAttachFragment(Fragment childFragment) {
1254 * <code>Fragment.onCreate</code> method returns.</p>
1264 && !mChildFragmentManager.isStateAtLeast(Fragment.CREATED)) {
1272 * {@link FragmentManagerImpl#moveToState(Fragment, int, int, int, boolean)}
1380 * Called when the Fragment is visible to the user. This is generally
1434 * Called when the Fragment's activity changes from fullscreen mode to multi-window mode and
1459 * Called when the Fragment is no longer resumed. This is generally
1469 * Called when the Fragment is no longer started. This is generally
1555 * Initialize the contents of the Fragment host's standard options menu. You
1571 * Prepare the Fragment host's standard options menu to be displayed. This is
1699 * is called when this Fragment is attached or detached when not popping the back stack.
1701 * @param callback Used to manipulate the shared element transitions on this Fragment
1710 * is called when this Fragment is attached or detached when popping the back stack.
1712 * @param callback Used to manipulate the shared element transitions on this Fragment
1747 * Sets the Transition that will be used to move Views out of the scene when the Fragment is
1756 * @param transition The Transition to use to move Views out of the Scene when the Fragment
1765 * Returns the Transition that will be used to move Views out of the scene when the Fragment is
1773 * @return the Transition to use to move Views out of the Scene when the Fragment
1790 * @param transition The Transition to use to move Views out of the Scene when the Fragment
1807 * @return the Transition to use to move Views out of the Scene when the Fragment
1876 * pop of the back stack. This Transition acts in the leaving Fragment.
1892 * pop of the back stack. This Transition acts in the leaving Fragment.
2040 Fragment findFragmentByWho(String who) {
2057 throw new IllegalStateException("Fragment does not have a view");
2077 throw new SuperNotCalledException("Fragment " + this
2098 throw new SuperNotCalledException("Fragment " + this
2115 throw new SuperNotCalledException("Fragment " + this
2135 throw new SuperNotCalledException("Fragment " + this
2268 throw new SuperNotCalledException("Fragment " + this
2281 throw new SuperNotCalledException("Fragment " + this
2315 throw new SuperNotCalledException("Fragment " + this
2331 throw new SuperNotCalledException("Fragment " + this
2341 throw new SuperNotCalledException("Fragment " + this