/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/ |
select_file_dialog_extension.cc | 50 void Add(int32 tab_id, scoped_refptr<SelectFileDialogExtension> dialog); 66 scoped_refptr<SelectFileDialogExtension> dialog) { 67 DCHECK(dialog.get()); 69 map_.insert(std::make_pair(tab_id, dialog)); 71 DLOG(WARNING) << "Duplicate pending dialog " << tab_id; 127 ExtensionDialog* /*dialog*/) { 130 // Release our reference to the underlying dialog to allow it to close. 138 ExtensionDialog* dialog) { 141 std::string extension_id = dialog->host()->extension()->id(); 160 dialog->GetWidget()->Close() 168 scoped_refptr<SelectFileDialogExtension> dialog = local 182 scoped_refptr<SelectFileDialogExtension> dialog = local 193 scoped_refptr<SelectFileDialogExtension> dialog = local 353 ExtensionDialog* dialog = ExtensionDialog::Show(file_browser_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
|
constrained_window_views.h | 30 // Create a widget for |dialog| that is modal to the browser window |parent|. 31 // This places the dialog appropriately if |parent| is a valid browser window. 32 views::Widget* CreateBrowserModalDialogViews(views::DialogDelegate* dialog,
|
/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 | 66 // This dialog should have been created within the same thread invocation 74 GtkWidget* dialog = gtk_message_dialog_new( local 81 gtk_dialog_add_button(GTK_DIALOG(dialog), 83 gtk_dialog_add_button(GTK_DIALOG(dialog), 86 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), 90 g_signal_connect(dialog, "response", G_CALLBACK(OnResponseThunk), this); 92 gtk_widget_show_all(dialog); 98 void DownloadInProgressDialogGtk::OnResponse(GtkWidget* dialog, 100 gtk_widget_destroy(dialog);
|
/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/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
dialog.css | 1 .dialog { 18 .dialog-contents { 24 .go-to-line-dialog input { 28 .go-to-line-dialog button { 41 .go-to-line-dialog button:active {
|
/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...] |
/external/chromium_org/chrome/browser/printing/ |
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...] |
/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...] |
/external/chromium/chrome/browser/printing/ |
print_dialog_cloud.h | 20 // dialog, it will return immediately. The dialog is handled asynchronously. 26 // Parse switches from command_line and display the print dialog as appropriate.
|
/external/chromium_org/chrome/browser/resources/file_manager/js/ |
error_dialog.js | 8 * @param {HTMLElement} parentNode Node to be parent for this dialog. 25 this.frame_.classList.add('error-dialog-frame'); 27 img.className = 'error-dialog-img';
|
/external/chromium_org/chrome/browser/ui/android/ |
javascript_app_modal_dialog_android.cc | 28 JavaScriptAppModalDialog* dialog, 31 dialog, parent_window); 36 JavaScriptAppModalDialog* dialog, 38 : dialog_(dialog), 52 // display the dialog. 143 AppModalDialog* dialog = AppModalDialogQueue::GetInstance()->active_dialog(); local 144 if (!dialog || !dialog->native_dialog()) 148 static_cast<JavascriptAppModalDialogAndroid*>(dialog->native_dialog()); 160 // In case the dialog is still displaying, tell it to close itself [all...] |
/external/chromium_org/chrome/browser/ui/gtk/importer/ |
import_lock_dialog_gtk.h | 16 // ImportLockDialogGtk presents the dialog which asks the user to shut down 30 // Import lock dialog. 33 // Called with the result of the dialog.
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/bookmarks/basic/ |
popup.js | 56 $('#deletedialog').empty().dialog({ 70 $(this).dialog('destroy'); 73 $(this).dialog('destroy'); 76 }).dialog('open'); 79 $('#adddialog').empty().append(edit).dialog({autoOpen: false, 86 $(this).dialog('destroy'); 90 $(this).dialog('destroy'); 92 }}).dialog('open'); 96 $('#editdialog').empty().append(edit).dialog({autoOpen: false, 105 $(this).dialog('destroy') [all...] |