/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothNameDialogFragment.java | 54 AlertDialog mAlertDialog; field in BluetoothNameDialogFragment 95 mAlertDialog = builder.create(); in onCreateDialog() 96 mAlertDialog.setOnShowListener(d -> { in onCreateDialog() 106 return mAlertDialog; in onCreateDialog() 137 if (mAlertDialog != null && mAlertDialog.isShowing()) { in onEditorAction() 138 mAlertDialog.dismiss(); in onEditorAction() 149 mAlertDialog = null; in onDestroy() 158 mOkButton = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE); in onResume()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothRenameDialogFragment.java | 56 private AlertDialog mAlertDialog; field in BluetoothRenameDialogFragment 89 mAlertDialog = builder.create(); in onCreateDialog() 90 mAlertDialog.setOnShowListener(d -> { in onCreateDialog() 100 return mAlertDialog; in onCreateDialog() 136 mRenameButton = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE); in onStart() 143 mAlertDialog = null; in onDestroy() 177 if (mAlertDialog != null && mAlertDialog.isShowing()) { in onEditorAction() 178 mAlertDialog.dismiss(); in onEditorAction()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothNameDialogFragment.java | 54 AlertDialog mAlertDialog; field in BluetoothNameDialogFragment 95 mAlertDialog = builder.create(); in onCreateDialog() 96 mAlertDialog.setOnShowListener(d -> { in onCreateDialog() 106 return mAlertDialog; in onCreateDialog() 137 if (mAlertDialog != null && mAlertDialog.isShowing()) { in onEditorAction() 138 mAlertDialog.dismiss(); in onEditorAction() 149 mAlertDialog = null; in onDestroy() 158 mOkButton = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE); in onResume()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyCallbackModeExitDialog.java | 62 AlertDialog mAlertDialog = null; field in EmergencyCallbackModeExitDialog 214 mAlertDialog.setMessage(text); in showEmergencyCallbackModeExitDialog() 234 mAlertDialog = new AlertDialog.Builder(EmergencyCallbackModeExitDialog.this, in onCreateDialog() 258 mAlertDialog.setOnCancelListener(this); in onCreateDialog() 259 return mAlertDialog; in onCreateDialog() 262 mAlertDialog = new AlertDialog.Builder(EmergencyCallbackModeExitDialog.this, in onCreateDialog() 275 mAlertDialog.setOnCancelListener(this); in onCreateDialog() 276 return mAlertDialog; in onCreateDialog() 336 if (mAlertDialog != null) 337 mAlertDialog.dismiss();
|
/packages/apps/Stk/src/com/android/stk/ |
D | ToneDialog.java | 44 private AlertDialog mAlertDialog; field in ToneDialog 93 mAlertDialog = alertDialogBuilder.create(); in onCreate() 94 mAlertDialog.show(); in onCreate() 110 if (mAlertDialog != null && mAlertDialog.isShowing()) { in onDestroy() 111 mAlertDialog.dismiss(); in onDestroy() 112 mAlertDialog = null; in onDestroy()
|
D | StkDialogActivity.java | 63 private AlertDialog mAlertDialog; field in StkDialogActivity 150 mAlertDialog = alertDialogBuilder.create(); in onCreate() 151 mAlertDialog.setCanceledOnTouchOutside(false); in onCreate() 152 mAlertDialog.show(); in onCreate() 222 if (mAlertDialog != null && mAlertDialog.isShowing()) { in onDestroy() 223 mAlertDialog.dismiss(); in onDestroy() 224 mAlertDialog = null; in onDestroy()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | RestrictedSettingsFragmentTest.java | 38 private AlertDialog mAlertDialog; field in RestrictedSettingsFragmentTest 54 doReturn(true).when(mAlertDialog).isShowing(); in onActivityResult_dismissesDialogOnOk() 55 mFragment.mActionDisabledDialog = mAlertDialog; in onActivityResult_dismissesDialogOnOk() 61 verify(mAlertDialog, times(1)).setOnDismissListener(isNull()); in onActivityResult_dismissesDialogOnOk() 62 verify(mAlertDialog, times(1)).dismiss(); in onActivityResult_dismissesDialogOnOk()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AbstractGalleryActivity.java | 64 private AlertDialog mAlertDialog = null; field in AbstractGalleryActivity 147 if (mAlertDialog != null) { in onStorageReady() 148 mAlertDialog.dismiss(); in onStorageReady() 149 mAlertDialog = null; in onStorageReady() 180 mAlertDialog = builder.show(); in onStart() 195 if (mAlertDialog != null) { in onStop() 197 mAlertDialog.dismiss(); in onStop() 198 mAlertDialog = null; in onStop()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ConfirmConnectToWifiNetworkActivity.java | 24 private AlertDialog mAlertDialog; field in ConfirmConnectToWifiNetworkActivity 36 mAlertDialog = new AlertDialog.Builder(this, R.style.DialogAlertDayNight) in onCreate() 53 mAlertDialog.show(); in onCreate() 57 mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener(this); in onCreate() 85 mAlertDialog.dismiss(); in onClick() 136 mAlertDialog.dismiss(); in onDestroy()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintSettings.java | 664 private AlertDialog mAlertDialog; field in FingerprintSettings.FingerprintSettingsFragment.DeleteFingerprintDialog 686 mAlertDialog = new AlertDialog.Builder(getActivity()) in onCreateDialog() 694 return mAlertDialog; in onCreateDialog() 716 private AlertDialog mAlertDialog; field in FingerprintSettings.FingerprintSettingsFragment.RenameDialog 738 mAlertDialog = new AlertDialog.Builder(getActivity()) in onCreateDialog() 762 mAlertDialog.setOnShowListener(new DialogInterface.OnShowListener() { in onCreateDialog() 765 mDialogTextField = mAlertDialog.findViewById(R.id.fingerprint_rename_field); in onCreateDialog() 774 mAlertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).setEnabled(false); in onCreateDialog() 780 return mAlertDialog; in onCreateDialog() 785 if (mAlertDialog != null) { in enableDelete() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/ |
D | FingerprintSettings.java | 661 private AlertDialog mAlertDialog; field in FingerprintSettings.FingerprintSettingsFragment.DeleteFingerprintDialog 683 mAlertDialog = new AlertDialog.Builder(getActivity()) in onCreateDialog() 691 return mAlertDialog; in onCreateDialog() 713 private AlertDialog mAlertDialog; field in FingerprintSettings.FingerprintSettingsFragment.RenameDialog 735 mAlertDialog = new AlertDialog.Builder(getActivity()) in onCreateDialog() 759 mAlertDialog.setOnShowListener(new DialogInterface.OnShowListener() { in onCreateDialog() 762 mDialogTextField = mAlertDialog.findViewById(R.id.fingerprint_rename_field); in onCreateDialog() 771 mAlertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).setEnabled(false); in onCreateDialog() 777 return mAlertDialog; in onCreateDialog() 782 if (mAlertDialog != null) { in enableDelete() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | ResetNetworkConfirm.java | 73 private AlertDialog mAlertDialog; field in ResetNetworkConfirm 142 mAlertDialog = new AlertDialog.Builder(mContext) in onPostExecute() 269 if (mAlertDialog != null) { in onDestroy() 270 mAlertDialog.dismiss(); in onDestroy()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | MainFragment.java | 65 private AlertDialog mAlertDialog; field in MainFragment 201 if (mAlertDialog != null) { in onStop() 202 mAlertDialog.cancel(); in onStop() 203 mAlertDialog = null; in onStop()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothNameDialogFragmentTest.java | 46 mBluetoothNameDialogFragment.mAlertDialog = null; in onEditorAction_dialogNull_shouldNotCrash()
|