Lines Matching defs:activity

92     public Fragment instantiate(FragmentActivity activity, Fragment parent) {
98 mArguments.setClassLoader(activity.getClassLoader());
101 mInstance = Fragment.instantiate(activity, mClassName, mArguments);
104 mSavedFragmentState.setClassLoader(activity.getClassLoader());
115 mInstance.mFragmentManager = activity.mFragments;
161 * <li>Your activity must extend {@link FragmentActivity}
175 static final int ACTIVITY_CREATED = 2; // The activity has finished its creation.
216 // If set this fragment is being removed from its activity.
373 * activity's state. It is strongly recommended that subclasses do not
382 * is actually associated with its activity. Some applications may also
385 * the fragment is attached to its activity.
541 * be called before the fragment has been attached to its activity; that
659 * with this fragment's activity. Note that this will be non-null slightly
662 * attached to its activity.
700 * Return true if the fragment is currently added to its activity.
717 * activity. This is <em>not</em> whether its activity is finishing, but
718 * rather whether it is in the process of being removed from its activity.
725 * Return true if the layout is included as part of an activity view
788 * lifecycle will be slightly different when an activity is recreated:
791 * will be, because the fragment is being detached from its current activity).
919 * @param resultCode The integer result code returned by the child activity
941 * inflation, typically from setting the content view of an activity. This
963 * <p>The fragment can then be declared within its activity's content layout
970 * creation of the containing activity:</p>
975 * @param activity The Activity that is inflating this fragment.
981 public void onInflate(Activity activity, AttributeSet attrs, Bundle savedInstanceState) {
986 * Called when a fragment is first attached to its activity.
989 public void onAttach(Activity activity) {
1005 * <p>Note that this can be called while the fragment's activity is
1007 * on things like the activity's content view hierarchy being initialized
1008 * at this point. If you want to do work once the activity itself is
1067 * Called when the fragment's activity has been created and this
1073 * the new activity instance. This is called after {@link #onCreateView}
1143 * its owning activity actually needs to save its state.
1237 * Called when the fragment is no longer attached to its activity. This