Home
last modified time | relevance | path

Searched refs:AlertDialog (Results 1 – 25 of 114) sorted by relevance

12345

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/
DEditUserInfoControllerTest.java29 import android.app.AlertDialog;
122 final AlertDialog dialog = (AlertDialog) mController.createDialog(mActivity, in userNameView_inputLongName_shouldBeConstrained()
138 AlertDialog dialog = (AlertDialog) mController.createDialog( in cancelCallback_isCalled_whenCancelled()
154 AlertDialog dialog = (AlertDialog) mController.createDialog( in cancelCallback_isCalled_whenNegativeClicked()
171 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenNothingChanged()
189 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_calledWithNullIcon_whenOldIconIsNullAndNothingChanged()
207 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenLabelChanges()
228 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenPhotoChanges()
247 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalledWithChangedPhoto_whenOldIconIsNullAndPhotoChanges()
/frameworks/base/services/core/java/com/android/server/notification/
DNASLearnMoreActivity.java20 import android.app.AlertDialog;
37 AlertDialog.Builder builder = new AlertDialog.Builder(this); in showLearnMoreDialog()
38 AlertDialog alertDialog = builder.setMessage( in showLearnMoreDialog()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityShortcutChooserActivity.java30 import android.app.AlertDialog;
51 private AlertDialog mMenuDialog;
52 private AlertDialog mPermissionDialog;
87 mPermissionDialog = new AlertDialog.Builder(this) in onTargetChecked()
149 private AlertDialog createMenuDialog() { in createMenuDialog()
153 final AlertDialog.Builder builder = new AlertDialog.Builder(this) in createMenuDialog()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DDialogListActivity.java19 import androidx.appcompat.app.AlertDialog;
33 AlertDialog.Builder builder = new AlertDialog.Builder(this); in onCreate()
/frameworks/base/services/core/java/com/android/server/wm/
DDeprecatedTargetSdkVersionDialog.java22 import android.app.AlertDialog;
38 private final AlertDialog mDialog;
52 final AlertDialog.Builder builder = new AlertDialog.Builder(context) in DeprecatedTargetSdkVersionDialog()
DUnsupportedCompileSdkDialog.java19 import android.app.AlertDialog;
33 private final AlertDialog mDialog;
48 final AlertDialog.Builder builder = new AlertDialog.Builder(context) in UnsupportedCompileSdkDialog()
DUnsupportedDisplaySizeDialog.java21 import android.app.AlertDialog;
31 private final AlertDialog mDialog;
46 mDialog = new AlertDialog.Builder(context) in UnsupportedDisplaySizeDialog()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DErrorDialogFragment.java20 import android.app.AlertDialog;
34 AlertDialog.Builder b = new AlertDialog.Builder(getActivity()) in onCreateDialog()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java19 import android.app.AlertDialog;
121 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callIsAppInactive()
148 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callSetAppLimit()
182 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callSetAppUsageLimit()
216 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in showInactive()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasSettings.java20 import android.app.AlertDialog;
37 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateDialog()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DIPSettings.java20 import android.app.AlertDialog;
37 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateDialog()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DIPSettings.java20 import android.app.AlertDialog;
37 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateDialog()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardEsimArea.java19 import android.app.AlertDialog;
56 AlertDialog.Builder builder =
57 new AlertDialog.Builder(mContext)
62 AlertDialog alertDialog = builder.create();
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DVersionDialog.java20 import android.app.AlertDialog;
49 AlertDialog.Builder builder = new AlertDialog.Builder(activity); in onCreateDialog()
/frameworks/base/core/java/android/webkit/
DPlugin.java19 import android.app.AlertDialog;
196 private AlertDialog mDialog;
202 mDialog = new AlertDialog.Builder(context) in handleClickEvent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java21 import android.app.AlertDialog;
78 private AlertDialog mDialog = null;
246 final AlertDialog.Builder builder = new AlertDialog.Builder(context); in showSecurityWarnDialog()
285 final AlertDialog.Builder builder = new AlertDialog.Builder(context); in showDirectBootWarnDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
DNetworkOverLimitActivity.java23 import android.app.AlertDialog;
51 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootSurfaceCallbackTest.java25 import android.app.AlertDialog;
65 final AlertDialog dialog = new AlertDialog.Builder(activity) in testCallingTidOfSurfaceCallback()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestBasic.java19 import android.app.AlertDialog;
59 AlertDialog.Builder builder = new AlertDialog.Builder(currentView.getContext()); in showDialog()
/frameworks/base/core/java/android/app/
DAlertDialog.java73 public class AlertDialog extends Dialog implements DialogInterface { class
144 protected AlertDialog(Context context) { in AlertDialog() method in AlertDialog
166 protected AlertDialog(Context context, boolean cancelable, OnCancelListener cancelListener) { in AlertDialog() method in AlertDialog
199 protected AlertDialog(Context context, @StyleRes int themeResId) { in AlertDialog() method in AlertDialog
203 AlertDialog(Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { in AlertDialog() method in AlertDialog
1103 public AlertDialog create() { in create()
1105 final AlertDialog dialog = new AlertDialog(P.mContext, 0, false); in create()
1129 public AlertDialog show() { in show()
1130 final AlertDialog dialog = create(); in show()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java19 import android.app.AlertDialog;
42 public class SystemUIDialog extends AlertDialog {
114 public static AlertDialog applyFlags(AlertDialog dialog) { in applyFlags()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java19 import android.app.AlertDialog;
36 private AlertDialog mDialog;
56 final AlertDialog.Builder builder = new AlertDialog.Builder(menu.getContext()); in show()
/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/
DUsageReporterActivity.java20 import android.app.AlertDialog;
142 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callAddToken()
177 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callAddManyTokens()
211 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callStopAll()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DCustomDialogPreference.java18 import android.app.AlertDialog;
69 protected void onPrepareDialogBuilder(AlertDialog.Builder builder, in onPrepareDialogBuilder()
105 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) { in onPrepareDialogBuilder()
DCustomDialogPreferenceCompat.java25 import androidx.appcompat.app.AlertDialog;
63 protected void onPrepareDialogBuilder(AlertDialog.Builder builder, in onPrepareDialogBuilder()
99 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) { in onPrepareDialogBuilder()

12345