Home
last modified time | relevance | path

Searched refs:mDialogFragment (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragmentTest.java64 private BatteryTipDialogFragment mDialogFragment; field in BatteryTipDialogFragmentTest
106 mDialogFragment = BatteryTipDialogFragment.newInstance(mHighUsageTip, METRICS_KEY); in testOnCreateDialog_highUsageTip_fireHighUsageDialog()
108 FragmentController.setupFragment(mDialogFragment, FragmentActivity.class, in testOnCreateDialog_highUsageTip_fireHighUsageDialog()
122 mDialogFragment = BatteryTipDialogFragment.newInstance(mRestrictedOneAppTip, METRICS_KEY); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog()
124 FragmentController.setupFragment(mDialogFragment, FragmentActivity.class, in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog()
141 mDialogFragment = BatteryTipDialogFragment.newInstance(mRestrictTwoAppsTip, METRICS_KEY); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()
144 FragmentController.setupFragment(mDialogFragment, FragmentActivity.class, in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()
172 mDialogFragment = BatteryTipDialogFragment.newInstance(restrictSixAppsTip, METRICS_KEY); in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog()
174 FragmentController.setupFragment(mDialogFragment, FragmentActivity.class, in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog()
192 mDialogFragment = BatteryTipDialogFragment.newInstance(mUnrestrictAppTip, METRICS_KEY); in testOnCreateDialog_unRestrictAppTip_fireUnRestrictDialog()
[all …]
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java77 private SettingsDialogFragment mDialogFragment; field in SettingsPreferenceFragment
456 if (mDialogFragment != null) { in onDetach()
457 mDialogFragment.dismiss(); in onDetach()
458 mDialogFragment = null; in onDetach()
467 if (mDialogFragment != null) { in showDialog()
470 mDialogFragment = SettingsDialogFragment.newInstance(this, dialogId); in showDialog()
471 mDialogFragment.show(getChildFragmentManager(), Integer.toString(dialogId)); in showDialog()
488 if (mDialogFragment != null && mDialogFragment.getDialogId() == dialogId) { in removeDialog()
489 mDialogFragment.dismissAllowingStateLoss(); in removeDialog()
491 mDialogFragment = null; in removeDialog()
[all …]
DProxySelector.java59 private SettingsDialogFragment mDialogFragment; field in ProxySelector
113 if (mDialogFragment != null) { in showDialog()
116 mDialogFragment = SettingsDialogFragment.newInstance(this, dialogId); in showDialog()
117 mDialogFragment.show(getActivity().getSupportFragmentManager(), Integer.toString(dialogId)); in showDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsPreferenceFragment.java77 private SettingsDialogFragment mDialogFragment; field in SettingsPreferenceFragment
444 if (mDialogFragment != null) { in onDetach()
445 mDialogFragment.dismiss(); in onDetach()
446 mDialogFragment = null; in onDetach()
455 if (mDialogFragment != null) { in showDialog()
458 mDialogFragment = SettingsDialogFragment.newInstance(this, dialogId); in showDialog()
459 mDialogFragment.show(getChildFragmentManager(), Integer.toString(dialogId)); in showDialog()
476 if (mDialogFragment != null && mDialogFragment.getDialogId() == dialogId) { in removeDialog()
477 mDialogFragment.dismissAllowingStateLoss(); in removeDialog()
479 mDialogFragment = null; in removeDialog()
[all …]
DProxySelector.java59 private SettingsDialogFragment mDialogFragment; field in ProxySelector
113 if (mDialogFragment != null) { in showDialog()
116 mDialogFragment = SettingsDialogFragment.newInstance(this, dialogId); in showDialog()
117 mDialogFragment.show(getActivity().getSupportFragmentManager(), Integer.toString(dialogId)); in showDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsDialogFragmentTest.java42 private SettingsPreferenceFragment.SettingsDialogFragment mDialogFragment; field in SettingsDialogFragmentTest
53 mDialogFragment = SettingsPreferenceFragment.SettingsDialogFragment.newInstance( in testGetMetrics_shouldGetMetricFromDialogCreatable()
55 mDialogFragment.onAttach(RuntimeEnvironment.application); in testGetMetrics_shouldGetMetricFromDialogCreatable()
56 mDialogFragment.getMetricsCategory(); in testGetMetrics_shouldGetMetricFromDialogCreatable()
67 mDialogFragment = SettingsPreferenceFragment.SettingsDialogFragment.newInstance( in testGetInvalidMetricsValue_shouldCrash()
69 mDialogFragment.onAttach(RuntimeEnvironment.application); in testGetInvalidMetricsValue_shouldCrash()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DSoundSettings.java78 private UpdatableListPreferenceDialogFragment mDialogFragment; field in SoundSettings
98 mDialogFragment = dialogFragment; in onCreate()
137 mDialogFragment = UpdatableListPreferenceDialogFragment. in onDisplayPreferenceDialog()
139 mDialogFragment.setTargetFragment(this, 0); in onDisplayPreferenceDialog()
140 mDialogFragment.show(getFragmentManager(), TAG); in onDisplayPreferenceDialog()
316 if (mDialogFragment != null) { in onPreferenceDataChanged()
317 mDialogFragment.onListPreferenceUpdated(preference); in onPreferenceDataChanged()
/packages/apps/Settings/src/com/android/settings/notification/
DSoundSettings.java78 private UpdatableListPreferenceDialogFragment mDialogFragment; field in SoundSettings
98 mDialogFragment = dialogFragment; in onCreate()
137 mDialogFragment = UpdatableListPreferenceDialogFragment. in onDisplayPreferenceDialog()
139 mDialogFragment.setTargetFragment(this, 0); in onDisplayPreferenceDialog()
140 mDialogFragment.show(getFragmentManager(), TAG); in onDisplayPreferenceDialog()
317 if (mDialogFragment != null) { in onPreferenceDataChanged()
318 mDialogFragment.onListPreferenceUpdated(preference); in onPreferenceDataChanged()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DDialogActivity.java102 private DialogFragment mDialogFragment; field in DialogActivity
108 mDialogFragment = new DialogFragment(); in DialogActivity()
109 mDialogFragment.setActivity(this); in DialogActivity()
194 setDialogFragment(mDialogFragment); in onCreate()
374 mDialogFragment = fragment; in setDialogFragment()
392 mDialogFragment = fragment; in getDialogFragment()
395 return mDialogFragment; in getDialogFragment()