/packages/apps/Calendar/src/com/android/calendar/ |
EditResponseHelper.java | 52 * -1 means no choice selected, or the dialog was 66 public void onClick(DialogInterface dialog, int which) { 71 public void onDismiss(DialogInterface dialog) { 73 // that the dialog was canceled. 81 mDismissListener.onDismiss(dialog); 99 public void onClick(DialogInterface dialog, int which) { 113 * Set the dismiss listener to be called when the dialog is ended. There, 114 * use getWhichEvents() to see how the dialog was dismissed; if it returns 115 * -1, the dialog was canceled out. If it is not -1, it's the index of 129 AlertDialog dialog = new AlertDialog.Builder(mParent).setTitle local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
SystemUIDialog.java | 62 public static void setShowForAllUsers(AlertDialog dialog, boolean show) { 64 dialog.getWindow().getAttributes().privateFlags |= 67 dialog.getWindow().getAttributes().privateFlags &= 72 public static void applyFlags(AlertDialog dialog) { 73 dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL); 74 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM
|
/packages/apps/Settings/src/com/android/settings/ |
EditPinPreference.java | 19 import android.app.Dialog; 62 Dialog dialog = getDialog(); local 63 return dialog != null && dialog.isShowing(); 75 Dialog dialog = getDialog(); local 76 if (dialog == null || !dialog.isShowing()) {
|
RemoteBugreportActivity.java | 32 * UI for the remote bugreport dialog. Shows one of 3 possible dialogs: 51 AlertDialog dialog = new AlertDialog.Builder(this) local 55 public void onDismiss(DialogInterface dialog) { 61 public void onClick(DialogInterface dialog, int which) { 66 dialog.show(); 70 AlertDialog dialog = new AlertDialog.Builder(this) local 78 public void onDismiss(DialogInterface dialog) { 85 public void onClick(DialogInterface dialog, int which) { 96 public void onClick(DialogInterface dialog, int which) { 105 dialog.show() [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/ |
AccountsSettingsFragmentTests.java | 91 final AlertDialog dialog = initDialog(fragment, null).mDialog; local 92 final ListView lv = dialog.getListView(); 103 final AlertDialog dialog = initDialog(fragment, null).mDialog; local 104 final ListView lv = dialog.getListView(); 112 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()); 114 dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getVisibility()); 116 dialog.getButton(DialogInterface.BUTTON_POSITIVE).getVisibility()); 124 final AlertDialog dialog = initDialog(fragment, "3@example.com").mDialog; local 125 final ListView lv = dialog.getListView(); 133 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/ |
IndeterminateProgressDialog.java | 17 package com.android.contacts.common.dialog; 19 import android.app.Dialog; 28 * Indeterminate progress dialog wrapped up in a DialogFragment to work even when the device 30 * dialog. There is an additional parameter of the minimum amount of time to display the progress 31 * dialog even after a call to dismiss the dialog {@link #dismiss()} or 34 * To create and show the progress dialog, use 38 * To dismiss the dialog, use {@link #dismiss()} or {@link #dismissAllowingStateLoss()} on the 52 private Dialog mOldDialog; 64 * Creates and shows an indeterminate progress dialog. Once the progress dialog is shown, i 90 final ProgressDialog dialog = new ProgressDialog(getActivity()); local [all...] |
/frameworks/base/core/java/android/preference/ |
PreferenceScreen.java | 19 import android.app.Dialog; 46 * another screen of preferences as a {@link Dialog} or via a 91 private Dialog mDialog; 173 Dialog dialog = mDialog = new Dialog(context, context.getThemeResId()); local 175 dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE); 177 dialog.setTitle(title); 179 dialog.setContentView(childPrefScreen); 180 dialog.setOnDismissListener(this) 225 final Dialog dialog = mDialog; local [all...] |
/external/fio/ |
gerror.c | 63 GtkWidget *dialog, *content, *label; local 65 dialog = gtk_dialog_new_with_buttons(title, GTK_WINDOW(ui->window), 69 content = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); 72 gtk_widget_show_all(dialog); 73 gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT); 74 gtk_dialog_run(GTK_DIALOG(dialog)); 75 gtk_widget_destroy(dialog);
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
PostCharDialogFragment.java | 20 import android.app.Dialog; 29 * Pop up an alert dialog with OK and Cancel buttons to allow user to Accept or Reject the WAIT 49 public Dialog onCreateDialog(Bundle savedInstanceState) { 66 public void onClick(DialogInterface dialog, int whichButton) { 72 public void onClick(DialogInterface dialog, int whichButton) { 73 dialog.cancel(); 77 final AlertDialog dialog = builder.create(); local 78 return dialog; 82 public void onCancel(DialogInterface dialog) { 83 super.onCancel(dialog); [all...] |
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
SetupSkipDialog.java | 21 import android.app.Dialog; 46 SetupSkipDialog dialog = new SetupSkipDialog(); local 49 dialog.setArguments(args); 50 return dialog; 54 public Dialog onCreateDialog(Bundle savedInstanceState) { 55 final AlertDialog dialog = onCreateDialogBuilder().create(); local 57 SystemBarHelper.hideSystemBars(dialog); 58 return dialog; 73 public void onClick(DialogInterface dialog, int button) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
ByodPresentMediaDialog.java | 19 import android.app.Dialog; 48 * This dialog shows/plays an image, video or audio uri. 62 ByodPresentMediaDialog dialog = new ByodPresentMediaDialog(); local 65 dialog.setArguments(args); 66 return dialog; 73 ByodPresentMediaDialog dialog = new ByodPresentMediaDialog(); local 76 dialog.setArguments(args); 77 return dialog; 84 ByodPresentMediaDialog dialog = new ByodPresentMediaDialog(); local 87 dialog.setArguments(args) 103 final Dialog dialog = new Dialog(getActivity()); local [all...] |
/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...] |
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
ErrorDialogActivity.java | 31 * Used to display an error dialog from within the Telecom service when an outgoing call fails 75 public void onClick(DialogInterface dialog, int which) { 82 public void onCancel(DialogInterface dialog) { 105 public void onClick(DialogInterface dialog, int which) { 111 public void onClick(DialogInterface dialog, int which) { 112 addVoiceMailNumberPanel(dialog); 116 public void onCancel(DialogInterface dialog) { 122 private void addVoiceMailNumberPanel(DialogInterface dialog) { 123 if (dialog != null) { 124 dialog.dismiss() [all...] |
/packages/services/Telephony/src/com/android/phone/ |
ErrorDialogActivity.java | 29 * Used to display an error dialog from within the Telephony service when an outgoing call fails 64 public void onClick(DialogInterface dialog, int which) { 70 public void onCancel(DialogInterface dialog) { 88 public void onClick(DialogInterface dialog, int which) { 93 public void onClick(DialogInterface dialog, int which) { 94 addVoiceMailNumberPanel(dialog); 98 public void onCancel(DialogInterface dialog) { 104 private void addVoiceMailNumberPanel(DialogInterface dialog) { 105 if (dialog != null) { 106 dialog.dismiss() [all...] |
/packages/services/Telephony/src/com/android/phone/settings/ |
VoicemailDialogUtil.java | 20 import android.app.Dialog; 28 // Voicemail dialog identifiers. 39 public static Dialog getDialog(VoicemailSettingsActivity parent, int id) { 87 // not recoverable on dialog exit. 96 AlertDialog dialog = b.create(); local 98 // make the dialog more obvious by bluring the background. 99 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); 101 return dialog; 104 ProgressDialog dialog = new ProgressDialog(parent); local 105 dialog.setTitle(parent.getText(R.string.call_settings)) [all...] |
/external/robolectric/v1/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...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
JoinContactConfirmationDialogFragment.java | 20 import android.app.Dialog; 28 * Shows a dialog asking the user whether to apply pending changes before joining the contact. 35 * Callbacks for the host of this dialog fragment. 55 final JoinContactConfirmationDialogFragment dialog = new local 57 dialog.setTargetFragment(fragment, 0); 58 dialog.setArguments(args); 59 dialog.show(fragment.getFragmentManager(), "joinContactConfirmationDialog"); 71 public Dialog onCreateDialog(Bundle savedInstanceState) { 77 public void onClick(DialogInterface dialog, int which) {
|
JoinSuggestedContactDialogFragment.java | 22 import android.app.Dialog; 35 final JoinSuggestedContactDialogFragment dialog = new JoinSuggestedContactDialogFragment(); local 36 dialog.setArguments(args); 37 dialog.setTargetFragment(fragment, 0); 38 dialog.show(fragment.getFragmentManager(), "join"); 42 public Dialog onCreateDialog(Bundle savedInstanceState) { 49 public void onClick(DialogInterface dialog, int whichButton) {
|
SplitContactConfirmationDialogFragment.java | 20 import android.app.Dialog; 29 * Shows a dialog asking the user whether to split the contact. The result is passed back 39 * Callbacks for the dialog host. 56 final SplitContactConfirmationDialogFragment dialog = new local 58 dialog.setTargetFragment(fragment, 0); 59 dialog.setArguments(args); 60 dialog.show(fragment.getFragmentManager(), "splitContact"); 72 public Dialog onCreateDialog(Bundle savedInstanceState) { 82 public void onClick(DialogInterface dialog, int which) {
|
SuggestionEditConfirmationDialogFragment.java | 22 import android.app.Dialog; 36 final SuggestionEditConfirmationDialogFragment dialog = new local 38 dialog.setArguments(args); 39 dialog.setTargetFragment(fragment, 0); 40 dialog.show(fragment.getFragmentManager(), "edit"); 44 public Dialog onCreateDialog(Bundle savedInstanceState) { 51 public void onClick(DialogInterface dialog, int whichButton) {
|
/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...] |
/external/lzma/CPP/7zip/UI/FileManager/ |
LangUtils.h | 22 void LangSetDlgItemText(HWND dialog, UInt32 controlID, UInt32 langID);
23 void LangSetDlgItems(HWND dialog, const UInt32 *ids, unsigned numItems);
24 void LangSetDlgItems_Colon(HWND dialog, const UInt32 *ids, unsigned numItems);
|
/packages/apps/TV/src/com/android/tv/dialog/ |
FullscreenDialogFragment.java | 17 package com.android.tv.dialog; 19 import android.app.Dialog; 31 * Dialog fragment with full screen. 55 public Dialog onCreateDialog(Bundle savedInstanceState) { 56 FullscreenDialog dialog = local 63 dialog.setContentView(v); 65 mDialogView.initialize((MainActivity) getActivity(), dialog); 66 return dialog; 108 * Called after the view is inflated and attached to the dialog. 110 void initialize(MainActivity activity, Dialog dialog) [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
rcparse.y | 42 /* Dialog information. This is built by the nonterminals styles and 45 static rc_dialog dialog; 118 %token DIALOG DIALOGEX EXSTYLE CAPTION CLASS STYLE 183 | input dialog 349 /* Dialog resources. */ 351 dialog: label 352 id DIALOG memflags_move exstyle posnumexpr cnumexpr cnumexpr 355 memset (&dialog, 0, sizeof dialog); 356 dialog.x = $5 [all...] |
/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();
|