/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() 132 mRenameButton = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE); in onStart() 139 mAlertDialog = null; in onDestroy() 173 if (mAlertDialog != null && mAlertDialog.isShowing()) { in onEditorAction() 174 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 | 61 AlertDialog mAlertDialog = null; field in EmergencyCallbackModeExitDialog 200 mAlertDialog.setMessage(text); in showEmergencyCallbackModeExitDialog() 220 mAlertDialog = new AlertDialog.Builder(EmergencyCallbackModeExitDialog.this, in onCreateDialog() 244 mAlertDialog.setOnCancelListener(this); in onCreateDialog() 245 return mAlertDialog; in onCreateDialog() 248 mAlertDialog = new AlertDialog.Builder(EmergencyCallbackModeExitDialog.this, in onCreateDialog() 261 mAlertDialog.setOnCancelListener(this); in onCreateDialog() 262 return mAlertDialog; in onCreateDialog() 315 if (mAlertDialog != null) 316 mAlertDialog.dismiss();
|
/packages/apps/Stk/src/com/android/stk/ |
D | ToneDialog.java | 44 private AlertDialog mAlertDialog; field in ToneDialog 92 mAlertDialog = alertDialogBuilder.create(); in onCreate() 93 mAlertDialog.show(); in onCreate() 103 if (mAlertDialog != null && mAlertDialog.isShowing()) { in onDestroy() 104 mAlertDialog.dismiss(); in onDestroy() 105 mAlertDialog = null; in onDestroy()
|
D | StkDialogActivity.java | 66 private AlertDialog mAlertDialog; field in StkDialogActivity 151 mAlertDialog = alertDialogBuilder.create(); in onCreate() 152 mAlertDialog.setCanceledOnTouchOutside(false); in onCreate() 153 mAlertDialog.show(); in onCreate() 234 if (mAlertDialog != null && mAlertDialog.isShowing()) { in onDestroy() 235 mAlertDialog.dismiss(); in onDestroy() 236 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, AlertDialog.THEME_DEVICE_DEFAULT_LIGHT) 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/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/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/apps/Settings/src/com/android/settings/ |
D | ResetNetworkConfirm.java | 75 private AlertDialog mAlertDialog; field in ResetNetworkConfirm 145 mAlertDialog = new AlertDialog.Builder(mContext) in onPostExecute() 272 if (mAlertDialog != null) { in onDestroy() 273 mAlertDialog.dismiss(); in onDestroy()
|
/packages/apps/Traceur/src/com/google/android/traceur/ |
D | MainFragment.java | 65 private AlertDialog mAlertDialog; field in MainFragment 199 if (mAlertDialog != null) { in onStop() 200 mAlertDialog.cancel(); in onStop() 201 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()
|