/packages/apps/Contacts/src/com/android/contacts/dialog/ |
ClearFrequentsDialog.java | 17 package com.android.contacts.dialog; 22 import android.app.Dialog; 33 * Dialog that clears the frequently contacted list after confirming with the user. 36 /** Preferred way to show this dialog */ 38 ClearFrequentsDialog dialog = new ClearFrequentsDialog(); local 39 dialog.show(fragmentManager, "clearFrequents"); 43 public Dialog onCreateDialog(Bundle savedInstanceState) { 47 public void onClick(DialogInterface dialog, int which) {
|
/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
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
UiUtils.java | 29 * Opens standard warning dialog. 32 MessageDialog dialog = local 40 dialog.open();
|
/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/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);
|
/gdk/samples/PhotoEditor/src/com/android/photoeditor/ |
SpinnerProgressDialog.java | 19 import android.app.Dialog; 26 * Spinner model progress dialog that disables all tools for user interaction after it shows up and 29 public class SpinnerProgressDialog extends Dialog { 34 SpinnerProgressDialog dialog = new SpinnerProgressDialog(tools); local 35 dialog.show(); 36 return dialog; 60 // Pass touch events to tools for killing idle even when the progress dialog is shown.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/actions/ |
AddNativeAction.java | 53 WizardDialog dialog = new WizardDialog(mPart.getSite().getShell(), wizard); local 54 dialog.open();
|
/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) {
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeBackgroundService.java | 22 import android.app.Dialog; 76 Dialog dialog = new Dialog(this, android.R.style.Theme_Holo_Dialog); local 77 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 78 dialog.getWindow().setFlags( 88 dialog.getWindow().setDimAmount(0); 89 dialog.getWindow().setLayout(ViewGroup.LayoutParams.MATCH_PARENT, 91 WindowManager.LayoutParams lp = dialog.getWindow().getAttributes(); 97 dialog.getWindow().setAttributes(lp) [all...] |
FakeApp.java | 23 import android.app.Dialog; 110 Dialog dialog = builder.create(); local 111 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); 112 dialog.show();
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
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) { 59 public void onClick(DialogInterface dialog, int whichButton) {
|
GroupNameDialogFragment.java | 21 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/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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/ |
ExportWizardAction.java | 81 WizardDialog dialog = new WizardDialog( local 83 dialog.open();
|
/sdk/uiautomatorviewer/src/com/android/uiautomator/actions/ |
ScreenshotAction.java | 55 ProgressMonitorDialog dialog = new ProgressMonitorDialog(mViewer.getShell()); local 57 dialog.run(true, false, new IRunnableWithProgress() {
|
/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());
|