Home
last modified time | relevance | path

Searched refs:dialog (Results 1 – 25 of 49) 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()
DPresentationWithMediaRouterActivity.java244 public void onDismiss(DialogInterface dialog) {
245 if (dialog == mPresentation) {
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;
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DAttributionDialogActivity.java43 Dialog dialog = createDialog(msg); in onCreate() local
44 dialog.setOnDismissListener(dialog1 -> finish()); in onCreate()
45 dialog.show(); in onCreate()
54 (dialog, id) -> { in createDialog()
60 (dialog, id) -> { in createDialog()
/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/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/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/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/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/
DMainActivity.java84 AlertDialog dialog = builder.create(); in onCreate() local
85 dialog.show(); 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/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
DMainActivity.java272 public void onDismiss(DialogInterface dialog) {
273 if (dialog == mPresentation) {
/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/samples/DataWiper/src/com.example.android.datawiper/
DMyMain.java92 public void onClick(DialogInterface dialog, int which) { in onWipeData()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPurgeableBitmap.java110 public void onClick(DialogInterface dialog, int id) { in showAlertDialog()
/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/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/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMainActivity.java111 AlertDialog dialog = builder.create(); in onCreate() local
112 dialog.show(); in onCreate()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DBaseActivity.java200 AlertDialog dialog = new AlertDialog.Builder(this) in askToLaunchTasks() local
211 dialog.show(); in askToLaunchTasks()

12