HomeSort by relevance Sort by last modified time
    Searched defs:dialog (Results 1 - 25 of 91) sorted by null

1 2 3 4

  /cts/tests/tests/permission/src/android/permission/cts/
NoActivityRelatedPermissionTest.java 70 AlertDialog dialog = (AlertDialog) (mActivity.getDialog()); local
72 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_APPLICATION);
73 dialog.show();
78 dialog = (AlertDialog) (mActivity.getDialog());
79 dialog.getWindow().setType(types[i]);
81 dialog.show();
86 fail("Add dialog to Window Manager did not throw BadTokenException as expected");
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/
ExportWizardAction.java 73 WizardDialog dialog = new WizardDialog( local
75 dialog.open();
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
136 // It's not visible yet until a dialog is created and opened
138 WizardDialogEx dialog = new WizardDialogEx(parent, mWizard); local
139 dialog.create();
142 ((IUpdateWizardDialog) mWizard).updateWizardDialog(dialog);
146 Point defaultSize = dialog.getShell().getSize()
    [all...]
  /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/Calendar/src/com/android/calendar/
EditResponseHelper.java 51 public void onClick(DialogInterface dialog, int which) {
59 public void onClick(DialogInterface dialog, int which) {
75 AlertDialog dialog = new AlertDialog.Builder(mParent) local
83 mAlertDialog = dialog;
88 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
ProjectChooserHelper.java 36 * Helper class to deal with displaying a project choosing dialog that lists only the
45 * List of current android projects. Since the dialog is modal, we'll just get
58 * </p>If false the project list is recomputed every time the dialog is opened.
101 * @param parentShell the parent {@link Shell} for the dialog.
110 * Displays a project chooser dialog which lists all available projects with the Android nature.
116 * @param message Message for the dialog box. Can be null in which case a default message
118 * @return the project chosen by the user in the dialog, or null if the dialog was canceled.
123 ElementListSelectionDialog dialog = new ElementListSelectionDialog( local
125 dialog.setTitle("Project Selection")
    [all...]
  /external/webkit/WebCore/page/
WindowFeatures.h 50 , dialog(false)
78 bool dialog; member in struct:WebCore::WindowFeatures
  /cts/tests/tests/widget/src/android/widget/cts/
SpinnerTest.java 28 import android.app.Dialog;
154 Dialog dialog = new Dialog(getActivity()); local
155 dialog.show();
156 assertTrue(dialog.isShowing());
157 spinner.onClick(dialog, -10);
159 assertFalse(dialog.isShowing());
186 // TODO: find the dialog and get its title to assert whether setPrompt() takes effect?
216 // TODO: find the dialog and get its title to assert whether setPromptId() takes effect
    [all...]
  /frameworks/base/core/java/android/preference/
PreferenceScreen.java 19 import android.app.Dialog;
44 * another screen of preferences as a {@link Dialog} or via a
82 private Dialog mDialog;
153 Dialog dialog = mDialog = new Dialog(context, TextUtils.isEmpty(title) local
156 dialog.setContentView(listView);
158 dialog.setTitle(title);
160 dialog.setOnDismissListener(this);
162 dialog.onRestoreInstanceState(state)
201 final Dialog dialog = mDialog; local
    [all...]
DialogPreference.java 21 import android.app.Dialog;
40 * dialog-based. These preferences will, when clicked, open a dialog showing the
62 /** The dialog, if it is showing. */
63 private Dialog mDialog;
94 * Sets the title of the dialog. This will be shown on subsequent dialogs.
104 * @param dialogTitleResId The dialog title as a resource.
119 * Sets the message of the dialog. This will be shown on subsequent dialogs.
121 * This message forms the content View of the dialog and conflicts with
122 * list-based dialogs, for example. If setting a custom View on a dialog vi
298 final Dialog dialog = mDialog = mBuilder.create(); local
    [all...]
  /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...]
EditPinPreference.java 33 * for the dialog.
58 * Overridden to setup the correct dialog layout, as well as setting up
63 // set the dialog layout
66 View dialog = super.onCreateDialogView(); local
74 return dialog;
105 * Externally visible method to bring up the dialog to
106 * for multi-step / multi-dialog requests (like changing
EmergencyCallHandler.java 69 public ProgressDialog dialog; field in class:EmergencyCallHandler.EmergencyCallInfo
89 eci.dialog.dismiss();
98 eci.dialog.dismiss();
117 eci.dialog = constructDialog(retryCount);
182 * create the dialog and hand it back to caller.
190 // create a system dialog that will persist outside this activity.
199 // show the dialog
SipCallOptionHandler.java 28 import android.app.Dialog;
71 private Dialog[] mDialogs = new Dialog[DIALOG_SIZE];
160 for (Dialog dialog : mDialogs) {
161 if (dialog != null) dialog.dismiss();
166 protected Dialog onCreateDialog(int id) {
167 Dialog dialog; local
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
WarnOfStorageLimitsActivity.java 64 // Set up the "dialog"
77 public void onClick(DialogInterface dialog, int which) {
84 dialog.dismiss();
  /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()) {
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
AuthenticatorActivity.java 22 import android.app.Dialog;
109 protected Dialog onCreateDialog(int id) {
110 final ProgressDialog dialog = new ProgressDialog(this); local
111 dialog.setMessage(getText(R.string.ui_activity_authenticating));
112 dialog.setIndeterminate(true);
113 dialog.setCancelable(true);
114 dialog.setOnCancelListener(new DialogInterface.OnCancelListener() {
115 public void onCancel(DialogInterface dialog) {
116 Log.i(TAG, "dialog cancel has been invoked");
123 return dialog;
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/
EventScanner.java 233 SIPDialog dialog = (SIPDialog) eventWrapper.transaction local
235 if (dialog != null)
236 dialog.requestConsumed();
295 * If the response for a request within a dialog is a 481
297 * Timeout), the UAC SHOULD terminate the dialog.
305 "Removing dialog on 408 or 481 response");
318 * field, and each represents a distinct dialog, with a
319 * distinct dialog identifier.
322 * does not care about the dialog and gc the dialog afte
    [all...]
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...]
  /frameworks/base/core/java/android/app/
AlertDialog.java 36 * A subclass of Dialog that can display one, two or three buttons. If you only want to
37 * display a String in this dialog box, use the setMessage() method. If you
49 * any views in the dialog return true from {@link View#onCheckIsTextEditor()
50 * View.onCheckIsTextEditor()}. Generally you want this set for a Dialog
55 public class AlertDialog extends Dialog implements DialogInterface {
75 * Gets one of the buttons used in the dialog.
77 * If a button does not exist in the dialog, null will be returned.
82 * @return The button from the dialog, or null if a button does not exist.
89 * Gets the list view used in the dialog.
91 * @return The {@link ListView} from the dialog
786 final AlertDialog dialog = new AlertDialog(P.mContext); local
801 AlertDialog dialog = create(); local
    [all...]
ProgressDialog.java 37 * <p>A dialog showing a progress indicator and an optional text message or view.
39 * <p>The dialog can be made cancelable on back key press.</p>
101 ProgressDialog dialog = new ProgressDialog(context); local
102 dialog.setTitle(title);
103 dialog.setMessage(message);
104 dialog.setIndeterminate(indeterminate);
105 dialog.setCancelable(cancelable);
106 dialog.setOnCancelListener(cancelListener);
107 dialog.show();
108 return dialog;
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
LatinIMESettings.java 23 import android.app.Dialog;
50 // Dialog ids
104 // If turning on voice input, show dialog
134 protected Dialog onCreateDialog(int id) {
138 public void onClick(DialogInterface dialog, int whichButton) {
156 // the current language as part of the pop-up confirmation dialog.
177 AlertDialog dialog = builder.create(); local
178 dialog.setOnDismissListener(this);
180 return dialog;
182 Log.e(TAG, "unknown dialog " + id)
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
GlobalActions.java 52 * Helper to show the global actions dialog. Each item is an {@link Action} that
99 * Show the global actions dialog (creating if necessary)
116 * Create the global actions dialog.
117 * @return A new dialog.
166 // Launch ECM exit dialog
227 final AlertDialog dialog = ab.create(); local
228 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
231 dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND,
235 dialog.setOnDismissListener(this);
237 return dialog;
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/os/
SmsReceivedDialog.java 23 import android.app.Dialog;
82 protected Dialog onCreateDialog(int id) {
90 public void onClick(DialogInterface dialog, int whichButton) {
97 dialog.dismiss();
102 public void onClick(DialogInterface dialog, int whichButton) {
103 dialog.dismiss();
108 public void onCancel(DialogInterface dialog) {
  /external/nist-sip/java/gov/nist/javax/sip/stack/
SIPClientTransaction.java 54 import javax.sip.Dialog;
500 MessageChannel sourceChannel, SIPDialog dialog) {
519 sipStack.getStackLogger().logDebug("dialog = " + dialog);
527 * if (dialog != null && transactionResponse.getStatusCode() != 100 &&
529 * add the route before you process the response. dialog.setLastResponse(this,
530 * transactionResponse); this.setDialog(dialog, transactionResponse.getDialogId(false)); }
535 inviteClientTransaction(transactionResponse, sourceChannel, dialog);
537 nonInviteClientTransaction(transactionResponse, sourceChannel, dialog);
944 SIPDialog dialog = sipStack.getDialog(this.getOriginalRequest() local
956 SIPDialog dialog = this.getDefaultDialog(); local
1047 SIPDialog dialog = (SIPDialog) this.getDialog(); local
1362 SIPDialog dialog = null; local
    [all...]

Completed in 285 milliseconds

1 2 3 4