/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/ |
D | AlertDialogTest.java | 107 private AlertDialog mAlertDialog; 131 private void wireBuilder(final AlertDialog.Builder builder) { in wireBuilder() 145 final AlertDialog dialog = new AlertDialog.Builder(context, R.style.Theme_TextColors) in testBuilderTheme() 159 AlertDialog.Builder builder = new AlertDialog.Builder(context) in testBasicContent() 177 mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE).getVisibility()); in testBasicContent() 179 mAlertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).getVisibility()); in testBasicContent() 181 mAlertDialog.getButton(AlertDialog.BUTTON_NEUTRAL).getVisibility()); in testBasicContent() 190 AlertDialog.Builder builder = new AlertDialog.Builder(mActivityTestRule.getActivity()) in testMessageString() 204 AlertDialog.Builder builder = new AlertDialog.Builder(mActivityTestRule.getActivity()) in testMessageStringPostCreation() 258 AlertDialog.Builder builder = new AlertDialog.Builder(context) in testCustomTitle() [all …]
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
D | AlertDialogUsage.java | 23 import androidx.appcompat.app.AlertDialog; 70 AlertDialog.Builder b = new AlertDialog.Builder(this); in showSimpleDialog() 77 AlertDialog.Builder b = new AlertDialog.Builder(this); in showSimpleButtonsDialog() 86 AlertDialog.Builder b = new AlertDialog.Builder(this); in showSingleChoiceDialog() 94 AlertDialog.Builder b = new AlertDialog.Builder(this); in showMultiChoiceDialog()
|
D | AppCompatNightModeAlertDialog.java | 22 import androidx.appcompat.app.AlertDialog; 40 AlertDialog dialog = createAlertDialog(); in setModeNightNo() 46 AlertDialog dialog = createAlertDialog(); in setModeNightYes() 52 AlertDialog dialog = createAlertDialog(); in setModeNightAuto() 57 private AlertDialog createAlertDialog() { in createAlertDialog() 58 AlertDialog.Builder b = new AlertDialog.Builder(this, in createAlertDialog()
|
/frameworks/support/samples/SupportWearDemos/src/main/java/com/example/android/support/wear/app/ |
D | AlertDialogDemo.java | 26 import androidx.appcompat.app.AlertDialog; 39 AlertDialog v7Dialog = createV7Dialog(); in onCreate() 40 android.app.AlertDialog frameworkDialog = createFrameworkDialog(); in onCreate() 59 private AlertDialog createV7Dialog() { in createV7Dialog() 61 return new AlertDialog.Builder(this) in createV7Dialog() 70 private android.app.AlertDialog createFrameworkDialog() { in createFrameworkDialog() 71 return new android.app.AlertDialog.Builder(this) in createFrameworkDialog()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
D | ZenDurationDialogTest.java | 29 import android.app.AlertDialog; 120 AlertDialog dialog = (AlertDialog) mController.createDialog(); in testChooseAlwaysPromptSetting() 134 AlertDialog dialog = (AlertDialog) mController.createDialog(); in testChooseForeverSetting() 148 AlertDialog dialog = (AlertDialog) mController.createDialog(); in testChooseTimeSetting() 163 AlertDialog dialog = (AlertDialog) mController.createDialog(); in testGetTimeFromBucket()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | DialogListActivity.java | 19 import android.support.v7.app.AlertDialog; 33 AlertDialog.Builder builder = new AlertDialog.Builder(this); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | DeprecatedTargetSdkVersionDialog.java | 22 import android.app.AlertDialog; 40 private final AlertDialog mDialog; 51 final AlertDialog.Builder builder = new AlertDialog.Builder(context) in DeprecatedTargetSdkVersionDialog()
|
D | UnsupportedCompileSdkDialog.java | 19 import android.app.AlertDialog; 32 private final AlertDialog mDialog; 44 final AlertDialog.Builder builder = new AlertDialog.Builder(context) in UnsupportedCompileSdkDialog()
|
D | UnsupportedDisplaySizeDialog.java | 21 import android.app.AlertDialog; 30 private final AlertDialog mDialog; 42 mDialog = new AlertDialog.Builder(context) in UnsupportedDisplaySizeDialog()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | IPSettings.java | 20 import android.app.AlertDialog; 37 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateDialog()
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BlasSettings.java | 20 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/ |
D | IPSettings.java | 20 import android.app.AlertDialog; 37 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateDialog()
|
/frameworks/ml/nn/runtime/test/benchmark/src/com/example/android/nn/benchmark/ |
D | NNSettings.java | 20 import android.app.AlertDialog; 37 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateDialog()
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 19 import android.app.AlertDialog; 113 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callIsAppInactive() 140 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callSetAppLimit() 174 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in showInactive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialog.java | 19 import android.app.AlertDialog; 38 public class SystemUIDialog extends AlertDialog { 96 public static AlertDialog applyFlags(AlertDialog dialog) { in applyFlags()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardEsimArea.java | 19 import android.app.AlertDialog; 58 AlertDialog.Builder builder = 59 new AlertDialog.Builder(mContext) 64 AlertDialog alertDialog = builder.create();
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
D | VersionDialog.java | 20 import android.app.AlertDialog; 49 AlertDialog.Builder builder = new AlertDialog.Builder(activity); in onCreateDialog()
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
D | MenuDialogHelper.java | 28 import androidx.appcompat.app.AlertDialog; 38 private AlertDialog mDialog; 56 final AlertDialog.Builder builder = new AlertDialog.Builder(menu.getContext()); in show()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuDialogHelper.java | 19 import android.app.AlertDialog; 35 private AlertDialog mDialog; 53 final AlertDialog.Builder builder = new AlertDialog.Builder(menu.getContext()); in show()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | DumpHeapActivity.java | 21 import android.app.AlertDialog; 53 AlertDialog mDialog; 84 AlertDialog.Builder b = new AlertDialog.Builder(this, in onCreate()
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
D | AlertDialog.java | 73 public class AlertDialog extends AppCompatDialog implements DialogInterface { class 87 protected AlertDialog(@NonNull Context context) { in AlertDialog() method in AlertDialog 97 protected AlertDialog(@NonNull Context context, @StyleRes int themeResId) { in AlertDialog() method in AlertDialog 102 protected AlertDialog(@NonNull Context context, boolean cancelable, in AlertDialog() method in AlertDialog 978 public AlertDialog create() { in create() 981 final AlertDialog dialog = new AlertDialog(P.mContext, mTheme); in create() 1005 public AlertDialog show() { in show() 1006 final AlertDialog dialog = create(); in show()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodPreference.java | 21 import android.app.AlertDialog; 78 private AlertDialog mDialog = null; 246 final AlertDialog.Builder builder = new AlertDialog.Builder(context); in showSecurityWarnDialog() 281 final AlertDialog.Builder builder = new AlertDialog.Builder(context); in showDirectBootWarnDialog()
|
/frameworks/base/core/java/android/webkit/ |
D | Plugin.java | 19 import android.app.AlertDialog; 196 private AlertDialog mDialog; 202 mDialog = new AlertDialog.Builder(context) in handleClickEvent()
|
/frameworks/base/core/java/android/app/ |
D | AlertDialog.java | 71 public class AlertDialog extends Dialog implements DialogInterface { class 141 protected AlertDialog(Context context) { in AlertDialog() method in AlertDialog 163 protected AlertDialog(Context context, boolean cancelable, OnCancelListener cancelListener) { in AlertDialog() method in AlertDialog 196 protected AlertDialog(Context context, @StyleRes int themeResId) { in AlertDialog() method in AlertDialog 200 AlertDialog(Context context, @StyleRes int themeResId, boolean createContextThemeWrapper) { in AlertDialog() method in AlertDialog 1097 public AlertDialog create() { in create() 1099 final AlertDialog dialog = new AlertDialog(P.mContext, 0, false); in create() 1123 public AlertDialog show() { in show() 1124 final AlertDialog dialog = create(); in show()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/ |
D | NetworkOverLimitActivity.java | 23 import android.app.AlertDialog; 51 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in onCreate()
|