/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...] |
native_app_modal_dialog.h | 19 // Shows the dialog. 22 // Activates the dialog. 25 // Closes the dialog. 28 // Accepts or cancels the dialog. 32 // Creates an app modal dialog for a JavaScript prompt. 34 JavaScriptAppModalDialog* dialog,
|
app_modal_dialog_queue.h | 16 // dialog is shown at a time. 23 // Adds a modal dialog to the queue, if there are no other dialogs in the 24 // queue, the dialog will be shown immediately. Once it is shown, the 27 // activate any other browser windows. So the dialog being shown should 31 // Note: The AppModalDialog |dialog| must be window modal before it 33 void AddDialog(AppModalDialog* dialog); 35 // Removes the current dialog in the queue (the one that is being shown). 36 // Shows the next dialog in the queue, if any is present. This does not 37 // ensure that the currently showing dialog is closed, it just makes it no 41 // Activates and shows the current dialog, if the user clicks on one of th [all...] |
/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() {
|
/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...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
SpinnerProgressDialog.java | 19 import android.app.Dialog; 31 * Spinner model progress dialog that disables all tools for user interaction after it shows up and 35 public class SpinnerProgressDialog extends Dialog { 38 private static SpinnerProgressDialog dialog; field in class:SpinnerProgressDialog 46 // There should be only one progress dialog running at a time. 47 if (dialog == null) { 48 dialog = new SpinnerProgressDialog(); 49 dialog.setCancelable(false); 50 dialog.show(); 51 // Disable enabled tools when showing spinner progress dialog [all...] |
YesNoCancelDialogBuilder.java | 10 * Alert dialog builder that builds a simple Yes/No/Cancel dialog. 20 public void onClick(DialogInterface dialog, int which) { 27 public void onClick(DialogInterface dialog, int which) { 34 public void onClick(DialogInterface dialog, int which) {
|
/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/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...] |
js_modal_dialog_gtk.cc | 21 // after dialog creation. 25 // If there's a text entry in the dialog, get the text from the first one and 27 std::wstring GetPromptText(GtkDialog* dialog) { 29 g_object_get_data(G_OBJECT(dialog), kPromptTextId)); 35 // If there's a toggle button in the dialog, return the toggled state. 37 bool ShouldSuppressJSDialogs(GtkDialog* dialog) { 39 g_object_get_data(G_OBJECT(dialog), kSuppressCheckboxId)); 50 JSModalDialogGtk::JSModalDialogGtk(JavaScriptAppModalDialog* dialog, 52 : dialog_(dialog) { 189 void JSModalDialogGtk::OnResponse(GtkWidget* dialog, int response_id) [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/Phone/src/com/android/phone/ |
TimeConsumingPreferenceActivity.java | 6 import android.app.Dialog; 42 protected Dialog onCreateDialog(int id) { 44 ProgressDialog dialog = new ProgressDialog(this); local 45 dialog.setTitle(getText(R.string.updating_title)); 46 dialog.setIndeterminate(true); 50 dialog.setCancelable(true); 51 dialog.setOnCancelListener(this); 52 dialog.setMessage(getText(R.string.reading_settings)); 53 return dialog; 55 dialog.setCancelable(false) 98 AlertDialog dialog = b.create(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
IUpdateWizardDialog.java | 27 * Invoked after {@link WizardDialog#create()} to let the caller update the dialog.
29 public void updateWizardDialog(WizardDialogEx dialog);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupNameDialogFragment.java | 21 import android.app.Dialog; 46 public Dialog onCreateDialog(Bundle savedInstanceState) { 53 AlertDialog dialog = new AlertDialog.Builder(getActivity()) local 60 public void onClick(DialogInterface dialog, int whichButton) { 68 dialog.setOnShowListener(this); 69 return dialog; 72 public void onShow(DialogInterface dialog) { 73 updateOkButtonState((AlertDialog) dialog); 78 AlertDialog dialog = (AlertDialog) getDialog(); local 79 // Make sure the dialog has not already been dismissed or destroyed [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
js_modal_dialog_cocoa.h | 25 explicit JSModalDialogCocoa(JavaScriptAppModalDialog* dialog); 36 JavaScriptAppModalDialog* dialog() const { return dialog_.get(); } function in class:JSModalDialogCocoa
|
/packages/apps/Settings/src/com/android/settings/ |
EditPinPreference.java | 19 import android.app.Dialog; 65 Dialog dialog = getDialog(); local 66 return dialog != null && dialog.isShowing(); 78 Dialog dialog = getDialog(); local 79 if (dialog == null || !dialog.isShowing()) {
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
Utils.java | 55 // Create (or recycle existing) and show disconnect dialog. 57 AlertDialog dialog, 60 if (dialog == null) { 61 dialog = new AlertDialog.Builder(context) 66 if (dialog.isShowing()) { 67 dialog.dismiss(); 71 dialog.setButton(DialogInterface.BUTTON_POSITIVE, 74 dialog.setTitle(title); 75 dialog.setMessage(message); 76 dialog.show() [all...] |
/frameworks/base/core/java/android/preference/ |
PreferenceScreen.java | 19 import android.app.Dialog; 46 * another screen of preferences as a {@link Dialog} or via a 84 private Dialog mDialog; 161 Dialog dialog = mDialog = new Dialog(context, context.getThemeResId()); local 163 dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE); 165 dialog.setTitle(title); 167 dialog.setContentView(mListView); 168 dialog.setOnDismissListener(this) 213 final Dialog dialog = mDialog; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
EditResponseHelper.java | 55 public void onClick(DialogInterface dialog, int which) { 63 public void onClick(DialogInterface dialog, int which) { 79 AlertDialog dialog = new AlertDialog.Builder(mParent).setTitle( local 84 mAlertDialog = dialog; 89 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
|
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
DialogModifier.java | 19 import android.app.Dialog; 25 * Wacky {@link LayoutModifier} that takes a {@link Dialog} and transplants into the 38 Dialog dialog = mBuilder.buildDialog(view); local 43 // get the dialog as a view 44 View newView = dialog.getWindow().getDecorView(); 46 // remove it from the dialog 47 dialog.getWindow().getWindowManager().removeView(newView);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
InputMethodServiceCompatWrapper.java | 44 public void showOptionDialogInternal(AlertDialog dialog) { 49 dialog.setCancelable(true); 50 dialog.setCanceledOnTouchOutside(true); 52 final Window window = dialog.getWindow(); 59 mOptionsDialog = dialog; 60 dialog.show();
|
/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/nist-sip/java/gov/nist/javax/sip/ |
DialogTimeoutEvent.java | 20 import javax.sip.Dialog; 25 * dialog does not receive or send an ACK. 36 * Constructs a DialogTerminatedEvent to indicate a dialog 40 * @param dialog - the dialog that timed out. 42 public DialogTimeoutEvent(Object source, Dialog dialog, Reason reason) { 44 m_dialog = dialog; 50 * Gets the Dialog associated with the event. This 51 * enables application developers to access the dialog associated to this [all...] |
ResponseEventExt.java | 4 import javax.sip.Dialog; 16 Dialog dialog, Response response) { 17 super(source,clientTransaction,dialog,response);
|