/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupNameDialogFragment.java | 19 import android.app.Dialog; 44 public Dialog onCreateDialog(Bundle savedInstanceState) { 64 final AlertDialog dialog = builder.create(); local 66 dialog.setOnShowListener(new OnShowListener() { 69 updateOkButtonState(dialog, editText); 83 updateOkButtonState(dialog, editText); 86 dialog.getWindow().setSoftInputMode( 88 return dialog; 91 /* package */ void updateOkButtonState(AlertDialog dialog, EditText editText) { 92 final Button okButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
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...] |
/external/chromium_org/components/web_modal/ |
web_contents_modal_dialog_manager.cc | 33 NativeWebContentsModalDialog dialog) { 34 child_dialogs_.push_back(DialogState(dialog)); 36 native_manager_->ManageDialog(dialog); 40 native_manager_->ShowDialog(dialog); 51 native_manager_->FocusDialog(child_dialogs_.front().dialog); 55 NativeWebContentsModalDialog dialog, 57 WebContentsModalDialogList::iterator loc = FindDialogState(dialog); 67 NativeWebContentsModalDialog dialog) { 68 WebContentsModalDialogList::iterator i = FindDialogState(dialog); 70 // The Views tab contents modal dialog calls WillClose twice. Ignore th [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
DialogFilter.java | 79 * to the application. This class is essentially a Dialog filter. It is a helper for the UAC Core. 81 * number, Dialog not found, etc. Note that this is not part of the JAIN-SIP spec (it does not 255 * Process a request. Check for various conditions in the dialog that can result in the 295 SIPDialog dialog = sipStack.getDialog(dialogId); local 297 * Check if we got this request on the contact address of the dialog If not the dialog 299 * assigned to the dialog. Forgive the sins of B2BUA's that like to record route ACK's 301 if (dialog != null && sipProvider != dialog.getSipProvider()) { 302 Contact contact = dialog.getMyContactHeader() [all...] |
/external/chromium_org/chrome/browser/printing/ |
print_preview_dialog_controller.h | 26 // the initiator, and the constrained dialog that shows the print preview is the 27 // print preview dialog. 28 // This class manages print preview dialog creation and destruction, and keeps 43 // Get/Create the print preview dialog for |initiator|. 48 // Returns the preview dialog for |contents|. 49 // Returns |contents| if |contents| is a preview dialog. 50 // Returns NULL if no preview dialog exists for |contents|. 63 // Returns true if |contents| is a print preview dialog. 79 // 1:1 relationship between a print preview dialog and its initiator tab. 80 // Key: Print preview dialog [all...] |
print_preview_dialog_controller_unittest.cc | 35 // Create/Get a preview dialog for initiator. 50 // Get the preview dialog for initiator. 55 // New print preview dialog is a constrained window, so the number of tabs is 60 // Get the print preview dialog for the same initiator. 64 // Preview dialog already exists. Tab count remains the same. 67 // 1:1 relationship between initiator and preview dialog. 72 // initiators. If a preview dialog already exists for an initiator, that 96 // Create preview dialog for |web_contents_1| 104 // Create preview dialog for |web_contents_2| 126 // Since |preview_dialog_2_index| was the most recently created dialog, it [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
home_page_overlay.html | 1 <div id="home-page-overlay" class="page" role="dialog" hidden> 9 metric="Options_Homepage_IsNewTabPage" dialog-pref> 14 pref="homepage_is_newtabpage" value="true" dialog-pref> 23 metric="Options_Homepage_IsNewTabPage" dialog-pref> 29 pref="homepage_is_newtabpage" value="false" dialog-pref> 34 dialog-pref> 38 dialog-pref>
|
/frameworks/base/docs/html/guide/topics/ui/ |
dialogs.jd | 12 <li><a href="#DialogFragment">Creating a Dialog Fragment</a></li> 13 <li><a href="#AlertDialog">Building an Alert Dialog</a> 20 <li><a href="#PassingEvents">Passing Events Back to the Dialog's Host</a></li> 21 <li><a href="#ShowingADialog">Showing a Dialog</a></li> 22 <li><a href="#FullscreenDialog">Showing a Dialog Fullscreen or as an Embedded Fragment</a> 24 <li><a href="#ActivityAsDialog">Showing an activity as a dialog on large screens</a></li> 27 <li><a href="#DismissingADialog">Dismissing a Dialog</a></li> 44 <p>A dialog is a small window that prompts the user to 45 make a decision or enter additional information. A dialog does not fill the screen and is 49 <p><strong>Dialog Design</strong></p [all...] |
/external/chromium_org/chrome/browser/ui/views/autofill/ |
autofill_dialog_views_unittest.cc | 30 // A views implementation of the Autofill dialog with slightly more testability. 89 TestAutofillDialogViews* dialog() { return dialog_.get(); } function in class:autofill::AutofillDialogViewsTest 93 dialog()->GetLoadingShieldForTesting()->SetFocusable(true); 96 dialog()->GetNotificationAreaForTesting()->SetFocusable(true); 97 dialog()->GetScrollableAreaForTesting()->SetFocusable(true); 101 // Fake dialog delegate and host to isolate test behavior. 112 views::FocusManager* focus_manager = dialog()->GetWidget()->GetFocusManager(); 121 views::View* loading_shield = dialog()->GetLoadingShieldForTesting(); 122 views::View* sign_in_web_view = dialog()->GetSignInWebViewForTesting(); 123 views::View* notification_area = dialog()->GetNotificationAreaForTesting() [all...] |
/external/chromium/chrome/browser/ui/gtk/extensions/ |
extension_uninstall_dialog_gtk.cc | 29 void OnResponse(GtkWidget* dialog, int response_id, 36 gtk_widget_destroy(dialog); 43 // Build the dialog. 44 GtkWidget* dialog = gtk_dialog_new_with_buttons( local 53 gtk_dialog_set_has_separator(GTK_DIALOG(dialog), FALSE); 56 GtkWidget* content_area = GTK_DIALOG(dialog)->vbox; 78 g_signal_connect(dialog, "response", G_CALLBACK(OnResponse), delegate); 79 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); 80 gtk_widget_show_all(dialog);
|
/external/chromium_org/chrome/browser/ui/gtk/download/ |
download_in_progress_dialog_gtk.cc | 71 // This dialog should have been created within the same thread invocation 81 GtkWidget* dialog = gtk_message_dialog_new( local 88 gtk_dialog_add_button(GTK_DIALOG(dialog), 90 gtk_dialog_add_button(GTK_DIALOG(dialog), 93 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), 97 g_signal_connect(dialog, "response", G_CALLBACK(OnResponseThunk), this); 99 gtk_widget_show_all(dialog); 105 void DownloadInProgressDialogGtk::OnResponse(GtkWidget* dialog, 107 gtk_widget_destroy(dialog);
|
/external/chromium_org/chrome/browser/ui/views/ |
select_file_dialog_extension.cc | 55 scoped_refptr<SelectFileDialogExtension> dialog); 73 scoped_refptr<SelectFileDialogExtension> dialog) { 74 DCHECK(dialog.get()); 76 map_.insert(std::make_pair(id, dialog)); 78 DLOG(WARNING) << "Duplicate pending dialog " << id; 145 ExtensionDialog* /*dialog*/) { 148 // Release our reference to the underlying dialog to allow it to close. 156 ExtensionDialog* dialog) { 159 std::string extension_id = dialog->host()->extension()->id(); 179 dialog->GetWidget()->Close() 187 scoped_refptr<SelectFileDialogExtension> dialog = local 201 scoped_refptr<SelectFileDialogExtension> dialog = local 212 scoped_refptr<SelectFileDialogExtension> dialog = local 372 ExtensionDialog* dialog = ExtensionDialog::Show(file_manager_url, local [all...] |
hung_renderer_view_win.h | 12 // renderer dialog. 27 // Handlers for the hang monitor dialog displayed in Windows 8 metro. 31 // Resets Windows 8 metro specific state like whether the dialog was 37 // Set to true if the metro version of the hang dialog is displayed. 38 // Helps ensure that only one instance of the dialog is displayed at any
|
/packages/apps/Settings/src/com/android/settings/ |
MonitoringCertInfoActivity.java | 21 import android.app.Dialog; 33 * Activity that shows a dialog explaining that a CA cert is allowing someone to monitor network 67 final Dialog dialog = builder.create(); local 68 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 73 dialog.setOnCancelListener(new DialogInterface.OnCancelListener() { 74 @Override public void onCancel(DialogInterface dialog) { 79 dialog.show(); 83 public void onClick(DialogInterface dialog, int which) {
|
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
DialogBuilder.java | 19 import android.app.Dialog; 24 * a Dialog. Since a Dialog shows in a new window, implementation 26 * the Dialog for testing. 30 Dialog buildDialog(View view);
|
/external/chromium/chrome/browser/chromeos/ |
sim_dialog_delegate.h | 13 // SIM unlock dialog displayed in cases when SIM card has to be unlocked. 16 // Type of the SIM dialog that is launched. 18 SIM_DIALOG_UNLOCK = 0, // General unlock flow dialog (PIN/PUK). 19 SIM_DIALOG_CHANGE_PIN = 1, // Change PIN dialog. 26 // Shows the SIM unlock dialog box with one of the specified modes.
|
/external/chromium/chrome/browser/ui/views/ |
keyboard_overlay_dialog_view.h | 18 // A customized dialog view for the keyboard overlay. 26 // Initializes the contents of the dialog (the DOMView and the callbacks). 36 // Returns true if |accelerator| is an accelerator for closing the dialog. 39 // Points to the view from which this dialog is created. 42 // Contains accelerators for closing this dialog.
|
/external/chromium_org/chrome/browser/download/ |
download_test_file_activity_observer.h | 12 // Observes and overrides file chooser dialog and open activity for a profile. 24 // Sets whether the file chooser dialog is enabled. If |enable| is false, any 25 // attempt to display a file chooser dialog will cause the download to be 26 // canceled. Otherwise, attempting to display a file chooser dialog will 30 // Returns true if a file chooser dialog was displayed since the last time
|
/external/chromium_org/chrome/browser/ui/ |
chrome_style.h | 21 SkColor GetBackgroundColor(); // Dialog background color. 22 SkColor GetLinkColor(); // Dialog link color. 28 const int kBorderRadius = 2; // Border radius for dialog corners. 31 // Font style for dialog text. 34 // Font style for dialog title.
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
profile_signin_confirmation_dialog_cocoa.h | 31 // A constrained dialog that confirms Chrome sign-in for enterprise users. 34 // Creates and shows the dialog, which owns itself. 44 // Closes the dialog, which deletes itself. 51 // Controller for the dialog view. 54 // The constrained window that contains the dialog view.
|
tab_modal_confirm_dialog_mac.h | 23 // Displays a tab-modal dialog, i.e. a dialog that will block the current page 25 // To display the dialog, allocate this object on the heap. It will open the 26 // dialog from its constructor and then delete itself when the user dismisses 27 // the dialog.
|
/external/chromium_org/chrome/browser/ui/gtk/ |
tab_modal_confirm_dialog_gtk.h | 22 // Displays a tab-modal dialog, i.e. a dialog that will block the current page 24 // To display the dialog, allocate this object on the heap. It will open the 25 // dialog from its constructor and then delete itself when the user dismisses 26 // the 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...] |
gnome-ssh-askpass1.c | 73 GtkWidget *dialog, *entry, *label; local 78 dialog = gnome_dialog_new("OpenSSH", GNOME_STOCK_BUTTON_OK, 85 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), 90 gtk_box_pack_start(GTK_BOX(GNOME_DIALOG(dialog)->vbox), entry, FALSE, 96 gtk_object_set(GTK_OBJECT(dialog), "type", GTK_WINDOW_POPUP, NULL); 97 gnome_dialog_set_default(GNOME_DIALOG(dialog), 0); 98 gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); 99 gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, TRUE); 100 gnome_dialog_close_hides(GNOME_DIALOG(dialog), TRUE); 101 gtk_container_set_border_width(GTK_CONTAINER(GNOME_DIALOG(dialog)->vbox) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SecureDialogActivity.java | 29 * <h3>Secure Dialog Activity</h3> 32 * This activity demonstrates how to create a dialog whose window is backed by 70 // Handle click events on the button to show the dialog. 76 * Called when the button to show the dialog is clicked. 80 // Create a dialog. 81 AlertDialog dialog = new AlertDialog.Builder(this) local 86 // Make the dialog secure. This must be done at the time the dialog is 87 // created. It cannot be changed after the dialog has been shown. 88 dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE [all...] |