/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/Contacts/src/com/android/contacts/calllog/ |
ClearCallLogDialog.java | 22 import android.app.Dialog; 34 * Dialog that clears the call log after confirming with the user 37 /** Preferred way to show this dialog */ 39 ClearCallLogDialog dialog = new ClearCallLogDialog(); local 40 dialog.show(fragmentManager, "deleteCallLog"); 44 public Dialog onCreateDialog(Bundle savedInstanceState) { 48 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/Mms/src/com/android/mms/ui/ |
MiniPreferenceActivity.java | 38 AlertDialog dialog = builder.setMessage(getResources() local 45 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() { 46 public void onDismiss(DialogInterface dialog) { 56 public void onClick(DialogInterface dialog, int which) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/net/ |
NetworkOverLimitActivity.java | 26 import android.app.Dialog; 60 public void onClick(DialogInterface dialog, int which) { 65 final Dialog dialog = builder.create(); local 66 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() { 67 public void onDismiss(DialogInterface dialog) { 72 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 73 dialog.show();
|
/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...] |
/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...] |
/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);
|
/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/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/Email/src/com/android/email/activity/ |
InsertQuickResponseDialog.java | 26 import android.app.Dialog; 38 * Dialog which lists QuickResponses for the specified account. On user selection, will call 60 * Create and returns new dialog. 67 final InsertQuickResponseDialog dialog = new InsertQuickResponseDialog(); local 78 dialog.setTargetFragment(callbackFragment, 0); 83 dialog.setArguments(args); 84 return dialog; 88 public Dialog onCreateDialog(Bundle savedInstanceState) { 100 // Now that Callback implementation is verified, build the dialog 138 public void onClick(DialogInterface dialog, int which) [all...] |
DeleteMessageConfirmationDialog.java | 22 import android.app.Dialog; 31 * Confirmation dialog for deleting messages. 42 * Create a new dialog. 50 final DeleteMessageConfirmationDialog dialog = new DeleteMessageConfirmationDialog(); local 53 dialog.setArguments(args); 55 dialog.setTargetFragment(callbackFragment, 0); 57 return dialog; 61 public Dialog onCreateDialog(Bundle savedInstanceState) { 76 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupCreationDialogFragment.java | 29 * A dialog for creating a new group. 39 GroupCreationDialogFragment dialog = new GroupCreationDialogFragment(); local 44 dialog.setArguments(args); 45 dialog.show(fragmentManager, "createGroup");
|
GroupDeletionDialogFragment.java | 22 import android.app.Dialog; 29 * A dialog for deleting a group. 39 GroupDeletionDialogFragment dialog = new GroupDeletionDialogFragment(); local 44 dialog.setArguments(args); 45 dialog.show(fragmentManager, "deleteGroup"); 49 public Dialog onCreateDialog(Bundle savedInstanceState) { 60 public void onClick(DialogInterface dialog, int whichButton) {
|
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...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
DialogManager.java | 22 import android.app.Dialog; 41 * To actually show a Dialog, the View uses {@link DialogManager#showDialogInView(View, Bundle)}, 63 * Called by a View to show a dialog. It has to pass itself and a Bundle with extra information. 85 public Dialog onCreateDialog(final int id, final Bundle bundle) { 101 final Dialog dialog = ((DialogShowingView)view).createDialog(bundle); local 102 if (dialog == null) { 103 return dialog; 106 // As we will never re-use this dialog, we can completely kill it here 107 dialog.setOnDismissListener(new OnDismissListener() [all...] |
/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();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/ |
ExportWizardAction.java | 79 WizardDialog dialog = new WizardDialog( local 81 dialog.open();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt.ndk/src/com/android/ide/eclipse/adt/ndk/internal/actions/ |
AddNativeAction.java | 52 WizardDialog dialog = new WizardDialog(mPart.getSite().getShell(), wizard); local 53 dialog.open();
|
/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...] |
/external/webkit/Tools/DumpRenderTree/chromium/ |
TestShellGtk.cpp | 201 GtkWidget* dialog = gtk_message_dialog_new( local 203 gtk_window_set_title(GTK_WINDOW(dialog), "DumpRenderTree"); 204 gtk_dialog_run(GTK_DIALOG(dialog)); // Runs a nested message loop. 205 gtk_widget_destroy(dialog);
|
/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);
|
/external/javassist/sample/rmi/ |
CountApplet.java | 14 private AlertDialog dialog;
field in class:CountApplet 43 dialog = new AlertDialog();
48 dialog.dispose();
57 dialog.show(e.toString());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
ConvertSwitchQuickFixProcessor.java | 132 ConvertSwitchDialog dialog = new ConvertSwitchDialog(shell, mExpression); local 133 dialog.open();
|
/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/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);
|