/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | ProgressBar3.java | 67 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 …]
|
D | DateWidgets1.java | 105 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/ |
D | AlertDialogSamples.java | 90 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 …]
|
D | SecureDialogActivity.java | 81 AlertDialog dialog = new AlertDialog.Builder(this) in onClick() local 88 dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, in onClick() 92 dialog.show(); in onClick()
|
D | FragmentAlertDialog.java | 93 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog() 100 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
|
D | PresentationActivity.java | 289 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;
|
D | PresentationWithMediaRouterActivity.java | 244 public void onDismiss(DialogInterface dialog) { 245 if (dialog == mPresentation) {
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
D | AuthenticatorActivity.java | 122 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/ |
D | SmsReceivedDialog.java | 90 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/ |
D | DumpActivity.java | 622 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/ |
D | ConfirmationDialogFragment.java | 56 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 62 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
|
D | MessageDialogFragment.java | 50 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
|
/development/samples/SipDemo/src/com/example/android/sip/ |
D | WalkieTalkieActivity.java | 318 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/ |
D | GestureBuilderActivity.java | 233 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/ |
D | WearableMainActivity.java | 176 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/ |
D | MainActivity.java | 84 AlertDialog dialog = builder.create(); in onCreate() local 85 dialog.show(); in onCreate()
|
/development/apps/PushApiTestAppTwo/src/com/example/android/pushapithirdpartytwo/ |
D | MainActivity.java | 84 AlertDialog dialog = builder.create(); in onCreate() local 85 dialog.show(); in onCreate()
|
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/ |
D | MainActivity.java | 272 public void onDismiss(DialogInterface dialog) { 273 if (dialog == mPresentation) {
|
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
D | Camera2VideoFragment.java | 711 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/ |
D | DirectorySelectionFragment.java | 111 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/ |
D | Camera2BasicFragment.java | 979 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/ |
D | BaseActivity.java | 198 AlertDialog dialog = new AlertDialog.Builder(this) in askToLaunchTasks() local 209 dialog.show(); in askToLaunchTasks()
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | SoftKeyboard.java | 672 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/ |
D | MainActivity.java | 111 AlertDialog dialog = builder.create(); in onCreate() local 112 dialog.show(); in onCreate()
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | Main.java | 133 .setPositiveButton("Add", (dialog, whichButton) -> { in addWebSite() 139 .setOnCancelListener((dialog) -> { in addWebSite() argument
|