Home
last modified time | relevance | path

Searched refs:dialog (Results 1 – 25 of 40) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/view/
DProgressBar3.java67 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local
68 dialog.setTitle("Indeterminate"); in onCreateDialog()
69 dialog.setMessage("Please wait while loading..."); in onCreateDialog()
70 dialog.setIndeterminate(true); in onCreateDialog()
71 dialog.setCancelable(true); in onCreateDialog()
72 return dialog; in onCreateDialog()
75 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local
76 dialog.setMessage("Please wait while loading..."); in onCreateDialog()
77 dialog.setIndeterminate(true); in onCreateDialog()
78 dialog.setCancelable(true); in onCreateDialog()
[all …]
DDateWidgets1.java105 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument
109 ((TimePickerDialog) dialog).updateTime(mHour, mMinute); in onPrepareDialog()
112 ((DatePickerDialog) dialog).updateDate(mYear, mMonth, mDay); in onPrepareDialog()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DAlertDialogSamples.java90 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
96 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
107 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
111 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
120 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
124 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
132 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
136 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
144 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
148 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
[all …]
DSecureDialogActivity.java81 AlertDialog dialog = new AlertDialog.Builder(this) in onClick() local
88 dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onClick()
92 dialog.show(); in onClick()
DFragmentAlertDialog.java93 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
100 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
DPresentationActivity.java289 public void onClick(DialogInterface dialog, int which) { in onClick()
290 dialog.dismiss(); in onClick()
353 public void onDismiss(DialogInterface dialog) {
354 DemoPresentation presentation = (DemoPresentation)dialog;
DPresentationWithMediaRouterActivity.java244 public void onDismiss(DialogInterface dialog) {
245 if (dialog == mPresentation) {
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java122 final ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local
123 dialog.setMessage(getText(R.string.ui_activity_authenticating)); in onCreateDialog()
124 dialog.setIndeterminate(true); in onCreateDialog()
125 dialog.setCancelable(true); in onCreateDialog()
126 dialog.setOnCancelListener(new DialogInterface.OnCancelListener() { in onCreateDialog()
127 public void onCancel(DialogInterface dialog) { in onCreateDialog()
137 mProgressDialog = dialog; in onCreateDialog()
138 return dialog; in onCreateDialog()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsReceivedDialog.java90 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
97 dialog.dismiss(); in onCreateDialog()
102 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
103 dialog.dismiss(); in onCreateDialog()
108 public void onCancel(DialogInterface dialog) { in onCreateDialog()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/
DDumpActivity.java622 builderSingle.setNegativeButton("cancel", (dialog, which) -> { in showRegexpPicker()
623 dialog.dismiss(); in showRegexpPicker()
626 builderSingle.setAdapter(arrayAdapter, (dialog, which) -> { in showRegexpPicker()
632 dialog.dismiss(); in showRegexpPicker()
649 builderSingle.setNegativeButton("cancel", (dialog, which) -> { in showMultiPicker()
650 dialog.dismiss(); in showMultiPicker()
653 builderSingle.setAdapter(arrayAdapter, (dialog, which) -> { in showMultiPicker()
668 dialog.dismiss(); in showMultiPicker()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DConfirmationDialogFragment.java56 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
62 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
DMessageDialogFragment.java50 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
/development/samples/SipDemo/src/com/example/android/sip/
DWalkieTalkieActivity.java318 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
328 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
338 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
344 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DGestureBuilderActivity.java233 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument
234 super.onPrepareDialog(id, dialog); in onPrepareDialog()
250 public void onCancel(DialogInterface dialog) { in createRenameDialog()
256 public void onClick(DialogInterface dialog, int which) { in createRenameDialog() argument
263 public void onClick(DialogInterface dialog, int which) { in createRenameDialog() argument
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java176 public void onClick(DialogInterface dialog, int id) { in onCreate()
177 dialog.cancel(); in onCreate()
182 public void onDismiss(DialogInterface dialog) { in onCreate()
183 dialog.cancel(); in onCreate()
/development/apps/PushApiTestAppOne/src/com/example/android/pushapithirdpartyone/
DMainActivity.java84 AlertDialog dialog = builder.create(); in onCreate() local
85 dialog.show(); in onCreate()
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/
DMainActivity.java84 AlertDialog dialog = builder.create(); in onCreate() local
85 dialog.show(); in onCreate()
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
DMainActivity.java272 public void onDismiss(DialogInterface dialog) {
273 if (dialog == mPresentation) {
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java711 ErrorDialog dialog = new ErrorDialog(); in newInstance() local
714 dialog.setArguments(args); in newInstance()
715 return dialog; in newInstance()
743 public void onClick(DialogInterface dialog, int which) {
751 public void onClick(DialogInterface dialog, int which) {
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionFragment.java111 public void onClick(DialogInterface dialog, int whichButton) { in onViewCreated()
119 public void onClick(DialogInterface dialog, int whichButton) { in onViewCreated()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java979 ErrorDialog dialog = new ErrorDialog(); in newInstance() local
982 dialog.setArguments(args); in newInstance()
983 return dialog; in newInstance()
1014 public void onClick(DialogInterface dialog, int which) {
1023 public void onClick(DialogInterface dialog, int which) {
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DBaseActivity.java198 AlertDialog dialog = new AlertDialog.Builder(this) in askToLaunchTasks() local
209 dialog.show(); in askToLaunchTasks()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java672 final Dialog dialog = getWindow(); in getToken() local
673 if (dialog == null) { in getToken()
676 final Window window = dialog.getWindow(); in getToken()
/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMainActivity.java111 AlertDialog dialog = builder.create(); in onCreate() local
112 dialog.show(); in onCreate()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DMain.java133 .setPositiveButton("Add", (dialog, whichButton) -> { in addWebSite()
139 .setOnCancelListener((dialog) -> { in addWebSite() argument

12