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

1 2 3 4 5 6 7 8 91011>>

  /external/toybox/kconfig/lxdialog/
yesno.c 22 #include "dialog.h"
27 static void print_buttons(WINDOW * dialog, int height, int width, int selected)
32 print_button(dialog, " Yes ", y, x, selected == 0);
33 print_button(dialog, " No ", y, x + 13, selected == 1);
35 wmove(dialog, y, x + 1 + 13 * selected);
36 wrefresh(dialog);
40 * Display a dialog box with two buttons - Yes and No
45 WINDOW *dialog; local
53 /* center dialog box on screen */
59 dialog = newwin(height, width, y, x)
    [all...]
inputbox.c 22 #include "dialog.h"
29 static void print_buttons(WINDOW * dialog, int height, int width, int selected)
34 print_button(dialog, " Ok ", y, x, selected == 0);
35 print_button(dialog, " Help ", y, x + 14, selected == 1);
37 wmove(dialog, y, x + 1 + 14 * selected);
38 wrefresh(dialog);
42 * Display a dialog box for inputing a string
50 WINDOW *dialog; local
63 /* center dialog box on screen */
69 dialog = newwin(height, width, y, x)
    [all...]
textbox.c 22 #include "dialog.h"
38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw,
42 print_position(dialog);
43 wmove(dialog, cur_y, cur_x); /* Restore cursor position */
44 wrefresh(dialog);
49 * Display text from a file in a dialog box.
57 WINDOW *dialog, *box; local
85 /* center dialog box on screen */
91 dialog = newwin(height, width, y, x);
92 keypad(dialog, TRUE)
    [all...]
  /external/python/cpython3/Lib/idlelib/idle_test/
test_query.py 48 dialog = self.Dummy_Query(' ')
49 self.assertEqual(dialog.entry_ok(), None)
50 self.assertEqual((dialog.result, dialog.destroyed), (None, False))
51 self.assertIn('blank line', dialog.entry_error['text'])
54 dialog = self.Dummy_Query(' good ')
56 Equal(dialog.entry_ok(), 'good')
57 Equal((dialog.result, dialog.destroyed), (None, False))
58 Equal(dialog.entry_error['text'], ''
    [all...]
test_searchbase.py 39 self.dialog = sdb.SearchDialogBase(root=self.root, engine=self.engine)
42 self.dialog.close()
46 self.dialog.default_command = None
50 self.dialog.open('text')
51 self.assertEqual(self.dialog.top.state(), 'normal')
52 self.dialog.close()
53 self.assertEqual(self.dialog.top.state(), 'withdrawn')
55 self.dialog.open('text', searchphrase="hello")
56 self.assertEqual(self.dialog.ent.get(), 'hello')
57 self.dialog.close(
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPreferenceScreen.java 3 import android.app.Dialog;
12 private Dialog dialog; field in class:ShadowPreferenceScreen
15 public Dialog getDialog() {
16 return dialog;
19 public void setDialog(Dialog dialog) {
20 this.dialog = dialog;
ShadowDialogFragment.java 3 import android.app.Dialog;
23 private Dialog dialog; field in class:ShadowDialogFragment
44 dialog = realDialogFragment.onCreateDialog(null);
46 if (dialog == null) {
47 dialog = new Dialog(activityFromManager);
48 dialog.setContentView(view);
50 dialog.setCancelable(cancelable);
62 if (dialog != null)
    [all...]
  /frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
AppCompatNightModeDialog.java 29 * This demonstrates idiomatic usage of Dialog with Theme.AppCompat.DayNight
40 AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog); local
41 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO);
42 dialog.setTitle(R.string.dialog_title);
43 dialog.setContentView(R.layout.dialog_content);
44 dialog.show();
48 AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog); local
49 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES);
50 dialog.setTitle(R.string.dialog_title);
51 dialog.setContentView(R.layout.dialog_content)
56 AppCompatDialog dialog = new AppCompatDialog(this, R.style.Theme_AppCompat_DayNight_Dialog); local
    [all...]
AppCompatNightModeAlertDialog.java 40 AlertDialog dialog = createAlertDialog(); local
41 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_NO);
42 dialog.show();
46 AlertDialog dialog = createAlertDialog(); local
47 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_YES);
48 dialog.show();
52 AlertDialog dialog = createAlertDialog(); local
53 dialog.getDelegate().setLocalNightMode(AppCompatDelegate.MODE_NIGHT_AUTO);
54 dialog.show();
  /cts/tests/app/src/android/app/cts/
