Home
last modified time | relevance | path

Searched refs:isCancelable (Results 1 – 9 of 9) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDialogFragmentTest.java126 assertTrue(dialogFragment.isCancelable()); in shouldDefaultToCancelable()
135 assertFalse(dialogFragment.isCancelable()); in shouldStoreCancelable()
145 assertTrue(shadowOf(dialog).isCancelable()); in shouldSetCancelableOnDialog()
156 assertFalse(shadowOf(dialog).isCancelable()); in shouldSetNotCancelableOnDialogBeforeShow()
167 assertFalse(shadowOf(dialog).isCancelable()); in shouldSetNotCancelableOnDialogAfterShow()
DDialogTest.java62 assertThat(shadow.isCancelable(), equalTo(false)); in shouldSetCancelable()
77 assertThat(shadow.isCancelable(), equalTo(true)); in shouldDefaultCancelableToTrueAsTheSDKDoes()
DProgressDialogTest.java72 assertTrue(shadowProgressDialog.isCancelable()); in show_shouldCreateAProgressDialog()
140 assertEquals(expectedCancelable, shadowOf(dialog).isCancelable()); in assertLatestDialogsSet()
DAlertDialogTest.java44 assertThat(shadowAlertDialog.isCancelable(), equalTo(true)); in testBuilder()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDialog.java41 private boolean isCancelable = true; field in ShadowDialog
173 isCancelable = flag; in setCancelable()
181 public boolean isCancelable() { in isCancelable() method in ShadowDialog
182 return isCancelable; in isCancelable()
DShadowAlertDialog.java260 private boolean isCancelable; field in ShadowAlertDialog.ShadowBuilder
415 this.isCancelable = cancelable; in setCancelable()
453 latestAlertDialog.setCancelable(isCancelable); in create()
DShadowDialogFragment.java80 public boolean isCancelable() { in isCancelable() method in ShadowDialogFragment
/external/robolectric/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...