Home
last modified time | relevance | path

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

1234567

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/
DEditUserInfoControllerTest.java29 import android.app.AlertDialog;
127 final AlertDialog dialog = (AlertDialog) mController.createDialog(mActivity, in userNameView_inputLongName_shouldBeConstrained()
141 AlertDialog dialog = (AlertDialog) mController.createDialog( in cancelCallback_isCalled_whenCancelled()
157 AlertDialog dialog = (AlertDialog) mController.createDialog( in cancelCallback_isCalled_whenNegativeClicked()
174 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenNothingChanged()
192 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_calledWithNullIcon_whenOldIconIsNullAndNothingChanged()
210 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenLabelChanges()
231 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalled_whenPhotoChanges()
250 AlertDialog dialog = (AlertDialog) mController.createDialog( in successCallback_isCalledWithChangedPhoto_whenOldIconIsNullAndPhotoChanges()
DCreateUserDialogControllerTest.java29 import android.app.AlertDialog;
74 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in positiveButton_grantAdminStage_noValue_OkButtonShouldBeDisabled()
91 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage()
110 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in editUserInfoController_shouldOnlyBeVisibleOnLastStage()
129 final AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage()
150 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in cancelCallback_isCalled_whenCancelled()
165 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in cancelCallback_isCalled_whenNegativeButtonClickedOnFirstStage()
181 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in cancelCallback_isNotCalled_whenNegativeButtonClickedOnSecondStage()
199 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in successCallback_isCalled_setNameAndAdminStatus()
223 AlertDialog dialog = (AlertDialog) mUnderTest.createDialog(mActivity, in successCallback_isCalled_setName_MultipleAdminDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/devicepolicy/
DScreenCaptureDisabledDialogDelegate.kt18 import android.app.AlertDialog in <lambda>()
35 fun createPlainDialog(): AlertDialog { in <lambda>()
36 return AlertDialog.Builder(context, R.style.Theme_SystemUI_Dialog).create().also { in <lambda>()
41 fun createSysUIDialog(): AlertDialog { in <lambda>()
45 private fun initDialog(dialog: AlertDialog) { in <lambda>()
/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/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/packages/SystemUI/src/com/android/systemui/controls/settings/
DControlsSettingsDialogManager.kt20 import android.app.AlertDialog in <lambda>()
89 private val dialogProvider: (context: Context, theme: Int) -> AlertDialog
108 private var dialog: AlertDialog? = null
213 private fun AlertDialog.setNeutralButton( in AlertDialog() method
220 private fun AlertDialog.setPositiveButton( in AlertDialog() method
227 private fun AlertDialog.setMessage(msgId: Int) { in AlertDialog() method
232 private class SettingsDialog(context: Context, theme: Int) : AlertDialog(context, theme)
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DImeEditorPopupDialogActivity.java22 import android.app.AlertDialog;
43 final AlertDialog dialog = new AlertDialog.Builder(this) in onCreate()
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAlertDialogWithDelegate.kt19 import android.app.AlertDialog
35 private val delegate: DialogDelegate<AlertDialog>
36 ) : AlertDialog(context, theme), ConfigChangedCallback {
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUnarchiveFragment.java19 import android.app.AlertDialog;
33 AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(getActivity()); in onCreateDialog()
DInstallFailed.java20 import android.app.AlertDialog;
46 private AlertDialog mDialog;
117 AlertDialog.Builder builder = new AlertDialog.Builder(this); in onCreate()
157 return new AlertDialog.Builder(mActivity) in onCreateDialog()
DInstallSuccess.java20 import android.app.AlertDialog;
51 private AlertDialog mDialog;
90 AlertDialog.Builder builder = new AlertDialog.Builder(this); in bindUi()
/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/PackageInstaller/src/com/android/packageinstaller/v2/ui/fragments/
DUninstallUninstallingFragment.java19 import android.app.AlertDialog;
44 AlertDialog.Builder builder = new AlertDialog.Builder(requireContext()) in onCreateDialog()
DInstallInstallingFragment.java19 import android.app.AlertDialog;
38 private AlertDialog mDialog;
49 mDialog = new AlertDialog.Builder(requireContext()) in onCreateDialog()
DUninstallErrorFragment.java19 import android.app.AlertDialog;
55 AlertDialog.Builder builder = new AlertDialog.Builder(requireContext()) in onCreateDialog()
DInstallStagingFragment.java19 import android.app.AlertDialog;
35 private AlertDialog mDialog;
44 mDialog = new AlertDialog.Builder(requireContext()) in onCreateDialog()
/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/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/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/
DBouncerDialogFactory.kt19 import android.app.AlertDialog
23 operator fun invoke(): AlertDialog
/frameworks/base/core/java/com/android/internal/app/
DSetScreenLockDialogActivity.java29 import android.app.AlertDialog;
104 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in onCreate()
110 final AlertDialog dialog = builder.create(); in onCreate()
137 private void setLaunchUserSpecificMessage(AlertDialog.Builder builder) { in setLaunchUserSpecificMessage()
/frameworks/base/services/core/java/com/android/server/wm/
DDeprecatedAbiDialog.java19 import android.app.AlertDialog;
41 final AlertDialog.Builder builder = new AlertDialog.Builder(context) in DeprecatedAbiDialog()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityShortcutChooserActivity.java28 import android.app.AlertDialog;
57 private AlertDialog mMenuDialog;
229 public AlertDialog getMenuDialog() { in getMenuDialog()
238 private AlertDialog createMenuDialog() { in createMenuDialog()
242 final AlertDialog.Builder builder = new AlertDialog.Builder(this) in createMenuDialog()
260 final AlertDialog dialog = builder.create(); in createMenuDialog()
/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()

1234567