/packages/apps/Calendar/src/com/android/calendar/ |
DeleteEventHelper.java | 24 import android.app.Dialog; 44 * deletion, then this pops up a confirmation dialog. If the user confirms, 48 * If a repeating event is selected for deletion, then this pops up dialog 89 private Dialog.OnDismissListener mDismissListener; 135 public void onClick(DialogInterface dialog, int button) { 154 public void onClick(DialogInterface dialog, int button) { 171 public void onClick(DialogInterface dialog, int button) { 187 public void onClick(DialogInterface dialog, int button) { 197 * first popping up a dialog asking for confirmation (if the event is 198 * a normal event) or a dialog asking which events to delete (if th 270 AlertDialog dialog = new AlertDialog.Builder(mContext) local 323 AlertDialog dialog = new AlertDialog.Builder(mContext) local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
TimePickerCompat.java | 20 import android.app.Dialog; 62 final TimerPickerPreL dialog = new TimerPickerPreL(); local 63 dialog.initialize(new OnTimeSetListener() { 70 dialog.setTargetFragment(targetFragment, 0); 71 dialog.setThemeDark(true); 72 return dialog; 99 public Dialog onCreateDialog(Bundle savedInstanceState) { 137 * Show the time picker dialog for post-L devices. 149 // Make sure the dialog isn't already added.
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
EditQuickResponseDialog.java | 23 import android.app.Dialog; 36 * Dialog to edit the text of a given or new quick response 50 * Creates a new dialog to edit an existing QuickResponse or create a new 59 final EditQuickResponseDialog dialog = new EditQuickResponseDialog(); local 66 dialog.setArguments(args); 67 return dialog; 71 public Dialog onCreateDialog(Bundle savedInstanceState) { 109 public void onClick(DialogInterface dialog, int which) { 124 public void onClick(DialogInterface dialog, int which) {
|
CheckSettingsErrorDialogFragment.java | 20 import android.app.Dialog; 71 public Dialog onCreateDialog(Bundle savedInstanceState) { 98 public void onClick(DialogInterface dialog, int which) { 108 public void onClick(DialogInterface dialog, int which) { 109 dialog.cancel(); 119 public void onClick(DialogInterface dialog, int which) { 120 dialog.cancel(); 128 public void onCancel(DialogInterface dialog) { 129 super.onCancel(dialog);
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
DebugMmsConfigItemView.java | 112 final AlertDialog dialog = new AlertDialog.Builder(context) local 118 dialog.setOnShowListener(new OnShowListener() { 120 public void onShow(DialogInterface dialog) { 127 dialog.show(); 131 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
PrivateVolumeForget.java | 20 import android.app.Dialog; 80 final ForgetConfirmFragment dialog = new ForgetConfirmFragment(); local 81 dialog.setArguments(args); 82 dialog.setTargetFragment(parent, 0); 83 dialog.show(parent.getFragmentManager(), TAG_FORGET_CONFIRM); 87 public Dialog onCreateDialog(Bundle savedInstanceState) { 103 public void onClick(DialogInterface dialog, int which) {
|
/frameworks/base/core/java/com/android/internal/app/ |
AlertController.java | 153 public ButtonHandler(DialogInterface dialog) { 154 mDialog = new WeakReference<>(dialog); 273 * Set the view resource to display in the dialog. 282 * Set the view to display in the dialog. 291 * Set the view to display in the dialog along with the spacing around that view [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
TagVerifierActivity.java | 28 import android.app.Dialog; 65 // Arguments used for the dialog showing what was written to the tag and read from the tag. 285 public Dialog onCreateDialog(int id, Bundle args) { 317 public void onClick(DialogInterface dialog, int which) { 323 public void onCancel(DialogInterface dialog) { 340 ProgressDialog dialog = new ProgressDialog(this); 341 dialog.setMessage(getString(R.string.nfc_writing_tag)); 342 return dialog; 346 ProgressDialog dialog = new ProgressDialog(this); 347 dialog.setMessage(getString(R.string.nfc_reading_tag)) [all...] |
NfcDialogs.java | 37 public void onClick(DialogInterface dialog, int which) { 52 public void onClick(DialogInterface dialog, int which) { 77 public void onClick(DialogInterface dialog, int which) {
|
/packages/services/Telephony/src/com/android/phone/ |
NetworkSetting.java | 19 import android.app.Dialog; 66 //dialog ids 120 // Always try to dismiss the dialog because activity may 121 // be moved to background after dialog is shown. 125 // "auto select" is always trigged in foreground, so "auto select" dialog 128 Log.w(LOG_TAG, "[NetworksList] Fail to dismiss auto select dialog ", e); 223 public void onCancel(DialogInterface dialog) { 313 protected Dialog onCreateDialog(int id) { 317 ProgressDialog dialog = new ProgressDialog(this); local 320 // It would be more efficient to reuse this dialog by movin [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AlertController.java | 146 public ButtonHandler(DialogInterface dialog) { 147 mDialog = new WeakReference<>(dialog); 250 * Set the view resource to display in the dialog. 259 * Set the view to display in the dialog. 268 * Set the view to display in the dialog along with the spacing around that view 811 * @param listView The ListView that will be shown in the dialog. 822 public void apply(AlertController dialog) { 824 dialog.setCustomTitle(mCustomTitleView); 827 dialog.setTitle(mTitle); 830 dialog.setIcon(mIcon) [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
LevelTree.java | 141 if (parser.getName().equals("dialog") && currentLevel != null) { 204 DialogEntry dialog = level.dialogResources; local 205 if (dialog.character1Entry != 0) { 206 dialog.character1Conversations = ConversationUtils.loadDialog(dialog.character1Entry, context); 209 if (dialog.character2Entry != 0) { 210 dialog.character2Conversations = ConversationUtils.loadDialog(dialog.character2Entry, context);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
CreateDirectoryFragment.java | 22 import android.app.Dialog; 49 * Dialog to create a new directory. 55 final CreateDirectoryFragment dialog = new CreateDirectoryFragment(); local 56 dialog.show(fm, TAG_CREATE_DIRECTORY); 60 public Dialog onCreateDialog(Bundle savedInstanceState) { 77 public void onClick(DialogInterface dialog, int which) { 83 final AlertDialog dialog = builder.create(); local 86 Shared.ensureKeyboardPresent(context, dialog); 97 dialog.dismiss(); 105 return dialog; [all...] |
/packages/apps/Settings/src/com/android/settings/vpn2/ |
AppDialogFragment.java | 20 import android.app.Dialog; 91 public Dialog onCreateDialog(Bundle savedInstanceState) { 111 public void onClick(DialogInterface dialog, int which) { 112 onDisconnect(dialog); 121 public void onCancel(DialogInterface dialog) { 126 super.onCancel(dialog); 130 public void onForget(final DialogInterface dialog) { 137 onDisconnect(dialog); 148 private void onDisconnect(final DialogInterface dialog) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ProjectChooserHelper.java | 41 * Helper class to deal with displaying a project choosing dialog that lists only the 50 * List of current android projects. Since the dialog is modal, we'll just get 63 * </p>If false the project list is recomputed every time the dialog is opened. 110 * @param parentShell the parent {@link Shell} for the dialog. 119 * Displays a project chooser dialog which lists all available projects with the Android nature. 125 * @param message Message for the dialog box. Can be null in which case a default message 127 * @return the project chosen by the user in the dialog, or null if the dialog was canceled. 132 ElementListSelectionDialog dialog = new ElementListSelectionDialog( local 134 dialog.setTitle("Project Selection") [all...] |
/frameworks/base/core/java/android/preference/ |
DialogPreference.java | 24 import android.app.Dialog; 43 * dialog-based. These preferences will, when clicked, open a dialog showing the 65 /** The dialog, if it is showing. */ 66 private Dialog mDialog; 105 * Sets the title of the dialog. This will be shown on subsequent dialogs. 115 * @param dialogTitleResId The dialog title as a resource. 130 * Sets the message of the dialog. This will be shown on subsequent dialogs. 132 * This message forms the content View of the dialog and conflicts with 133 * list-based dialogs, for example. If setting a custom View on a dialog vi 311 final Dialog dialog = mDialog = mBuilder.create(); local [all...] |
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
AppBarLayoutUsageBase.java | 55 TextView dialog = (TextView) findViewById(R.id.textview_dialogue); local 56 if (dialog != null) { 57 dialog.setText(TextUtils.concat(Shakespeare.DIALOGUE));
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
ListPreferenceDialogFragmentCompat.java | 101 public void onClick(DialogInterface dialog, int which) { 106 * click, and dismisses the dialog. 108 ListPreferenceDialogFragmentCompat.this.onClick(dialog, 110 dialog.dismiss(); 116 * click-on-an-item dismiss the dialog instead of the user having to
|
/packages/apps/Contacts/src/com/android/contacts/ |
NonPhoneActivity.java | 24 import android.app.Dialog; 76 public Dialog onCreateDialog(Bundle savedInstanceState) { 90 public void onClick(DialogInterface dialog, int which) { 105 public void onDismiss(DialogInterface dialog) { 106 super.onDismiss(dialog);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ClearCallLogDialog.java | 21 import android.app.Dialog; 38 * Dialog that clears the call log after confirming with the user 44 /** Preferred way to show this dialog */ 46 ClearCallLogDialog dialog = new ClearCallLogDialog(); local 47 dialog.show(fragmentManager, "deleteCallLog"); 51 public Dialog onCreateDialog(Bundle savedInstanceState) { 56 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/Settings/src/com/android/settings/ |
RegulatoryInfoDisplayActivity.java | 40 * information (text will be centered in the dialog). 47 * Display the regulatory info graphic in a dialog window. 86 AlertDialog dialog = builder.show(); local 87 // we have to show the dialog first, or the setGravity() call will throw a NPE 88 TextView messageText = (TextView) dialog.findViewById(android.R.id.message); 115 public void onDismiss(DialogInterface dialog) {
|
WebViewImplementation.java | 81 public void onClick(DialogInterface dialog, int which) { 105 public void onCancel(DialogInterface dialog) { 110 public void onDismiss(DialogInterface dialog) {
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
KeyboardLayoutDialogFragment.java | 21 import android.app.Dialog; 92 public Dialog onCreateDialog(Bundle savedInstanceState) { 100 public void onClick(DialogInterface dialog, int which) { 107 public void onClick(DialogInterface dialog, int which) { 140 public void onCancel(DialogInterface dialog) { 141 super.onCancel(dialog); 177 AlertDialog dialog = (AlertDialog)getDialog(); local 178 if (dialog != null) { 179 dialog.getListView().setItemChecked(data.current, true); 210 AlertDialog dialog = (AlertDialog)getDialog() local 218 AlertDialog dialog = (AlertDialog)getDialog(); local [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiScanModeActivity.java | 21 import android.app.Dialog; 67 mDialog.show(getFragmentManager(), "dialog"); 125 public Dialog onCreateDialog(Bundle savedInstanceState) { 130 public void onClick(DialogInterface dialog, int whichButton) { 137 public void onClick(DialogInterface dialog, int whichButton) { 145 public void onCancel(DialogInterface dialog) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderSelectionDialog.java | 21 import android.app.Dialog; 93 public Dialog onCreateDialog(final Bundle savedInstanceState) { 94 final AlertDialog dialog = new AlertDialog.Builder(getActivity()) local 100 dialog.getListView().setOnItemClickListener(new AdapterView.OnItemClickListener() { 106 return dialog;
|