Lines Matching defs:mParentFragment
199 private Fragment mParentFragment;
214 mParentFragment = (Fragment) fragment;
220 if (mParentFragment != null) {
222 outState.putInt(KEY_PARENT_FRAGMENT_ID, mParentFragment.getId());
230 if (mParentFragment != null && mParentFragment instanceof SettingsPreferenceFragment) {
231 ((SettingsPreferenceFragment) mParentFragment).onDialogShowing();
241 mParentFragment = getFragmentManager().findFragmentById(mParentFragmentId);
242 if (!(mParentFragment instanceof DialogCreatable)) {
244 (mParentFragment != null
245 ? mParentFragment.getClass().getName()
252 if (mParentFragment instanceof SettingsPreferenceFragment) {
253 // restore mDialogFragment in mParentFragment
254 ((SettingsPreferenceFragment) mParentFragment).mDialogFragment = this;
257 return ((DialogCreatable) mParentFragment).onCreateDialog(mDialogId);
285 if (mParentFragment instanceof SettingsPreferenceFragment) {
287 if (((SettingsPreferenceFragment) mParentFragment).mDialogFragment == this) {
288 ((SettingsPreferenceFragment) mParentFragment).mDialogFragment = null;