Home
last modified time | relevance | path

Searched refs:dialogId (Results 1 – 25 of 42) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DNightDisplaySettings.java94 public Dialog onCreateDialog(final int dialogId) { in onCreateDialog() argument
95 if (dialogId == DIALOG_START_TIME || dialogId == DIALOG_END_TIME) { in onCreateDialog()
97 if (dialogId == DIALOG_START_TIME) { in onCreateDialog()
107 if (dialogId == DIALOG_START_TIME) { in onCreateDialog()
114 return super.onCreateDialog(dialogId); in onCreateDialog()
118 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
119 switch (dialogId) { in getDialogMetricsCategory()
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplaySettings.java94 public Dialog onCreateDialog(final int dialogId) { in onCreateDialog() argument
95 if (dialogId == DIALOG_START_TIME || dialogId == DIALOG_END_TIME) { in onCreateDialog()
97 if (dialogId == DIALOG_START_TIME) { in onCreateDialog()
107 if (dialogId == DIALOG_START_TIME) { in onCreateDialog()
114 return super.onCreateDialog(dialogId); in onCreateDialog()
118 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
119 switch (dialogId) { in getDialogMetricsCategory()
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java466 protected void showDialog(int dialogId) { in showDialog() argument
470 mDialogFragment = SettingsDialogFragment.newInstance(this, dialogId); in showDialog()
471 mDialogFragment.show(getChildFragmentManager(), Integer.toString(dialogId)); in showDialog()
475 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
480 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
484 protected void removeDialog(int dialogId) { in removeDialog() argument
488 if (mDialogFragment != null && mDialogFragment.getDialogId() == dialogId) { in removeDialog()
557 public static SettingsDialogFragment newInstance(DialogCreatable fragment, int dialogId) { in newInstance() argument
565 settingsDialogFragment.setDialogId(dialogId); in newInstance()
664 private void setDialogId(int dialogId) { in setDialogId() argument
[all …]
DProxySelector.java108 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
112 private void showDialog(int dialogId) { in showDialog() argument
116 mDialogFragment = SettingsDialogFragment.newInstance(this, dialogId); in showDialog()
117 mDialogFragment.show(getActivity().getSupportFragmentManager(), Integer.toString(dialogId)); in showDialog()
DDialogCreatable.java28 Dialog onCreateDialog(int dialogId); in onCreateDialog() argument
30 int getDialogMetricsCategory(int dialogId); in getDialogMetricsCategory() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsPreferenceFragment.java454 protected void showDialog(int dialogId) { in showDialog() argument
458 mDialogFragment = SettingsDialogFragment.newInstance(this, dialogId); in showDialog()
459 mDialogFragment.show(getChildFragmentManager(), Integer.toString(dialogId)); in showDialog()
463 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
468 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
472 protected void removeDialog(int dialogId) { in removeDialog() argument
476 if (mDialogFragment != null && mDialogFragment.getDialogId() == dialogId) { in removeDialog()
545 public static SettingsDialogFragment newInstance(DialogCreatable fragment, int dialogId) { in newInstance() argument
553 settingsDialogFragment.setDialogId(dialogId); in newInstance()
652 private void setDialogId(int dialogId) { in setDialogId() argument
[all …]
DProxySelector.java108 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
112 private void showDialog(int dialogId) { in showDialog() argument
116 mDialogFragment = SettingsDialogFragment.newInstance(this, dialogId); in showDialog()
117 mDialogFragment.show(getActivity().getSupportFragmentManager(), Integer.toString(dialogId)); in showDialog()
DDialogCreatable.java28 Dialog onCreateDialog(int dialogId); in onCreateDialog() argument
30 int getDialogMetricsCategory(int dialogId); in getDialogMetricsCategory() argument
/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java141 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
142 Log.d(TAG, "onCreateDialog: dialogId=" + dialogId); in onCreateDialog()
143 switch (dialogId) { in onCreateDialog()
154 return super.onCreateDialog(dialogId); in onCreateDialog()
158 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
159 if (MANAGE_MOBILE_PLAN_DIALOG_ID == dialogId) { in getDialogMetricsCategory()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DNetworkDashboardFragment.java141 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
142 Log.d(TAG, "onCreateDialog: dialogId=" + dialogId); in onCreateDialog()
143 switch (dialogId) { in onCreateDialog()
154 return super.onCreateDialog(dialogId); in onCreateDialog()
158 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
159 if (MANAGE_MOBILE_PLAN_DIALOG_ID == dialogId) { in getDialogMetricsCategory()
/packages/apps/Settings/src/com/android/settings/users/
DRestrictedProfileSettings.java117 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
118 if (dialogId == DIALOG_ID_EDIT_USER_INFO) { in onCreateDialog()
122 } else if (dialogId == DIALOG_CONFIRM_REMOVE) { in onCreateDialog()
138 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
139 switch (dialogId) { in getDialogMetricsCategory()
DUserDetailsSettings.java167 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
170 switch (dialogId) { in onCreateDialog()
193 throw new IllegalArgumentException("Unsupported dialogId " + dialogId); in onCreateDialog()
197 public int getDialogMetricsCategory(int dialogId) {
198 switch (dialogId) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DRestrictedProfileSettings.java117 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
118 if (dialogId == DIALOG_ID_EDIT_USER_INFO) { in onCreateDialog()
122 } else if (dialogId == DIALOG_CONFIRM_REMOVE) { in onCreateDialog()
138 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
139 switch (dialogId) { in getDialogMetricsCategory()
DUserDetailsSettings.java167 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
170 switch (dialogId) { in onCreateDialog()
193 throw new IllegalArgumentException("Unsupported dialogId " + dialogId); in onCreateDialog()
197 public int getDialogMetricsCategory(int dialogId) {
198 switch (dialogId) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/savedaccesspoints/
DSavedAccessPointsWifiSettings.java124 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
125 switch (dialogId) { in onCreateDialog()
140 return super.onCreateDialog(dialogId); in onCreateDialog()
144 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
145 switch (dialogId) { in getDialogMetricsCategory()
/packages/apps/Settings/src/com/android/settings/development/
DWirelessDebuggingFragment.java264 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
269 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
271 dialogId == AdbWirelessDialogUiBase.MODE_PAIRING in onCreateDialog()
272 ? mPairingCodeDialogListener : null, dialogId); in onCreateDialog()
273 if (dialogId == AdbWirelessDialogUiBase.MODE_PAIRING) { in onCreateDialog()
287 return super.onCreateDialog(dialogId); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleAccessibilityServicePreferenceFragment.java129 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
130 switch (dialogId) { in onCreateDialog()
164 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
165 if (dialogId == DIALOG_ID_ENABLE_WARNING) { in getDialogMetricsCategory()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleAccessibilityServicePreferenceFragment.java132 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
133 switch (dialogId) { in onCreateDialog()
170 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
171 if (dialogId == DIALOG_ID_ENABLE_WARNING) { in getDialogMetricsCategory()
DToggleScreenMagnificationPreferenceFragment.java174 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
175 if (dialogId == DIALOG_ID_GESTURE_NAVIGATION_TUTORIAL) { in onCreateDialog()
195 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailSettingsActivity.java592 protected Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
593 return VoicemailDialogUtil.getDialog(this, dialogId); in onCreateDialog()
1075 private void handleVmOrFwdSetError(int dialogId) { in handleVmOrFwdSetError() argument
1077 mVMOrFwdSetError = dialogId; in handleVmOrFwdSetError()
1083 showDialogIfForeground(dialogId); in handleVmOrFwdSetError()
1091 private void handleVmAndFwdSetSuccess(int dialogId) { in handleVmAndFwdSetSuccess() argument
1096 showDialogIfForeground(dialogId); in handleVmAndFwdSetSuccess()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiNetworkDetailsFragment.java79 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
80 if (dialogId == WIFI_DIALOG_ID) { in getDialogMetricsCategory()
87 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiNetworkDetailsFragment.java81 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument
82 if (dialogId == WIFI_DIALOG_ID) { in getDialogMetricsCategory()
89 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
DInstrumentedDialogFragment.java41 public InstrumentedDialogFragment(DialogCreatable dialogCreatable, int dialogId) { in InstrumentedDialogFragment() argument
43 mDialogId = dialogId; in InstrumentedDialogFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/instrumentation/
DInstrumentedDialogFragment.java41 public InstrumentedDialogFragment(DialogCreatable dialogCreatable, int dialogId) { in InstrumentedDialogFragment() argument
43 mDialogId = dialogId; in InstrumentedDialogFragment()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsDialogFragmentTest.java80 public Dialog onCreateDialog(int dialogId) { in onCreateDialog() argument
85 public int getDialogMetricsCategory(int dialogId) { in getDialogMetricsCategory() argument

12