Home
last modified time | relevance | path

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

12345

/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DAlertDialogTest.java101 private AlertDialog mAlertDialog;
125 private void wireBuilder(final AlertDialog.Builder builder) { in wireBuilder()
139 final AlertDialog dialog = new AlertDialog.Builder(context, R.style.Theme_TextColors) in testBuilderTheme()
153 AlertDialog.Builder builder = new AlertDialog.Builder(context) in testBasicContent()
171 mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE).getVisibility()); in testBasicContent()
173 mAlertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).getVisibility()); in testBasicContent()
175 mAlertDialog.getButton(AlertDialog.BUTTON_NEUTRAL).getVisibility()); in testBasicContent()
184 AlertDialog.Builder builder = new AlertDialog.Builder(mActivityTestRule.getActivity()) in testMessageString()
198 AlertDialog.Builder builder = new AlertDialog.Builder(mActivityTestRule.getActivity()) in testMessageStringPostCreation()
252 AlertDialog.Builder builder = new AlertDialog.Builder(context) in testCustomTitle()
[all …]
DAlertDialogCursorTest.java82 private AlertDialog mAlertDialog;
151 private void wireBuilder(final AlertDialog.Builder builder) { in wireBuilder()
202 AlertDialog.Builder builder = new AlertDialog.Builder(mActivityTestRule.getActivity()) in testSimpleItemsFromCursor()
299 AlertDialog.Builder builder = new AlertDialog.Builder(mActivityTestRule.getActivity()) in testMultiChoiceItemsFromCursor()
410 AlertDialog.Builder builder = new AlertDialog.Builder(mActivityTestRule.getActivity()) in testSingleChoiceItemsFromCursor()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/
DAlertDialogUsage.java23 import android.support.v7.app.AlertDialog;
69 AlertDialog.Builder b = new AlertDialog.Builder(this); in showSimpleDialog()
76 AlertDialog.Builder b = new AlertDialog.Builder(this); in showSimpleButtonsDialog()
85 AlertDialog.Builder b = new AlertDialog.Builder(this); in showSingleChoiceDialog()
93 AlertDialog.Builder b = new AlertDialog.Builder(this); in showMultiChoiceDialog()
DAppCompatNightModeAlertDialog.java20 import android.support.v7.app.AlertDialog;
39 AlertDialog dialog = createAlertDialog(); in setModeNightNo()
45 AlertDialog dialog = createAlertDialog(); in setModeNightYes()
51 AlertDialog dialog = createAlertDialog(); in setModeNightAuto()
56 private AlertDialog createAlertDialog() { in createAlertDialog()
57 AlertDialog.Builder b = new AlertDialog.Builder(this, in createAlertDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSystemUIDialog.java19 import android.app.AlertDialog;
28 public class SystemUIDialog extends AlertDialog {
62 public static void setShowForAllUsers(AlertDialog dialog, boolean show) { in setShowForAllUsers()
72 public static void applyFlags(AlertDialog dialog) { in applyFlags()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DDialogListActivity.java19 import android.support.v7.app.AlertDialog;
33 AlertDialog.Builder builder = new AlertDialog.Builder(this); in onCreate()
/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/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/ImageProcessing2/src/com/android/rs/image/
DIPSettings.java20 import android.app.AlertDialog;
37 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateDialog()
/frameworks/base/services/core/java/com/android/server/am/
DUnsupportedDisplaySizeDialog.java21 import android.app.AlertDialog;
30 private final AlertDialog mDialog;
42 mDialog = new AlertDialog.Builder(context) in UnsupportedDisplaySizeDialog()
/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/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java21 import android.app.AlertDialog;
77 private AlertDialog mDialog = null;
237 final AlertDialog.Builder builder = new AlertDialog.Builder(context); in showSecurityWarnDialog()
272 final AlertDialog.Builder builder = new AlertDialog.Builder(context); in showDirectBootWarnDialog()
/frameworks/base/core/java/android/app/
DAlertDialog.java71 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
1086 public AlertDialog create() { in create()
1088 final AlertDialog dialog = new AlertDialog(P.mContext, 0, false); in create()
1112 public AlertDialog show() { in show()
1113 final AlertDialog dialog = create(); in show()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageStatsActivity.java19 import android.app.AlertDialog;
93 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in callIsAppInactive()
120 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in showInactive()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java19 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/
DDumpHeapActivity.java21 import android.app.AlertDialog;
53 AlertDialog mDialog;
84 AlertDialog.Builder b = new AlertDialog.Builder(this, in onCreate()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAlertDialog.java72 public class AlertDialog extends AppCompatDialog implements DialogInterface { class
86 protected AlertDialog(@NonNull Context context) { in AlertDialog() method in AlertDialog
96 protected AlertDialog(@NonNull Context context, @StyleRes int themeResId) { in AlertDialog() method in AlertDialog
101 protected AlertDialog(@NonNull Context context, boolean cancelable, in AlertDialog() method in AlertDialog
929 public AlertDialog create() { in create()
932 final AlertDialog dialog = new AlertDialog(P.mContext, mTheme); in create()
956 public AlertDialog show() { in show()
957 final AlertDialog dialog = create(); in show()
/frameworks/base/core/java/android/webkit/
DPlugin.java21 import android.app.AlertDialog;
196 private AlertDialog mDialog;
202 mDialog = new AlertDialog.Builder(context) in handleClickEvent()
/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/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuDialogHelper.java22 import android.support.v7.app.AlertDialog;
37 private AlertDialog mDialog;
55 final AlertDialog.Builder builder = new AlertDialog.Builder(menu.getContext()); in show()
/frameworks/base/services/core/java/com/android/server/policy/
DAccessibilityShortcutController.java21 import android.app.AlertDialog;
60 private AlertDialog mAlertDialog;
204 private AlertDialog createShortcutWarningDialog(int userId) { in createShortcutWarningDialog()
214 final AlertDialog alertDialog = mFrameworkObjectProvider.getAlertDialogBuilder(mContext) in createShortcutWarningDialog()
259 public AlertDialog.Builder getAlertDialogBuilder(Context context) { in getAlertDialogBuilder()
260 return new AlertDialog.Builder(context); in getAlertDialogBuilder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/
DNetworkOverLimitActivity.java20 import android.app.AlertDialog;
53 final AlertDialog.Builder builder = new AlertDialog.Builder(this); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DProfileSelectDialog.java18 import android.app.AlertDialog;
58 AlertDialog.Builder builder = new AlertDialog.Builder(context); in onCreateDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java20 import android.app.AlertDialog;
57 private AlertDialog mDialog;
136 mDialog = new AlertDialog.Builder(this) in onCreate()
165 if (which == AlertDialog.BUTTON_POSITIVE) { in onClick()
/frameworks/opt/chips/src/com/android/ex/chips/
DCopyDialog.java3 import android.app.AlertDialog;
36 return new AlertDialog.Builder(getActivity()) in onCreateDialog()

12345