Home
last modified time | relevance | path

Searched refs:mParentFragment (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java578 private Fragment mParentFragment; field in SettingsPreferenceFragment.SettingsDialogFragment
598 if (mParentFragment == null) { in getMetricsCategory()
602 ((DialogCreatable) mParentFragment).getDialogMetricsCategory(mDialogId); in getMetricsCategory()
612 if (mParentFragment != null) { in onSaveInstanceState()
614 outState.putInt(KEY_PARENT_FRAGMENT_ID, mParentFragment.getId()); in onSaveInstanceState()
622 if (mParentFragment != null && mParentFragment instanceof SettingsPreferenceFragment) { in onStart()
623 ((SettingsPreferenceFragment) mParentFragment).onDialogShowing(); in onStart()
631 mParentFragment = getParentFragment(); in onCreateDialog()
633 if (mParentFragment == null) { in onCreateDialog()
634 mParentFragment = getFragmentManager().findFragmentById(mParentFragmentId); in onCreateDialog()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandlerTest.java122 private Fragment mParentFragment; field in AudioSharingDialogHandlerTest
129 mParentFragment = new Fragment(); in setup()
131 mParentFragment, in setup()
135 mContext = mParentFragment.getContext(); in setup()
177 mHandler = new AudioSharingDialogHandler(mContext, mParentFragment); in setup()
208 List<Fragment> childFragments = mParentFragment.getChildFragmentManager().getFragments(); in handleUserTriggeredNonLeaDeviceConnected_sharing_showStopDialog()
260 List<Fragment> childFragments = mParentFragment.getChildFragmentManager().getFragments(); in handleUserTriggeredLeaDeviceConnected_noSharingTwoLeaDevices_showJoinDialog()
304 List<Fragment> childFragments = mParentFragment.getChildFragmentManager().getFragments(); in handleUserTriggeredLeaDeviceConnected_sharing_showJoinDialog()
350 List<Fragment> childFragments = mParentFragment.getChildFragmentManager().getFragments(); in handleUserTriggeredLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog()
407 List<Fragment> childFragments = mParentFragment.getChildFragmentManager().getFragments(); in handleNonLeaDeviceConnected_sharing_showStopDialog()
[all …]
DAudioSharingSwitchBarControllerTest.java141 private Fragment mParentFragment; field in AudioSharingSwitchBarControllerTest
205 mParentFragment = new Fragment(); in setUp()
207 mParentFragment, in setUp()
211 mController.init(mParentFragment); in setUp()
450 List<Fragment> childFragments = mParentFragment.getChildFragmentManager().getFragments(); in onPlaybackStarted_showJoinAudioSharingDialog()
DAudioSharingCallAudioPreferenceControllerTest.java144 private Fragment mParentFragment; field in AudioSharingCallAudioPreferenceControllerTest
157 mParentFragment = new Fragment(); in setUp()
159 mParentFragment, in setUp()
436 mController.init(mParentFragment); in displayPreference_clickToShowCorrectDialog()
/packages/apps/Settings/src/com/android/settings/security/screenlock/
DAutoPinConfirmPreferenceController.java43 private final ObservablePreferenceFragment mParentFragment; field in AutoPinConfirmPreferenceController
51 mParentFragment = parentFragment; in AutoPinConfirmPreferenceController()
94 new ChooseLockSettingsHelper.Builder(mParentFragment.getActivity(), mParentFragment) in launchPinConfirmActivity()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DEmptyTrashFragment.java44 private final Fragment mParentFragment; field in EmptyTrashFragment
59 mParentFragment = parent; in EmptyTrashFragment()
60 setTargetFragment(mParentFragment, 0 /* requestCode */); in EmptyTrashFragment()
68 show(mParentFragment.getFragmentManager(), TAG_EMPTY_TRASH); in show()
/packages/apps/Settings/src/com/android/settings/accessibility/
DScreenFlashNotificationPreferenceController.java42 private Fragment mParentFragment; field in ScreenFlashNotificationPreferenceController
50 this.mParentFragment = parentFragment; in setParentFragment()
97 if (getPreferenceKey().equals(preference.getKey()) && mParentFragment != null) { in handlePreferenceTreeClick()
111 .show(mParentFragment.getParentFragmentManager(), in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/development/
DAdbQrCodePreferenceController.java40 private Fragment mParentFragment; field in AdbQrCodePreferenceController
50 mParentFragment = parent; in setParentFragment()
71 mParentFragment.startActivityForResult(intent, in handlePreferenceTreeClick()
/packages/apps/TV/src/com/android/tv/onboarding/
DSetupSourcesFragment.java132 private SetupSourcesFragment mParentFragment; field in SetupSourcesFragment.ContentFragment
164 if (mParentFragment.isEnterTransitionRunning()) {
194 if (mParentFragment.isEnterTransitionRunning()) {
207 mParentFragment = (SetupSourcesFragment) getParentFragment(); in onCreate()
217 mParentFragment = (SetupSourcesFragment) getParentFragment(); in onAttach()
374 mParentFragment.onActionClick(ACTION_CATEGORY, (int) action.getId()); in onGuidedActionClicked()
382 mParentFragment.onActionClick(ACTION_CATEGORY, ACTION_SETUP_INPUT, params); in onGuidedActionClicked()
/packages/apps/Settings/src/com/android/settings/accounts/
DRemoveAccountPreferenceController.java62 private Fragment mParentFragment; field in RemoveAccountPreferenceController
69 mParentFragment = parent; in RemoveAccountPreferenceController()
100 mMetricsFeatureProvider.getMetricsCategory(mParentFragment)); in onClick()
101 ConfirmRemoveAccountDialog.show(mParentFragment, mAccount, mUserHandle); in onClick()
/packages/apps/Settings/src/com/android/settings/users/
DAutoSyncDataPreferenceController.java49 private final PreferenceFragmentCompat mParentFragment; field in AutoSyncDataPreferenceController
56 mParentFragment = parent; in AutoSyncDataPreferenceController()
78 .show(mParentFragment); in handlePreferenceTreeClick()
DRemoveGuestOnExitPreferenceController.java52 private final Fragment mParentFragment; field in RemoveGuestOnExitPreferenceController
60 mParentFragment = parent; in RemoveGuestOnExitPreferenceController()
133 ConfirmGuestRemoveFragment.show(mParentFragment, in onPreferenceChange()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreference.java47 private final DashboardFragment mParentFragment; field in UnrestrictedDataAccessPreference
61 mParentFragment = parentFragment; in UnrestrictedDataAccessPreference()
100 mParentFragment, in onClick()
DUnrestrictedDataAccessPreferenceController.java55 private DashboardFragment mParentFragment; field in UnrestrictedDataAccessPreferenceController
72 mParentFragment = parentFragment; in setParentFragment()
148 mApplicationsState, mDataSaverBackend, mParentFragment); in onRebuildComplete()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DScreenFlashNotificationPreferenceControllerTest.java81 private Fragment mParentFragment; field in ScreenFlashNotificationPreferenceControllerTest
102 mController.setParentFragment(mParentFragment); in setUp()
103 when(mParentFragment.getParentFragmentManager()).thenReturn(mFragmentManager); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DAutoPinConfirmPreferenceControllerTest.java44 private ObservablePreferenceFragment mParentFragment; field in AutoPinConfirmPreferenceControllerTest
54 mParentFragment); in setUp()
/packages/apps/Settings/src/com/android/settings/regionalpreferences/
DNumberingSystemItemController.java56 private DashboardFragment mParentFragment; field in NumberingSystemItemController
90 mParentFragment = fragment; in setParentFragment()
188 mParentFragment.setArguments(bundle); in handleNumberSystemSelect()