/external/chromium/chrome/browser/ui/app_modal_dialogs/ |
app_modal_dialog_queue.cc | 9 void AppModalDialogQueue::AddDialog(AppModalDialog* dialog) { 11 ShowModalDialog(dialog); 14 app_modal_dialog_queue_.push(dialog); 18 AppModalDialog* dialog = GetNextDialog(); local 19 if (dialog) 20 ShowModalDialog(dialog); 27 // As part of showing a modal dialog we may end up back in this method 28 // (showing a dialog activates the TabContents, which can trigger a call 30 // activate the tab contents the dialog is shown. 48 void AppModalDialogQueue::ShowModalDialog(AppModalDialog* dialog) { 62 AppModalDialog* dialog = app_modal_dialog_queue_.front(); local [all...] |
/external/chromium_org/chrome/browser/ui/app_modal_dialogs/ |
app_modal_dialog_queue.cc | 15 void AppModalDialogQueue::AddDialog(AppModalDialog* dialog) { 17 ShowModalDialog(dialog); 20 app_modal_dialog_queue_.push_back(dialog); 24 AppModalDialog* dialog = GetNextDialog(); local 25 if (dialog) 26 ShowModalDialog(dialog); 33 // As part of showing a modal dialog we may end up back in this method 34 // (showing a dialog activates the WebContents, which can trigger a call 36 // activate the tab contents the dialog is shown. 55 void AppModalDialogQueue::ShowModalDialog(AppModalDialog* dialog) { 69 AppModalDialog* dialog = app_modal_dialog_queue_.front(); local [all...] |
/external/chromium_org/components/web_modal/ |
native_web_contents_modal_dialog_manager.h | 26 virtual void WillClose(NativeWebContentsModalDialog dialog) = 0; 33 // contents modal dialog. 38 // Starts management of the modal aspects of the dialog. This function should 39 // also register to be notified when the dialog is closing, so that it can 41 virtual void ManageDialog(NativeWebContentsModalDialog dialog) = 0; 43 // Makes the web contents modal dialog visible. Only one web contents modal 44 // dialog is shown at a time per tab. 45 virtual void ShowDialog(NativeWebContentsModalDialog dialog) = 0; 47 // Hides the web contents modal dialog without closing it. 48 virtual void HideDialog(NativeWebContentsModalDialog dialog) = 0 [all...] |
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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPreferenceScreen.java | 3 import android.app.Dialog; 12 private Dialog dialog; field in class:ShadowPreferenceScreen 15 public Dialog getDialog() { 16 return dialog; 19 public void setDialog(Dialog dialog) { 20 this.dialog = dialog;
|
/frameworks/base/core/java/android/content/ |
DialogInterface.java | 63 * Interface used to allow the creator of a dialog to run some code when the 64 * dialog is canceled. 66 * This will only be called when the dialog is canceled, if the creator 72 * This method will be invoked when the dialog is canceled. 74 * @param dialog The dialog that was canceled will be passed into the 77 public void onCancel(DialogInterface dialog); 81 * Interface used to allow the creator of a dialog to run some code when the 82 * dialog is dismissed. 86 * This method will be invoked when the dialog is dismissed [all...] |
/external/nist-sip/java/javax/sip/ |
DialogTerminatedEvent.java | 6 private Dialog mDialog; 8 public DialogTerminatedEvent(Object source, Dialog dialog) { 10 mDialog = dialog; 13 public Dialog getDialog() {
|
/external/chromium_org/chrome/browser/ui/gtk/ |
simple_message_box_gtk.cc | 13 void SetDialogTitle(GtkWidget* dialog, const base::string16& title) { 14 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str()); 16 // The following code requires the dialog to be realized. 17 gtk_widget_realize(dialog); 21 gtk_widget_size_request(dialog, &req); 23 gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0, 31 gtk_widget_set_size_request(dialog, width, -1); 63 GtkWidget* dialog = gtk_message_dialog_new(parent, local 69 gtk_util::ApplyMessageDialogQuirks(dialog); 70 SetDialogTitle(dialog, title) [all...] |
chrome_browser_main_extra_parts_gtk.cc | 42 GtkWidget* dialog = gtk_message_dialog_new( local 54 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), 59 gtk_window_set_title(GTK_WINDOW(dialog), message.c_str()); 61 gtk_dialog_run(GTK_DIALOG(dialog)); 62 gtk_widget_destroy(dialog); 69 GtkWidget* dialog = gtk_message_dialog_new( local 77 gtk_window_set_title(GTK_WINDOW(dialog), message); 78 gtk_dialog_run(GTK_DIALOG(dialog)); 79 gtk_widget_destroy(dialog);
|
web_contents_modal_dialog_manager_gtk.cc | 17 // Web contents modal dialog manager implementation for the GTK port. Unlike the 19 // instead just centers the dialog. It is thus an order of magnitude simpler. 33 virtual void ManageDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 34 DCHECK(g_object_is_floating(GetGtkWidget(dialog))); 35 g_object_ref_sink(GetGtkWidget(dialog)); 37 g_signal_connect(GetGtkWidget(dialog), "hierarchy-changed", 39 g_signal_connect(GetGtkWidget(dialog), 45 virtual void ShowDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 46 GtkWidget* widget = GetGtkWidget(dialog); 62 virtual void HideDialog(NativeWebContentsModalDialog dialog) OVERRIDE [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ProgressBar3.java | 22 import android.app.Dialog; 64 protected Dialog onCreateDialog(int id) { 67 ProgressDialog dialog = new ProgressDialog(this); local 68 dialog.setTitle("Indeterminate"); 69 dialog.setMessage("Please wait while loading..."); 70 dialog.setIndeterminate(true); 71 dialog.setCancelable(true); 72 return dialog; 75 ProgressDialog dialog = new ProgressDialog(this); local 76 dialog.setMessage("Please wait while loading...") [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
MediaRouteChooserDialogFragment.java | 19 import android.app.Dialog; 27 * Media route chooser dialog fragment. 30 * this dialog fragment to customize the media route chooser dialog. 41 * Creates a media route chooser dialog fragment. 65 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); local 66 if (dialog != null) { 67 dialog.setRouteTypes(types); 76 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); local 77 if (dialog != null) 96 MediaRouteChooserDialog dialog = onCreateChooserDialog(getActivity(), savedInstanceState); local [all...] |
/external/openssh/contrib/ |
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/chrome/browser/ |
platform_util_common_linux.cc | 21 void SetDialogTitle(GtkWidget* dialog, const string16& title) { 22 gtk_window_set_title(GTK_WINDOW(dialog), UTF16ToUTF8(title).c_str()); 25 // The following code requires the dialog to be realized. However, we host 26 // dialog's content in a Chrome window without really realize the dialog 28 gtk_widget_realize(dialog); 32 gtk_widget_size_request(dialog, &req); 34 gtk_util::GetWidgetSizeFromCharacters(dialog, title.length(), 0, 42 gtk_widget_set_size_request(dialog, width, -1); 86 GtkWidget* dialog = gtk_message_dialog_new(parent, GTK_DIALOG_MODAL local 98 GtkWidget* dialog = gtk_message_dialog_new(parent, GTK_DIALOG_MODAL, local [all...] |
/external/chromium-trace/trace-viewer/src/tracing/ |
record_selection_dialog.css | 6 .record-selection-dialog { 11 .record-selection-dialog .default-enabled-categories { 15 .record-selection-dialog .default-disabled-categories { 21 .record-selection-dialog .categories { 26 .record-selection-dialog form { 34 .record-selection-dialog .options { 40 .record-selection-dialog td { 44 .record-selection-dialog .options label {
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
RepostFormWarningDialog.java | 8 import android.app.Dialog; 16 * Form resubmission warning dialog. Presents the cancel/continue choice and fires one of two 20 // Warning dialog currently being shown, stored for testing. 21 private static Dialog sCurrentDialog; 32 public Dialog onCreateDialog(Bundle savedInstanceState) { 37 public void onClick(DialogInterface dialog, int id) { 44 public void onClick(DialogInterface dialog, int id) { 50 Dialog dialog = builder.create(); local 51 setCurrentDialog(dialog); [all...] |
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
select_file_dialog_impl_gtk2.cc | 35 // Set |dialog| as transient for |parent|, which will keep it on top and center 37 void SetGtkTransientForAura(GtkWidget* dialog, aura::Window* parent) { 38 gtk_widget_realize(dialog); 39 GdkWindow* gdk_window = gtk_widget_get_window(dialog); 47 // We also set the |parent| as a property of |dialog|, so that we can unlink 49 g_object_set_data(G_OBJECT(dialog), kAuraTransientParent, parent); 67 // Implementation of SelectFileDialog that shows a Gtk common dialog for 68 // choosing a file or folder. This acts as a modal dialog. 100 void FileSelected(GtkWidget* dialog, const base::FilePath& path); 103 void MultiFilesSelected(GtkWidget* dialog, 240 GtkWidget* dialog = NULL; local 378 GtkWidget* dialog = local 419 GtkWidget* dialog = local 448 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 462 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 474 GtkWidget* dialog = local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
DialogTest.java | 3 import android.app.Dialog; 28 final Dialog dialog = new Dialog(null); local 29 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() { 32 assertThat((Dialog) dialogInListener, sameInstance(dialog)); 37 dialog.dismiss(); 44 Dialog dialog = new Dialog(Robolectric.application) local 50 TestDialog dialog = new TestDialog(); local 58 Dialog dialog = new Dialog(null); local 67 TestDialog dialog = new TestDialog(); local 74 Dialog dialog = new Dialog(null); local 84 Dialog dialog = new Dialog(Robolectric.application) { local 102 Dialog dialog = new Dialog(Robolectric.application); local 115 Dialog dialog = new Dialog(null); local 124 TestDialog dialog = new TestDialog(); local 154 Dialog dialog = new Dialog(Robolectric.application); local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/first_run/app/ |
style.css | 12 .step.dialog { 22 .step.dialog h1 { 28 .step.dialog p { 33 .step.dialog .controls { 39 .step.dialog .controls .margin-top { 43 .step.dialog .controls .margin-bottom { 47 .step.dialog .controls button { 54 .step.dialog .window-header { 63 .step.dialog .topbutton-bar { 68 .step.dialog .topbutton-wrapper [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ |
MinTimeProgressDialog.java | 26 * be dismissed before showing. Once visible, the dialog will be visible for at 76 // This covers the case where the dialog was not shown 77 // at all yet OR enough time of the dialog showing 87 * Dismiss the dialog, immediately if necessary. 89 * @param force If true, dismiss the dialog right away. 107 public void onShow(DialogInterface dialog) { 108 // When the dialog is actually shown, start the timer. 119 MinTimeProgressDialog dialog = new MinTimeProgressDialog(context); local 120 dialog.setTitle(title); 121 dialog.setMessage(message) [all...] |
/external/chromium_org/ui/shell_dialogs/gtk/ |
select_file_dialog_impl_gtk.cc | 38 // Implementation of SelectFileDialog that shows a Gtk common dialog for 39 // choosing a file or folder. This acts as a modal dialog. 67 void FileSelected(GtkWidget* dialog, const base::FilePath& path); 70 void MultiFilesSelected(GtkWidget* dialog, 74 // Dialog is passed so we can find that |params| pointer that was passed to 75 // us when we were told to show the dialog. 76 void FileNotSelected(GtkWidget* dialog); 93 // Removes and returns the |params| associated with |dialog| from 95 void* PopParamsForDialog(GtkWidget* dialog); 97 // Take care of internal data structures when a file dialog is destroyed 194 GtkWidget* dialog = NULL; local 334 GtkWidget* dialog = local 374 GtkWidget* dialog = local 402 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 416 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 428 GtkWidget* dialog = local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
dialogs_gtk.cc | 26 // the dialog, but usually not the height). The image's aspect ratio will always 31 // Implementation of SelectFileDialog that shows a Gtk common dialog for 32 // choosing a file or folder. This acts as a modal dialog. 59 void FileSelected(GtkWidget* dialog, const FilePath& path); 62 void MultiFilesSelected(GtkWidget* dialog, 66 // Dialog is passed so we can find that |params| pointer that was passed to 67 // us when we were told to show the dialog. 68 void FileNotSelected(GtkWidget* dialog); 82 // Removes and returns the |params| associated with |dialog| from 84 void* PopParamsForDialog(GtkWidget* dialog); 217 GtkWidget* dialog = NULL; local 352 GtkWidget* dialog = local 384 GtkWidget* dialog = local 410 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 423 GtkWidget* dialog = CreateFileOpenHelper(title_string, default_path, parent); local 435 GtkWidget* dialog = local [all...] |
/external/chromium/chrome/browser/ui/gtk/download/ |
download_in_progress_dialog_gtk.cc | 56 GtkWidget* dialog = gtk_message_dialog_new( local 63 gtk_util::AddButtonToDialog(dialog, 66 gtk_util::AddButtonToDialog(dialog, 70 gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), 74 g_signal_connect(dialog, "response", G_CALLBACK(OnResponseThunk), this); 76 gtk_widget_show_all(dialog); 79 void DownloadInProgressDialogGtk::OnResponse(GtkWidget* dialog, 81 gtk_widget_destroy(dialog);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
PostCharDialogFragment.java | 21 import android.app.Dialog; 28 * Pop up an alert dialog with OK and Cancel buttons to allow user to Accept or Reject the WAIT 42 public Dialog onCreateDialog(Bundle savedInstanceState) { 54 public void onClick(DialogInterface dialog, int whichButton) { 60 public void onClick(DialogInterface dialog, int whichButton) { 61 dialog.cancel(); 65 final AlertDialog dialog = builder.create(); local 66 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); 67 return dialog; 71 public void onCancel(DialogInterface dialog) { [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...] |