Home
last modified time | relevance | path

Searched refs:mAlert (Results 1 – 14 of 14) sorted by relevance

/aosp14/frameworks/base/core/java/com/android/internal/globalactions/
H A DActionsDialog.java31 private final AlertController mAlert; field in ActionsDialog
37 mAlert = AlertController.create(mContext, this, getWindow()); in ActionsDialog()
39 params.apply(mAlert); in ActionsDialog()
56 return mAlert.getListView(); in getListView()
62 mAlert.installContent(); in onCreate()
81 if (mAlert.onKeyDown(keyCode, event)) { in onKeyDown()
89 if (mAlert.onKeyUp(keyCode, event)) { in onKeyUp()
/aosp14/frameworks/base/core/java/android/app/
H A DAlertDialog.java75 private AlertController mAlert; field in AlertDialog
243 return mAlert.getButton(whichButton); in getButton()
252 return mAlert.getListView(); in getListView()
258 mAlert.setTitle(title); in setTitle()
269 mAlert.setMessage(message); in setMessage()
287 mAlert.setView(view); in setView()
414 mAlert.setIcon(resId); in setIcon()
418 mAlert.setIcon(icon); in setIcon()
429 mAlert.setIcon(out.resourceId); in setIconAttribute()
439 mAlert.installContent(); in onCreate()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/logcat/
H A DLogAccessDialogActivity.java71 private AlertDialog mAlert; field in LogAccessDialogActivity
121 mAlert = mAlertDialog.create(); in onCreate()
122 mAlert.getWindow().setHideOverlayWindows(true); in onCreate()
123 mAlert.show(); in onCreate()
132 if (!isChangingConfigurations() && mAlert != null && mAlert.isShowing()) { in onDestroy()
133 mAlert.dismiss(); in onDestroy()
135 mAlert = null; in onDestroy()
171 if (mAlert != null) {
172 mAlert.dismiss();
173 mAlert = null;
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DAlertActivity.java42 protected AlertController mAlert; field in AlertActivity
48 mAlert = new AlertController(this, this, getWindow()); in onCreate()
88 mAlert.installContent(); in setupAlert()
93 if (mAlert.onKeyDown(keyCode, event)) return true; in onKeyDown()
99 if (mAlert.onKeyUp(keyCode, event)) return true; in onKeyUp()
H A DInstallSuccess.java86 mAlert.setIcon(mAppSnippet.icon); in bindUi()
87 mAlert.setTitle(mAppSnippet.label); in bindUi()
88 mAlert.setView(R.layout.install_content_view); in bindUi()
89 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, getString(R.string.launch), null, in bindUi()
91 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.done), in bindUi()
110 Button launchButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in bindUi()
H A DInstallFailed.java108 mAlert.setIcon(as.icon); in onCreate()
109 mAlert.setTitle(as.label); in onCreate()
110 mAlert.setView(R.layout.install_content_view); in onCreate()
111 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, getString(R.string.done), in onCreate()
H A DInstallInstalling.java93 mAlert.setIcon(as.icon); in onCreate()
94 mAlert.setTitle(as.label); in onCreate()
95 mAlert.setView(R.layout.install_content_view); in onCreate()
96 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), in onCreate()
148 mCancelButton = mAlert.getButton(DialogInterface.BUTTON_NEGATIVE); in onCreate()
H A DInstallStaging.java75 mAlert.setIcon(R.drawable.ic_file_download); in onCreate()
76 mAlert.setTitle(getString(R.string.app_name_unknown)); in onCreate()
77 mAlert.setView(R.layout.install_content_view); in onCreate()
78 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), in onCreate()
H A DPackageInstallerActivity.java469 mAlert.setIcon(mAppSnippet.icon); in bindUi()
470 mAlert.setTitle(mAppSnippet.label); in bindUi()
471 mAlert.setView(R.layout.install_content_view); in bindUi()
472 mAlert.setButton(DialogInterface.BUTTON_POSITIVE, getString(R.string.install), in bindUi()
483 mAlert.setButton(DialogInterface.BUTTON_NEGATIVE, getString(R.string.cancel), in bindUi()
491 mOk = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in bindUi()
495 mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).requestFocus(); in bindUi()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DAlertActivity.java47 protected AlertController mAlert; field in AlertActivity
59 mAlert = AlertController.create(this, this, getWindow()); in onCreate()
102 mAlert.installContent(mAlertParams); in setupAlert()
107 if (mAlert.onKeyDown(keyCode, event)) return true; in onKeyDown()
113 if (mAlert.onKeyUp(keyCode, event)) return true; in onKeyUp()
H A DHarmfulAppWarningActivity.java84 mAlert.installContent(mAlertParams); in onCreate()
/aosp14/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DConfirmDialog.java137 Button button = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in onCreate()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/
H A DWifiDebuggingActivity.java121 mAlert.getButton(BUTTON_POSITIVE).setOnTouchListener(filterTouchListener); in onCreate()
/aosp14/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
H A DRingtonePickerActivity.java260 ListView listView = mAlert.getListView(); in onCreate()