/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
DialogFragmentTest.java | 4 import android.app.Dialog; 77 Dialog dialogFromOnCreateDialog = new Dialog(activity); 81 Dialog dialog = ShadowDialog.getLatestDialog(); local 82 assertSame(dialogFromOnCreateDialog, dialog); 91 Dialog dialog = ShadowDialog.getLatestDialog(); local 92 assertNotNull(dialog); 93 assertSame(dialog, dialogFragment.getDialog()) 104 Dialog dialog = ShadowDialog.getLatestDialog(); local 117 Dialog dialog = ShadowDialog.getLatestDialog(); local 143 Dialog dialog = dialogFragment.getDialog(); local 154 Dialog dialog = dialogFragment.getDialog(); local 165 Dialog dialog = dialogFragment.getDialog(); local [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);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SecureDialogActivity.java | 29 * <h3>Secure Dialog Activity</h3> 32 * This activity demonstrates how to create a dialog whose window is backed by 70 // Handle click events on the button to show the dialog. 76 * Called when the button to show the dialog is clicked. 80 // Create a dialog. 81 AlertDialog dialog = new AlertDialog.Builder(this) local 86 // Make the dialog secure. This must be done at the time the dialog is 87 // created. It cannot be changed after the dialog has been shown. 88 dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE [all...] |
AlertDialogSamples.java | 21 import android.app.Dialog; 44 App/Dialog/Alert Dialog 50 * <td >The Alert Dialog Samples implementation</td> 78 protected Dialog onCreateDialog(int id) { 85 public void onClick(DialogInterface dialog, int whichButton) { 91 public void onClick(DialogInterface dialog, int whichButton) { 102 public void onClick(DialogInterface dialog, int whichButton) { 106 public void onClick(DialogInterface dialog, int whichButton) { 115 public void onClick(DialogInterface dialog, int whichButton) [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...] |
MiniPreferenceActivity.java | 35 AlertDialog dialog = builder.setMessage(getResources() local 42 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() { 43 public void onDismiss(DialogInterface dialog) { 53 public void onClick(DialogInterface dialog, int which) {
|
/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/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();
|
/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);
|
DialogFilter.java | 79 * to the application. This class is essentially a Dialog filter. It is a helper for the UAC Core. 81 * number, Dialog not found, etc. Note that this is not part of the JAIN-SIP spec (it does not 255 * Process a request. Check for various conditions in the dialog that can result in the 295 SIPDialog dialog = sipStack.getDialog(dialogId); local 297 * Check if we got this request on the contact address of the dialog If not the dialog 299 * assigned to the dialog. Forgive the sins of B2BUA's that like to record route ACK's 301 if (dialog != null && sipProvider != dialog.getSipProvider()) { 302 Contact contact = dialog.getMyContactHeader() [all...] |
SipProviderImpl.java | 58 import javax.sip.Dialog; 176 Dialog dialog = ((RequestEvent) sipEvent).getDialog(); local 177 if ( sipStack.isLoggingEnabled()) sipStack.getStackLogger().logDebug("Dialog = " + dialog); 179 Dialog dialog = ((ResponseEvent) sipEvent).getDialog(); local 180 if (sipStack.isLoggingEnabled() ) sipStack.getStackLogger().logDebug("Dialog = " + dialog); 342 // Could not find a dialog or the route is not set in dialog 359 SIPDialog dialog = sipStack.getDialog(dialogId); local 514 SIPDialog dialog = sipStack.getDialog(dialogId); local 560 SIPDialog dialog = sipStack.getDialog(dialogId); local 584 SIPDialog dialog = sipStack.getDialog(dialogId); local 609 SIPDialog dialog = sipStack.getDialog(dialogId); local 673 Dialog dialog = sipStack.getDialog(((SIPRequest) request) local 836 SIPDialog dialog = null; local [all...] |
/external/nist-sip/java/javax/sip/ |
RequestEvent.java | 7 private Dialog mDialog; 12 Dialog dialog, Request request) { 14 mDialog = dialog; 19 public Dialog getDialog() {
|
ResponseEvent.java | 7 private Dialog mDialog; 12 Dialog dialog, Response response) { 14 mDialog = dialog; 19 public Dialog getDialog() {
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupNameDialogFragment.java | 19 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/Phone/src/com/android/phone/ |
TimeConsumingPreferenceActivity.java | 6 import android.app.Dialog; 31 public void onClick(DialogInterface dialog, int which) { 32 dialog.dismiss(); 37 public void onClick(DialogInterface dialog, int which) { 38 dialog.dismiss(); 59 protected Dialog onCreateDialog(int id) { 61 ProgressDialog dialog = new ProgressDialog(this); local 62 dialog.setTitle(getText(R.string.updating_title)); 63 dialog.setIndeterminate(true); 67 dialog.setCancelable(true) 111 AlertDialog dialog = builder.create(); local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
js_modal_dialog_gtk.h | 21 JSModalDialogGtk(JavaScriptAppModalDialog* dialog,
|
process_singleton_dialog.cc | 16 ProcessSingletonDialog dialog(message); 39 void ProcessSingletonDialog::OnResponse(GtkWidget* dialog, int response_id) {
|
/external/webkit/Source/WebKit/chromium/public/ |
WebWindowFeatures.h | 62 bool dialog; member in struct:WebKit::WebWindowFeatures 77 , dialog(false) 99 , dialog(f.dialog)
|
/external/replicaisland/src/com/replica/replicaisland/ |
ConversationUtils.java | 45 ArrayList<Conversation> dialog = null; local 53 if (dialog == null) { 54 dialog = new ArrayList<Conversation>(); 58 dialog.add(currentConversation); 86 return dialog;
|
/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/Email/src/com/android/email/activity/ |
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) {
|
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...] |
/external/webkit/Tools/QtTestBrowser/ |
webpage.cpp | 135 QDialog* dialog = new QDialog(QApplication::activeWindow()); local 136 dialog->setWindowTitle("HTTP Authentication"); 138 QGridLayout* layout = new QGridLayout(dialog); 139 dialog->setLayout(layout); 141 QLabel* messageLabel = new QLabel(dialog); 148 QLabel* userLabel = new QLabel("Username:", dialog); 150 QLineEdit* userInput = new QLineEdit(dialog); 153 QLabel* passLabel = new QLabel("Password:", dialog); 155 QLineEdit* passInput = new QLineEdit(dialog); 161 | QDialogButtonBox::Cancel, Qt::Horizontal, dialog); [all...] |
/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();
|