Home
last modified time | relevance | path

Searched refs:isCancelable (Results 1 – 8 of 8) 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/chromium_org/third_party/WebKit/Source/core/events/
DMouseEvent.cpp59 bool isCancelable = !isMouseEnterOrLeave; in create() local
62 return MouseEvent::create(eventType, isBubbling, isCancelable, view, in create()