HomeSort by relevance Sort by last modified time
    Searched full:dialogfragment (Results 1 - 25 of 241) sorted by null

1 2 3 4 5 6 7 8 910

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DialogFragmentTest.java 6 import android.support.v4.app.DialogFragment;
27 private TestDialogFragment dialogFragment;
33 dialogFragment = new TestDialogFragment();
39 dialogFragment.show(fragmentManager, "this is a tag");
41 dialogFragment.transcript.assertEventsSoFar(
52 assertNotNull(dialogFragment.getActivity());
53 assertSame(activity, dialogFragment.onAttachActivity);
58 dialogFragment.show(fragmentManager.beginTransaction(), "this is a tag");
60 dialogFragment.transcript.assertEventsSoFar(
71 assertNotNull(dialogFragment.getActivity())
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDialogFragment.java 4 import android.support.v4.app.DialogFragment;
17 * Shadow implementation of the {@link DialogFragment}.
19 @Implements(DialogFragment.class)
21 private static DialogFragment latestDialogFragment;
27 private DialogFragment realDialogFragment;
92 public static DialogFragment getLatestDialogFragment() {
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
SafeDismissDialogFragment.java 20 import android.app.DialogFragment;
23 * Provides the safe dismiss feature regardless of the DialogFragment's life cycle.
25 public class SafeDismissDialogFragment extends DialogFragment {
47 * Dismiss safely regardless of the DialogFragment's life cycle.
  /frameworks/base/docs/html/guide/topics/ui/controls/
pickers.jd 11 <li><a href="#TimePickerFragment">Extending DialogFragment for a time picker</a></li>
17 <li><a href="#DatePickerFragment">Extending DialogFragment for a date picker</a></li>
26 <li>{@link android.support.v4.app.DialogFragment}</li>
42 <p>We recommend that you use {@link android.support.v4.app.DialogFragment} to host each time or date
43 picker. The {@link android.support.v4.app.DialogFragment} manages the dialog lifecycle for you and
47 <p>Although {@link android.app.DialogFragment} was first added to the platform in Android 3.0 (API
49 1.6&mdash;you can use the {@link android.support.v4.app.DialogFragment} class that's available in
55 library</a> APIs for {@link android.support.v4.app.DialogFragment}. If your app's <a
57 higher, you can instead use the platform version of {@link android.app.DialogFragment}.</p>
64 android.support.v4.app.DialogFragment}, you need to define a fragment class that extends {@lin
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentDialog.java 22 import android.app.DialogFragment;
42 ((TextView)tv).setText("Example of displaying dialogs with a DialogFragment. "
70 // DialogFragment.show() will take care of adding the fragment
81 DialogFragment newFragment = MyDialogFragment.newInstance(mStackLevel);
102 public static class MyDialogFragment extends DialogFragment {
126 int style = DialogFragment.STYLE_NORMAL, theme = 0;
128 case 1: style = DialogFragment.STYLE_NO_TITLE; break;
129 case 2: style = DialogFragment.STYLE_NO_FRAME; break;
130 case 3: style = DialogFragment.STYLE_NO_INPUT; break;
131 case 4: style = DialogFragment.STYLE_NORMAL; break
    [all...]
FragmentAlertDialog.java 24 import android.app.DialogFragment;
44 ((TextView)tv).setText("Example of displaying an alert dialog with a DialogFragment");
57 DialogFragment newFragment = MyAlertDialogFragment.newInstance(
74 public static class MyAlertDialogFragment extends DialogFragment {
FragmentDialogOrActivity.java 22 import android.app.DialogFragment;
43 DialogFragment newFragment = MyDialogFragment.newInstance();
61 DialogFragment newFragment = MyDialogFragment.newInstance();
67 public static class MyDialogFragment extends DialogFragment {
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentDialogSupport.java 21 import android.support.v4.app.DialogFragment;
43 ((TextView)tv).setText("Example of displaying dialogs with a DialogFragment. "
71 // DialogFragment.show() will take care of adding the fragment
82 DialogFragment newFragment = MyDialogFragment.newInstance(mStackLevel);
103 public static class MyDialogFragment extends DialogFragment {
127 int style = DialogFragment.STYLE_NORMAL, theme = 0;
129 case 1: style = DialogFragment.STYLE_NO_TITLE; break;
130 case 2: style = DialogFragment.STYLE_NO_FRAME; break;
131 case 3: style = DialogFragment.STYLE_NO_INPUT; break;
132 case 4: style = DialogFragment.STYLE_NORMAL; break
    [all...]
FragmentAlertDialogSupport.java 21 import android.support.v4.app.DialogFragment;
45 ((TextView)tv).setText("Example of displaying an alert dialog with a DialogFragment");
58 DialogFragment newFragment = MyAlertDialogFragment.newInstance(
75 public static class MyAlertDialogFragment extends DialogFragment {
FragmentDialogOrActivitySupport.java 22 import android.support.v4.app.DialogFragment;
42 DialogFragment newFragment = MyDialogFragment.newInstance();
60 DialogFragment newFragment = MyDialogFragment.newInstance();
66 public static class MyDialogFragment extends DialogFragment {
  /developers/samples/android/common/src/java/com/example/android/common/play/
PlayHelper.java 23 import android.support.v4.app.DialogFragment;
70 // Create a new DialogFragment for the error dialog
73 // Set the dialog in the DialogFragment
75 // Show the error dialog in the DialogFragment
100 // Define a DialogFragment that displays the error dialog
101 public static class ErrorDialogFragment extends DialogFragment {
113 // Return a Dialog to the DialogFragment.
  /developers/build/prebuilts/gradle/PermissionRequest/Application/tests/src/com/example/android/permissionrequest/test/
SampleTests.java 75 ConfirmationDialogFragment dialogFragment = waitForDialog();
76 assertNotNull(dialogFragment);
80 clickDialogButton(dialogFragment, android.R.id.button1);
94 dialogFragment = waitForDialog();
95 assertNotNull(dialogFragment);
99 clickDialogButton(dialogFragment, android.R.id.button2);
151 * @param dialogFragment The dialog.
155 private void clickDialogButton(final ConfirmationDialogFragment dialogFragment,
160 dialogFragment.getDialog().findViewById(buttonId).performClick();
161 assertFalse(dialogFragment.isVisible())
    [all...]
  /developers/samples/android/content/webview/PermissionRequest/Application/tests/src/com/example/android/permissionrequest/test/
SampleTests.java 75 ConfirmationDialogFragment dialogFragment = waitForDialog();
76 assertNotNull(dialogFragment);
80 clickDialogButton(dialogFragment, android.R.id.button1);
94 dialogFragment = waitForDialog();
95 assertNotNull(dialogFragment);
99 clickDialogButton(dialogFragment, android.R.id.button2);
151 * @param dialogFragment The dialog.
155 private void clickDialogButton(final ConfirmationDialogFragment dialogFragment,
160 dialogFragment.getDialog().findViewById(buttonId).performClick();
161 assertFalse(dialogFragment.isVisible())
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/
IndeterminateProgressDialog.java 20 import android.app.DialogFragment;
28 * Indeterminate progress dialog wrapped up in a DialogFragment to work even when the device
44 public class IndeterminateProgressDialog extends DialogFragment {
70 IndeterminateProgressDialog dialogFragment = new IndeterminateProgressDialog();
71 dialogFragment.mTitle = title;
72 dialogFragment.mMessage = message;
73 dialogFragment.mMinDisplayTime = minDisplayTime;
74 dialogFragment.show(fragmentManager, TAG);
75 dialogFragment.mShowTime = System.currentTimeMillis();
76 dialogFragment.setCancelable(false)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
SyncErrorDialogFragment.java 22 import android.app.DialogFragment;
31 * Implements a {@link DialogFragment} that uses an internal {@link AlertDialog}
34 public class SyncErrorDialogFragment extends DialogFragment {
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
InfoDialogFragment.java 6 import android.app.DialogFragment;
13 public class InfoDialogFragment extends DialogFragment implements View.OnClickListener {
22 // Empty constructor required for DialogFragment
  /external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/sync/
SignoutFragment.java 9 import android.app.DialogFragment;
19 public class SignoutFragment extends DialogFragment implements DialogInterface.OnClickListener {
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
MediaRouteControllerDialogFragment.java 22 import android.support.v4.app.DialogFragment;
31 public class MediaRouteControllerDialogFragment extends DialogFragment {
  /packages/apps/Launcher2/src/com/android/launcher2/
WallpaperChooser.java 22 import android.app.DialogFragment;
43 DialogFragment fragment = WallpaperChooserDialogFragment.newInstance();
  /packages/apps/Settings/src/com/android/settings/dashboard/
NoHomeDialogFragment.java 22 import android.app.DialogFragment;
26 public class NoHomeDialogFragment extends DialogFragment {
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/sound/
SoundActivity.java 26 import com.android.tv.settings.dialog.DialogFragment;
27 import com.android.tv.settings.dialog.DialogFragment.Action;
43 private DialogFragment mDialogFragment;
50 mDialogFragment = new DialogFragment.Builder()
56 DialogFragment.add(getFragmentManager(), mDialogFragment);
  /frameworks/base/docs/html/guide/topics/ui/
dialogs.jd 2 page.tags=alertdialog,dialogfragment
12 <li><a href="#DialogFragment">Creating a Dialog Fragment</a></li>
32 <li>{@link android.app.DialogFragment}</li>
78 use a {@link android.support.v4.app.DialogFragment} as a container for your dialog.
79 The {@link android.support.v4.app.DialogFragment} class provides all the controls you
83 <p>Using {@link android.support.v4.app.DialogFragment} to manage the dialog
86 android.support.v4.app.DialogFragment} class also allows you to reuse the dialog's UI as an
92 android.support.v4.app.DialogFragment} in combination with an {@link android.app.AlertDialog}
97 Because the {@link android.app.DialogFragment} class was originally added with
99 android.support.v4.app.DialogFragment} class that's provided with the <
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
RestrictedProfileActivity.java 20 import com.android.tv.settings.dialog.DialogFragment;
21 import com.android.tv.settings.dialog.DialogFragment.Action;
235 DialogFragment dialogFragment = UserAppRestrictionsDialogFragment.newInstance(
237 DialogFragment.add(getFragmentManager(), dialogFragment);
245 private DialogFragment mMainMenuDialogFragment;
251 private DialogFragment mConfigDialogFragment;
261 mMainMenuDialogFragment = new DialogFragment.Builder()
267 DialogFragment.add(getFragmentManager(), mMainMenuDialogFragment)
    [all...]
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
MessageDialogFragment.java 21 import android.app.DialogFragment;
24 public class MessageDialogFragment extends DialogFragment {
  /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
MessageDialogFragment.java 21 import android.app.DialogFragment;
24 public class MessageDialogFragment extends DialogFragment {

Completed in 1256 milliseconds

1 2 3 4 5 6 7 8 910