/external/chromium_org/third_party/WebKit/Source/core/page/ |
WindowFeatures.h | 52 , dialog(false) 75 bool dialog; member in struct:WebCore::WindowFeatures
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebWindowFeatures.h | 62 bool dialog; member in struct:WebKit::WebWindowFeatures 77 , dialog(false) 99 , dialog(f.dialog) 122 result.dialog = dialog;
|
/external/chromium_org/ui/shell_dialogs/ |
select_file_dialog.cc | 31 // Optional dialog factory. Leaked. 76 SelectFileDialog* dialog = dialog_factory_->Create(listener, policy); local 77 if (dialog) 78 return dialog; 126 // Call the platform specific implementation of the file selection dialog.
|
/external/openssh/contrib/ |
gnome-ssh-askpass2.c | 80 ok_dialog(GtkWidget *entry, gpointer dialog) 82 g_return_if_fail(GTK_IS_DIALOG(dialog)); 83 gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK); 92 GtkWidget *dialog, *entry; local 99 dialog = gtk_message_dialog_new(NULL, 0, 106 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), entry, FALSE, 112 gtk_window_set_title(GTK_WINDOW(dialog), "OpenSSH"); 113 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); 114 gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE); 115 gtk_label_set_line_wrap(GTK_LABEL((GTK_MESSAGE_DIALOG(dialog))->label) 121 G_CALLBACK(ok_dialog), dialog); local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
ConversationUtils.java | 45 ArrayList<Conversation> dialog = null; local 53 if (dialog == null) { 54 dialog = new ArrayList<Conversation>(); 58 dialog.add(currentConversation); 86 return dialog;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AlertDialogTest.java | 53 AlertDialog dialog = new AlertDialog.Builder(new ContextWrapper(null)).show(); local 54 assertThat(ShadowAlertDialog.getLatestAlertDialog(), sameInstance(dialog)); 61 AlertDialog dialog = builder.create(); local 62 dialog.show(); 63 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_POSITIVE), not(nullValue())); 64 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_NEGATIVE), nullValue()); 71 AlertDialog dialog = builder.create(); local 72 dialog.show(); 73 Robolectric.clickOn(dialog.getButton(AlertDialog.BUTTON_POSITIVE)); 185 public void onClick(DialogInterface dialog, int which) 351 AlertDialog dialog = new AlertDialog.Builder(context).create(); local 365 AlertDialog dialog = new AlertDialog(Robolectric.application) { local 376 private DialogInterface dialog; field in class:AlertDialogTest.TestDialogOnClickListener [all...] |
ProgressDialogTest.java | 29 private ProgressDialog dialog; field in class:ProgressDialogTest 34 dialog = new ProgressDialog(null); 35 shadow = Robolectric.shadowOf(dialog); 48 dialog.setMessage(message); 54 assertThat(dialog.isIndeterminate(), equalTo(false)); 56 dialog.setIndeterminate(true); 57 assertThat(dialog.isIndeterminate(), equalTo(true)); 59 dialog.setIndeterminate(false); 60 assertThat(dialog.isIndeterminate(), equalTo(false)); 113 public void onCancel(DialogInterface dialog) { [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventColorPickerDialog.java | 19 import android.app.Dialog; 27 * A dialog which displays event colors, with an additional button for the calendar color. 37 // Empty constructor required for dialog fragment. 68 public Dialog onCreateDialog(Bundle savedInstanceState) { 69 Dialog dialog = super.onCreateDialog(savedInstanceState); local 75 public void onClick(DialogInterface dialog, int which) { 80 return dialog;
|
/packages/apps/Mms/src/com/android/mms/ui/ |
AsyncDialog.java | 28 * than half a second, a progress modal dialog is displayed. 49 * @param dialogStringId the id of the string to be shown in the dialog 70 // clear the dialog so any pending dialog.dismiss() call can be avoided 88 * Creates the Task with the specified string id to be shown in the dialog 93 // lazy initialization of progress dialog for loading attachments 101 * Initializes the progress dialog with its intended settings. 104 ProgressDialog dialog = new ProgressDialog(mActivity); local 105 dialog.setIndeterminate(true); 106 dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER) [all...] |
NumberPickerDialog.java | 31 * A dialog that prompts the user for the message deletion limits. 67 * @param theme the theme to apply to this dialog 102 public void onClick(DialogInterface dialog, int which) { 106 dialog.dismiss();
|
WarnOfStorageLimitsActivity.java | 63 // Set up the "dialog" 75 public void onClick(DialogInterface dialog, int which) { 82 dialog.dismiss();
|
/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) {
|
/packages/services/Telephony/src/com/android/phone/ |
EditPinPreference.java | 34 * for the dialog. 59 * Overridden to setup the correct dialog layout, as well as setting up 64 // set the dialog layout 67 View dialog = super.onCreateDialogView(); local 72 return dialog; 103 * Externally visible method to bring up the dialog to 104 * for multi-step / multi-dialog requests (like changing
|
ErrorDialogActivity.java | 27 * Used to display an error dialog from within the Telephony service when an outgoing call fails 62 public void onClick(DialogInterface dialog, int which) { 68 public void onCancel(DialogInterface dialog) { 86 public void onClick(DialogInterface dialog, int which) { 91 public void onClick(DialogInterface dialog, int which) { 92 addVoiceMailNumberPanel(dialog); 96 public void onCancel(DialogInterface dialog) { 102 private void addVoiceMailNumberPanel(DialogInterface dialog) { 103 if (dialog != null) { 104 dialog.dismiss() [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
AuthenticatorActivity.java | 26 import android.app.Dialog; 65 /** Keep track of the progress dialog so we can dismiss it */ 121 protected Dialog onCreateDialog(int id, Bundle args) { 122 final ProgressDialog dialog = new ProgressDialog(this); local 123 dialog.setMessage(getText(R.string.ui_activity_authenticating)); 124 dialog.setIndeterminate(true); 125 dialog.setCancelable(true); 126 dialog.setOnCancelListener(new DialogInterface.OnCancelListener() { 127 public void onCancel(DialogInterface dialog) { 134 // We save off the progress dialog in a field so that we can dismis [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
EventScanner.java | 233 SIPDialog dialog = (SIPDialog) eventWrapper.transaction local 235 if (dialog != null) 236 dialog.requestConsumed(); 295 * If the response for a request within a dialog is a 481 297 * Timeout), the UAC SHOULD terminate the dialog. 305 "Removing dialog on 408 or 481 response"); 318 * field, and each represents a distinct dialog, with a 319 * distinct dialog identifier. 322 * does not care about the dialog and gc the dialog afte [all...] |
/frameworks/base/core/java/android/app/ |
AlertDialog.java | 39 * A subclass of Dialog that can display one, two or three buttons. If you only want to 40 * display a String in this dialog box, use the setMessage() method. If you 52 * any views in the dialog return true from {@link View#onCheckIsTextEditor() 53 * View.onCheckIsTextEditor()}. Generally you want this set for a Dialog 64 public class AlertDialog extends Dialog implements DialogInterface { 69 * the traditional (pre-Holo) alert dialog theme. 105 * to get the dialog's style (such as {@link android.R.attr#alertDialogTheme} 150 * Gets one of the buttons used in the dialog. 152 * If a button does not exist in the dialog, null will be returned. 157 * @return The button from the dialog, or null if a button does not exist 931 final AlertDialog dialog = new AlertDialog(P.mContext, mTheme, false); local 950 AlertDialog dialog = create(); local [all...] |
ProgressDialog.java | 38 * <p>A dialog showing a progress indicator and an optional text message or view. 40 * <p>The dialog can be made cancelable on back key press.</p> 110 ProgressDialog dialog = new ProgressDialog(context); local 111 dialog.setTitle(title); 112 dialog.setMessage(message); 113 dialog.setIndeterminate(indeterminate); 114 dialog.setCancelable(cancelable); 115 dialog.setOnCancelListener(cancelListener); 116 dialog.show(); 117 return dialog; [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
GeneralPreferencesFragment.java | 126 final AlertDialog dialog = new AlertDialog.Builder(getActivity()) local 130 public void onClick(DialogInterface dialog, int which) { 140 public void onClick(DialogInterface dialog, int which) { 141 dialog.cancel(); 150 dialog.getButton(AlertDialog.BUTTON_POSITIVE).performClick(); 156 dialog.getWindow().setSoftInputMode( 158 dialog.show();
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/ |
IndeterminateProgressDialog.java | 17 package com.android.contacts.common.dialog; 19 import android.app.Dialog; 28 * Indeterminate progress dialog wrapped up in a DialogFragment to work even when the device 30 * dialog. There is an additional parameter of the minimum amount of time to display the progress 31 * dialog even after a call to dismiss the dialog {@link #dismiss()} or 34 * To create and show the progress dialog, use 38 * To dismiss the dialog, use {@link #dismiss()} or {@link #dismissAllowingStateLoss()} on the 52 private Dialog mOldDialog; 64 * Creates and shows an indeterminate progress dialog. Once the progress dialog is shown, i 90 final ProgressDialog dialog = new ProgressDialog(getActivity()); local [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
FolderPickerActivity.java | 91 // If we've got them, just start up the picker dialog 156 /// Show "Waiting for folders..." dialog 176 FolderPickerDialog dialog = local 178 dialog.show();
|
/packages/apps/Settings/src/com/android/settings/tts/ |
TtsEnginePreference.java | 209 AlertDialog dialog = builder.create(); local 210 dialog.show(); 226 public void onClick(DialogInterface dialog, int which) { 231 public void onClick(DialogInterface dialog, int which) {
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
TrampolineActivity.java | 21 import android.app.Dialog; 117 final PausedDialogFragment dialog = new PausedDialogFragment(); local 120 dialog.setArguments(args); 121 dialog.show(fm, TAG_PAUSED); 125 public Dialog onCreateDialog(Bundle savedInstanceState) { 144 public void onClick(DialogInterface dialog, int which) { 153 public void onDismiss(DialogInterface dialog) { 154 super.onDismiss(dialog); 161 final FailedDialogFragment dialog = new FailedDialogFragment(); local 165 dialog.setArguments(args) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
ConvertSwitchQuickFixProcessor.java | 189 ConvertSwitchDialog dialog = new ConvertSwitchDialog(shell, mExpression); local 190 dialog.open();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ |
Draw9PatchEditor.java | 211 SaveAsDialog dialog = new SaveAsDialog(AdtPlugin.getDisplay().getActiveShell()); local 215 dialog.setOriginalFile(dest); 217 dialog.create(); 219 if (dialog.open() == Window.CANCEL) { 223 return dialog.getResult();
|