/packages/apps/Contacts/src/com/android/contacts/util/ |
DialogManager.java | 20 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/apps/Mms/src/com/android/mms/ui/ |
AsyncDialog.java | 28 * than half a second, a progress modal dialog is displayed. 49 * @param dialogStringId the id of the string to be shown in the dialog 70 // clear the dialog so any pending dialog.dismiss() call can be avoided 88 * Creates the Task with the specified string id to be shown in the dialog 93 // lazy initialization of progress dialog for loading attachments 101 * Initializes the progress dialog with its intended settings. 104 ProgressDialog dialog = new ProgressDialog(mActivity); local 105 dialog.setIndeterminate(true); 106 dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPDialog.java | 119 * Tracks dialogs. A dialog is a peer to peer association of communicating SIP entities. For 120 * INVITE transactions, a Dialog is created when a success message is received (i.e. a response 122 * dialog identifier that can be used to retrieve this structure from the SipStack. 131 public class SIPDialog implements javax.sip.Dialog, DialogExt { 153 // Should be transient, in case the dialog is serialized it will be null 204 // Dialog. 220 // the amount of time to keep this dialog around before the stack GC's it 258 // List of event listeners for this dialog 264 // keep the whole transaction object for the duration of the dialog. It also 318 * Send BYE to the Dialog. 376 SIPDialog dialog = SIPDialog.this; local 399 SIPDialog dialog = SIPDialog.this; local [all...] |
/frameworks/base/core/java/android/app/ |
AlertDialog.java | 39 * A subclass of Dialog that can display one, two or three buttons. If you only want to 40 * display a String in this dialog box, use the setMessage() method. If you 52 * any views in the dialog return true from {@link View#onCheckIsTextEditor() 53 * View.onCheckIsTextEditor()}. Generally you want this set for a Dialog 64 public class AlertDialog extends Dialog implements DialogInterface { 69 * the traditional (pre-Holo) alert dialog theme. 105 * to get the dialog's style (such as {@link android.R.attr#alertDialogTheme} 150 * Gets one of the buttons used in the dialog. 152 * If a button does not exist in the dialog, null will be returned. 157 * @return The button from the dialog, or null if a button does not exist 931 final AlertDialog dialog = new AlertDialog(P.mContext, mTheme, false); local 950 AlertDialog dialog = create(); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SettingsPreferenceFragment.java | 19 import android.app.Dialog; 40 * Base class for Settings fragments, with some helper functions and dialog management. 143 // Dialog management 147 Log.e(TAG, "Old dialog fragment not null!"); 153 public Dialog onCreateDialog(int dialogId) { 159 // To be able to dismiss dialog at that time, don't check 168 * Sets the OnCancelListener of the dialog shown. This method can only be 179 * Sets the OnDismissListener of the dialog shown. This method can only be 236 public Dialog onCreateDialog(Bundle savedInstanceState) { 251 // This dialog fragment could be created from non-SettingsPreferenceFragmen [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ProjectsActivity.java | 21 import android.app.Dialog; 61 // Dialog ids 65 // Dialog parameters 124 // Open new project dialog when user clicks on the "create new project" card. 191 public Dialog onCreateDialog(int id, final Bundle bundle) { 201 public void onClick(DialogInterface dialog, int which) { 203 (TextView)((AlertDialog)dialog).findViewById(R.id.text_1); 212 public void onClick(DialogInterface dialog, int which) { 218 public void onCancel(DialogInterface dialog) { 232 0, // no icons for this dialog [all...] |
/cts/tests/tests/holo/src/android/holo/cts/ |
BitmapDeletionActivity.java | 23 import android.app.Dialog; 71 protected Dialog onCreateDialog(int id, Bundle args) { 74 ProgressDialog dialog = new ProgressDialog(BitmapDeletionActivity.this); local 75 dialog.setMessage(getString(R.string.deleting_bitmaps)); 76 return dialog; 93 public void onClick(DialogInterface dialog, int which) {
|
/external/chromium/chrome/browser/chromeos/login/ |
login_html_dialog.h | 21 // Launches html dialog during OOBE/Login with specified URL and title. 25 // Delegate class to get notifications from the dialog. 30 // Called when dialog has been closed. 46 // Shows created dialog. 49 // Overrides default width/height for dialog. 86 // Dialog display size.
|
/external/chromium_org/chrome/browser/ |
chrome_process_singleton.h | 18 // Notifications from ProcessSingleton will be discarded if a modal dialog is 24 // dialogs are displayed or dismissed during startup. While a dialog is active: 27 // 2. The active dialog is brought to the foreground and/or the taskbar icon 53 // Receives a handle to the active modal dialog, or NULL if the active dialog 65 // a modal dialog is active. Otherwise, it will pass the notification to
|
/external/chromium_org/chrome/browser/chromeos/login/ |
login_web_dialog.h | 22 // Launches web dialog during OOBE/Login with specified URL and title. 26 // Delegate class to get notifications from the dialog. 29 // Called when dialog has been closed. 50 // Overrides default width/height for dialog. 53 // Overrides dialog title. 94 // Dialog display size.
|
/external/chromium_org/content/shell/browser/ |
shell_javascript_dialog_gtk.cc | 20 // If there's a text entry in the dialog, get the text from the first one and 22 base::string16 GetPromptText(GtkDialog* dialog) { 24 g_object_get_data(G_OBJECT(dialog), kPromptTextId)); 109 void ShellJavaScriptDialog::OnResponse(GtkWidget* dialog, int response_id) { 112 callback_.Run(true, GetPromptText(GTK_DIALOG(dialog))); 122 gtk_widget_destroy(dialog);
|
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/ |
VersionDialog.java | 21 import android.app.Dialog; 32 * This is the dialog we show when the library's version is older than 37 public Dialog onCreateDialog(Bundle savedInstanceState) { 40 // Need to use our library's resources for showing the dialog. 55 new Dialog.OnClickListener() { 57 public void onClick(DialogInterface dialog, int which) {
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
DialogSmsDisplay.java | 21 import android.app.Dialog; 82 protected Dialog onCreateDialog(int id) { 91 public void onCancel(DialogInterface dialog) { 92 dialog.dismiss(); 98 public void onClick(DialogInterface dialog, int whichButton) { 99 dialog.dismiss();
|
/packages/apps/Browser/src/com/android/browser/ |
PageDialogsHandler.java | 87 * Displays an http-authentication dialog. 127 * Displays a page-info dialog. 130 * this dialog was opened from the SSL-certificate-on-error dialog or 132 * the parent dialog or simply dismiss. 171 public void onClick(DialogInterface dialog, 176 // if we came here from the SSL error dialog 178 // go back to the SSL error dialog 188 public void onCancel(DialogInterface dialog) { 192 // if we came here from the SSL error dialog [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastOptOutActivity.java | 27 * Container activity for CMAS opt-in/opt-out alert dialog. 40 * Show the opt-out dialog. Uses the CellBroadcastAlertDialog activity unless the device is 42 * so that the dialog appears underneath the lock screen. The user must unlock the device 43 * to configure the settings, so we don't want to show the opt-in dialog before then. 51 public void onClick(DialogInterface dialog, int which) { 59 public void onClick(DialogInterface dialog, int which) {
|
/external/wpa_supplicant_8/src/ap/ |
gas_serv.c | 71 wpa_msg(hapd->msg_ctx, MSG_ERROR, "ANQP: Could not create dialog for " 98 wpa_printf(MSG_DEBUG, "ANQP: Could not find dialog for " 563 wpa_printf(MSG_DEBUG, "GAS: Timeout triggered, clearing dialog for " 564 "dialog token %d", dia->dialog_token); 801 wpa_printf(MSG_INFO, "ANQP: Could not create dialog " 802 "for " MACSTR " (dialog token %u)", 846 "GAS: GAS Initial Request from " MACSTR " (dialog token %u) ", 935 struct gas_dialog_info *dialog) 938 u8 dialog_token = dialog->dialog_token; 941 if (dialog->sd_resp == NULL) 1025 struct gas_dialog_info *dialog; local [all...] |
/external/chromium/chrome/browser/ui/ |
shell_dialogs.h | 28 // Returns true if a shell dialog box is currently being shown modally 32 // Notifies the dialog box that the listener has been destroyed and it should 40 // Shows a dialog box for selecting a file or a folder. 71 // the user canceling or closing the selection dialog box, for example). 79 // Creates a dialog box helper. This object is ref-counted, but the returned 83 // Holds information about allowed extensions on a file save dialog. 106 // Otherwise it will start displaying the dialog box. This will also 107 // block the calling window until the dialog box is complete. The listener 110 // |type| is the type of file dialog to be shown, see Type enumeration above. 111 // |title| is the title to be displayed in the dialog. If this string i [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
web_contents_modal_dialog_manager_views.cc | 69 virtual void ManageDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 70 views::Widget* widget = GetWidget(dialog); 100 virtual void ShowDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 101 views::Widget* widget = GetWidget(dialog); 113 FocusDialog(dialog); variable 116 // TODO(pkotwicz): Control the z-order of the constrained dialog via 118 // shadows are below the constrained dialog in z-order when we do this. 123 virtual void HideDialog(NativeWebContentsModalDialog dialog) OVERRIDE { 124 views::Widget* widget = GetWidget(dialog); 133 virtual void CloseDialog(NativeWebContentsModalDialog dialog) OVERRIDE [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_file_browser_private_api.h | 76 // Parent class for the chromium extension APIs for the file dialog. 88 HtmlDialogView* dialog, 91 dialog_(dialog), 95 HtmlDialogView* dialog() const { return dialog_; } function in class:FileDialogFunction::Callback 101 HtmlDialogView* dialog, 136 // Closes the dialog window containing the file dialog HtmlDialogView. 137 void CloseDialog(HtmlDialogView* dialog); 144 // Select a single file. Closes the dialog window. 184 // Select multiple files. Closes the dialog window [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/ |
RepostFormWarningTest.java | 65 AlertDialog dialog = (AlertDialog)RepostFormWarningDialog.getCurrentDialog(); local 66 assertNotNull("Form resubmission warning not shown upon reload.", dialog); 69 clickButton(dialog, AlertDialog.BUTTON_POSITIVE); 72 // Verify that the reference to the dialog in RepostFormWarningDialog was cleared. 73 assertNull("Form resubmission warning dialog was not dismissed correctly.", 92 AlertDialog dialog = (AlertDialog)RepostFormWarningDialog.getCurrentDialog(); local 93 assertNotNull("Form resubmission warning not shown upon reload.", dialog); 96 clickButton(dialog, AlertDialog.BUTTON_NEGATIVE); 105 // Verify that the reference to the dialog in RepostFormWarningDialog was cleared. 106 assertNull("Form resubmission warning dialog was not dismissed correctly." [all...] |
/external/chromium_org/chrome/browser/chromeos/options/ |
network_config_view.h | 31 // A dialog box for showing a password textfield. 37 // Called when dialog "OK" button is pressed. 40 // Called when dialog "Cancel" button is pressed. 47 // Shows a network connection dialog if none is currently visible. 49 // Shows a dialog to configure a new network. |type| must be a valid Shill 91 // Login dialog for known networks. Returns true if successfully created. 93 // Login dialog for new/hidden networks. Returns true if successfully created. 96 // Creates and shows a dialog containing this view. 118 // If |service_path| is NULL, a dialog for configuring a new network will 124 // Get the title to show for the dialog [all...] |
/external/chromium_org/chrome/browser/ui/ |
tab_modal_confirm_dialog_delegate.h | 34 // This class acts as the delegate for a simple tab-modal dialog confirming 57 // Called when the dialog is closed without selecting an option, e.g. by 58 // pressing the close button on the dialog, using a window manager gesture, 60 // Calls OnClosed() and closes the dialog if no other call to Accept(), 66 // Called when the link is clicked. Calls OnLinkClicked() if the dialog is 72 // The title of the dialog. Note that the title is not shown on all platforms. 76 // Icon to show for the dialog. If this method is not overridden, a default 101 // Watch for a new load or a closed tab and dismiss the dialog if they occur. 113 // Called when the user accepts or cancels the dialog, respectively. 117 // Called when the dialog is closed [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
AttachmentActionHandler.java | 139 * Displays a loading dialog to be used for downloading attachments. 150 // Create and show the dialog. 157 * Update progress-related views. Will also trigger a view intent if a progress dialog was 167 final AttachmentProgressDialogFragment dialog = (AttachmentProgressDialogFragment) local 169 if (dialog != null && dialog.isShowingDialogForAttachment(mAttachment)) { 170 dialog.setProgress(mAttachment.downloadedSize); 174 final boolean indeterminate = !showProgress && dialog.isIndeterminate(); 175 dialog.setIndeterminate(indeterminate); 181 dialog.dismiss() 198 final Fragment dialog = mFragmentManager.findFragmentByTag(PROGRESS_FRAGMENT_TAG); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/ |
OpenWizardAction.java | 23 import org.eclipse.jface.dialogs.Dialog; 51 * The wizard dialog width, extracted from {@link NewWizardShortcutAction} 56 * The wizard dialog height, extracted from {@link NewWizardShortcutAction} 62 /** The result from the dialog */ 73 /** Returns the result from {@link Dialog#open()}, available after 139 // It's not visible yet until a dialog is created and opened 141 WizardDialogEx dialog = new WizardDialogEx(parent, mWizard); local 142 dialog.create(); 145 ((IUpdateWizardDialog) mWizard).updateWizardDialog(dialog); 149 Point defaultSize = dialog.getShell().getSize() [all...] |
/packages/apps/Gallery/res/values/ |
strings.xml | 119 <!-- Confirmation dialog title after deleting a picture --> 121 <!-- Confirmation dialog message after deleting a picture --> 123 <!-- Confirmation dialog message after deleting a video --> 126 <!-- Confirmation dialog message after deleting a multiple media files --> 177 <!-- Title of dialog that appears after selecting Picture size setting option --> 179 <!-- Options in dialog that appears after selecting Picture size setting option --> 186 <!-- Option values in dialog that appears after selecting Picture size setting option --> 191 <!-- Default option value in dialog that appears after selecting Picture size setting option --> 197 <!-- Title of dialog that appears after selecting Picture sort setting option --> 199 <!-- Options in dialog that appears after selecting Picture sort setting option -- [all...] |