ProgressDialogTest.java 101 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, false); local
107 assertTrue(dialog.isIndeterminate());
109 dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true);
110 assertTrue(dialog.isIndeterminate());
115 public void onCancel(DialogInterface dialog) {
123 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, false);
125 dialog.setOnCancelListener(cL);
126 dialog.onBackPressed();
127 dialog.dismiss();
137 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, true)
216 ProgressDialog dialog = buildDialog(); local
232 ProgressDialog dialog = buildDialog(); local
251 ProgressDialog dialog = new ProgressDialog(mContext); local
266 ProgressDialog dialog = new ProgressDialog(mContext); local
280 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE); local
295 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE); local
310 ProgressDialog dialog = new ProgressDialog(mContext); local
321 ProgressDialog dialog = new ProgressDialog(mContext); local
    [all...]
  /frameworks/base/core/java/android/content/
DialogInterface.java 22 * Interface that defines a dialog-type class that can be shown, dismissed, or
48 * Cancels the dialog, invoking the {@link OnCancelListener}.
51 * dismisses the dialog.
56 * Dismisses the dialog, invoking the {@link OnDismissListener}.
61 * Interface used to allow the creator of a dialog to run some code when the
62 * dialog is canceled.
64 * This will only be called when the dialog is canceled, if the creator
70 * This method will be invoked when the dialog is canceled.
72 * @param dialog the dialog that was canceled will be passed into th
    [all...]
  /external/nist-sip/java/javax/sip/
