Home
last modified time | relevance | path

Searched refs:mAlertBuilder (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/util/
DAlertActivity.java50 protected AlertDialog.Builder mAlertBuilder; field in AlertActivity
61 mAlertBuilder = new AlertDialog.Builder(this); in onCreate()
62 mAlertBuilder.setOnDismissListener(this); in onCreate()
63 mAlertBuilder.setOnCancelListener(this); in onCreate()
99 mAlert = mAlertBuilder.create(); in setupAlert()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppBtEnableActivity.java61 mAlertBuilder.setIconAttribute(android.R.attr.alertDialogIcon); in onCreate()
62 mAlertBuilder.setTitle(getString(R.string.bt_enable_title)); in onCreate()
63 mAlertBuilder.setView(createView()); in onCreate()
64 mAlertBuilder.setPositiveButton( in onCreate()
66 mAlertBuilder.setNegativeButton(R.string.bt_enable_cancel, (dialog, which) -> finish()); in onCreate()
DBluetoothOppBtErrorActivity.java58 mAlertBuilder.setIconAttribute(android.R.attr.alertDialogIcon); in onCreate()
59 mAlertBuilder.setTitle(errorTitle); in onCreate()
60 mAlertBuilder.setView(createView(errorContent)); in onCreate()
61 mAlertBuilder.setPositiveButton(R.string.bt_error_btn_ok, (dialog, which) -> {}); in onCreate()
DBluetoothOppTransferActivity.java219 mAlertBuilder.setTitle(getString(R.string.download_title)); in setUpDialog()
221 mAlertBuilder.setPositiveButton(R.string.download_ok, this); in setUpDialog()
222 mAlertBuilder.setNegativeButton(R.string.download_cancel, this); in setUpDialog()
224 mAlertBuilder.setPositiveButton(R.string.download_succ_ok, this); in setUpDialog()
226 mAlertBuilder.setIconAttribute(android.R.attr.alertDialogIcon); in setUpDialog()
227 mAlertBuilder.setPositiveButton(R.string.download_fail_ok, this); in setUpDialog()
229 mAlertBuilder.setPositiveButton(R.string.upload_succ_ok, this); in setUpDialog()
231 mAlertBuilder.setIconAttribute(android.R.attr.alertDialogIcon); in setUpDialog()
232 mAlertBuilder.setNegativeButton(R.string.upload_fail_cancel, this); in setUpDialog()
234 mAlertBuilder.setView(createView()); in setUpDialog()
DBluetoothOppIncomingFileConfirmActivity.java106 mAlertBuilder.setTitle(getString(R.string.incoming_file_confirm_content)); in onCreate()
107 mAlertBuilder.setView(createView()); in onCreate()
108 mAlertBuilder.setPositiveButton( in onCreate()
110 mAlertBuilder.setNegativeButton( in onCreate()
DBluetoothOppBtEnablingActivity.java82 mAlertBuilder.setTitle(R.string.enabling_progress_title); in onCreate()
83 mAlertBuilder.setView(createView()); in onCreate()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DAlertActivity.java45 protected AlertDialog.Builder mAlertBuilder; field in AlertActivity
57 mAlertBuilder = new AlertDialog.Builder(this); in onCreate()
58 mAlertBuilder.setOnDismissListener(this); in onCreate()
59 mAlertBuilder.setOnCancelListener(this); in onCreate()
96 mAlert = mAlertBuilder.create(); in setupAlert()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java125 mAlertBuilder.setTitle(getString(R.string.pbap_session_key_dialog_header)); in showPbapDialog()
126 mAlertBuilder.setView(createView(DIALOG_YES_NO_AUTH)); in showPbapDialog()
127 mAlertBuilder.setPositiveButton( in showPbapDialog()
129 mAlertBuilder.setNegativeButton( in showPbapDialog()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DTapAgainDialog.java90 mAlertBuilder.setTitle(""); in onCreate()
91 mAlertBuilder.setView(view); in onCreate()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java1680 private final NotificationCompat.Builder mAlertBuilder;
1691 mAlertBuilder = createAlertNotificationBuilder(context);
1701 mAlertBuilder.setContentTitle(getString(mContext,
1703 mAlertBuilder.setContentText(FileUtils.extractDisplayName(filePath));
1705 mNotificationManager.notify(notificationId, mAlertBuilder.build());
1753 mAlertBuilder.setContentTitle(message);
1754 mAlertBuilder.setContentText(FileUtils.extractDisplayName(filePath));
1756 mNotificationManager.notify(notificationId, mAlertBuilder.build());