/aosp14/frameworks/base/core/java/com/android/internal/globalactions/ |
H A D | ActionsDialog.java | 31 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 D | AlertDialog.java | 75 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 D | LogAccessDialogActivity.java | 71 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 D | AlertActivity.java | 42 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 D | InstallSuccess.java | 86 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 D | InstallFailed.java | 108 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 D | InstallInstalling.java | 93 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 D | InstallStaging.java | 75 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 D | PackageInstallerActivity.java | 469 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 D | AlertActivity.java | 47 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 D | HarmfulAppWarningActivity.java | 84 mAlert.installContent(mAlertParams); in onCreate()
|
/aosp14/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ConfirmDialog.java | 137 Button button = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in onCreate()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wifi/ |
H A D | WifiDebuggingActivity.java | 121 mAlert.getButton(BUTTON_POSITIVE).setOnTouchListener(filterTouchListener); in onCreate()
|
/aosp14/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
H A D | RingtonePickerActivity.java | 260 ListView listView = mAlert.getListView(); in onCreate()
|