DialogTerminatedEvent.java 6 private Dialog mDialog;
8 public DialogTerminatedEvent(Object source, Dialog dialog) {
10 mDialog = dialog;
13 public Dialog getDialog() {
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowProgressDialogTest.java 18 private ProgressDialog dialog; field in class:ShadowProgressDialogTest
23 dialog = new ProgressDialog(RuntimeEnvironment.application);
24 shadow = Shadows.shadowOf(dialog);
39 dialog.setMessage(message);
45 assertThat(dialog.isIndeterminate()).isFalse();
47 dialog.setIndeterminate(true);
48 assertThat(dialog.isIndeterminate()).isTrue();
50 dialog.setIndeterminate(false);
51 assertThat(dialog.isIndeterminate()).isFalse();
56 assertThat(dialog.getMax()).isEqualTo(0)
    [all...]
ShadowDialogTest.java 12 import android.app.Dialog;
33 final Dialog dialog = new Dialog(RuntimeEnvironment.application); local
34 dialog.show();
35 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
38 assertThat((Dialog) dialogInListener).isSameAs(dialog);
43 dialog.dismiss();
52 final Dialog dialog = new Dialog(context) local
62 Dialog dialog = new Dialog(RuntimeEnvironment.application); local
68 TestDialog dialog = new TestDialog(RuntimeEnvironment.application); local
76 Dialog dialog = new Dialog(RuntimeEnvironment.application); local
85 TestDialog dialog = new TestDialog(RuntimeEnvironment.application); local
92 Dialog dialog = new Dialog(RuntimeEnvironment.application); local
102 Dialog dialog = new Dialog(RuntimeEnvironment.application) { local
121 Dialog dialog = new Dialog(RuntimeEnvironment.application); local
134 Dialog dialog = new Dialog(RuntimeEnvironment.application); local
143 TestDialog dialog = new TestDialog(RuntimeEnvironment.application); local
173 Dialog dialog = new Dialog(RuntimeEnvironment.application); local
181 Dialog dialog = new Dialog(RuntimeEnvironment.application); local
187 Dialog dialog = new Dialog(RuntimeEnvironment.application); local
    [all...]
  /external/mdnsresponder/mDNSWindows/DNSServiceBrowser/Windows/Sources/
Application.cpp 88 // Create the chooser dialog.
90 ChooserDialog * dialog; local
93 dialog = new ChooserDialog;
94 dialog->Create( IDD_CHOOSER_DIALOG );
95 m_pMainWnd = dialog;
96 dialog->ShowWindow( SW_SHOW );
  /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/python/cpython2/Lib/idlelib/idle_test/
test_searchdialogbase.py 39 self.dialog = sdb.SearchDialogBase(root=self.root, engine=self.engine)
42 self.dialog.close()
46 self.dialog.default_command = None
50 self.dialog.open('text')
51 self.assertEqual(self.dialog.top.state(), 'normal')
52 self.dialog.close()
53 self.assertEqual(self.dialog.top.state(), 'withdrawn')
55 self.dialog.open('text', searchphrase="hello")
56 self.assertEqual(self.dialog.ent.get(), 'hello')
57 self.dialog.close(
    [all...]
test_config_name.py 26 dialog = Dummy_name_dialog() variable in class:ConfigNameTest
37 self.dialog.name.set(' ')
38 self.assertEqual(self.dialog.name_ok(), '')
43 self.dialog.name.set('used')
44 self.assertEqual(self.dialog.name_ok(), '')
49 self.dialog.name.set('good'*8)
50 self.assertEqual(self.dialog.name_ok(), '')
55 self.dialog.name.set(' good ')
57 self.assertEqual(self.dialog.name_ok(), 'good')
61 self.dialog.destroyed = Fals
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
MediaRouteChooserDialogFragment.java 19 import android.app.Dialog;
26 * Media route chooser dialog fragment.
29 * this dialog fragment to customize the media route chooser dialog.
40 * Creates a media route chooser dialog fragment.
68 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); local
69 if (dialog != null) {
70 dialog.setRouteTypes(types);
79 MediaRouteChooserDialog dialog = (MediaRouteChooserDialog)getDialog(); local
80 if (dialog != null)
99 MediaRouteChooserDialog dialog = onCreateChooserDialog(getActivity(), savedInstanceState); local
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DialogTest.java 3 import android.app.Dialog;
28 final Dialog dialog = new Dialog(null); local
29 dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
32 assertThat((Dialog) dialogInListener, sameInstance(dialog));
37 dialog.dismiss();
44 Dialog dialog = new Dialog(Robolectric.application) local
50 TestDialog dialog = new TestDialog(); local
58 Dialog dialog = new Dialog(null); local
67 TestDialog dialog = new TestDialog(); local
74 Dialog dialog = new Dialog(null); local
84 Dialog dialog = new Dialog(Robolectric.application) { local
102 Dialog dialog = new Dialog(Robolectric.application); local
115 Dialog dialog = new Dialog(null); local
124 TestDialog dialog = new TestDialog(); local
154 Dialog dialog = new Dialog(Robolectric.application); local
    [all...]
ProgressDialogTest.java 29 private ProgressDialog dialog; field in class:ProgressDialogTest
34 dialog = new ProgressDialog(null);
35 shadow = Robolectric.shadowOf(dialog);
48 dialog.setMessage(message);
54 assertThat(dialog.isIndeterminate(), equalTo(false));
56 dialog.setIndeterminate(true);
57 assertThat(dialog.isIndeterminate(), equalTo(true));
59 dialog.setIndeterminate(false);
60 assertThat(dialog.isIndeterminate(), equalTo(false));
113 public void onCancel(DialogInterface dialog) {
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/
MinTimeProgressDialog.java 26 * be dismissed before showing. Once visible, the dialog will be visible for at
76 // This covers the case where the dialog was not shown
77 // at all yet OR enough time of the dialog showing
87 * Dismiss the dialog, immediately if necessary.
89 * @param force If true, dismiss the dialog right away.
107 public void onShow(DialogInterface dialog) {
108 // When the dialog is actually shown, start the timer.
119 MinTimeProgressDialog dialog = new MinTimeProgressDialog(context); local
120 dialog.setTitle(title);
121 dialog.setMessage(message)
    [all...]
  /packages/apps/StorageManager/src/com/android/storagemanager/automatic/
WarningDialogActivity.java 32 WarningDialogFragment dialog = WarningDialogFragment.newInstance(); local
33 dialog.show(getFragmentManager(), WarningDialogFragment.TAG);
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
AppCompatDialogFragment.java 22 import android.app.Dialog;
32 * platform-styled dialog.
39 public Dialog onCreateDialog(Bundle savedInstanceState) {
46 public void setupDialog(Dialog dialog, int style) {
47 if (dialog instanceof AppCompatDialog) {
48 // If the dialog is an AppCompatDialog, we'll handle it
49 AppCompatDialog acd = (AppCompatDialog) dialog;
52 dialog.getWindow().addFlags(
62 super.setupDialog(dialog, style)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/dialog/
IndeterminateProgressDialog.java 17 package com.android.contacts.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...]

Completed in 705 milliseconds

1 2 3 4 5 6 7 8 91011>>