Home
last modified time | relevance | path

Searched refs:wasInvalidated (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDrawable.java41 private boolean wasInvalidated; field in ShadowDrawable
155 wasInvalidated = true; in invalidateSelf()
168 public boolean wasInvalidated() { in wasInvalidated() method in ShadowDrawable
169 return wasInvalidated; in wasInvalidated()
173 wasInvalidated = false; in validate()
DShadowView.java53 private boolean wasInvalidated; field in ShadowView
210 wasInvalidated = true; in invalidate()
292 public boolean wasInvalidated() { in wasInvalidated() method in ShadowView
293 return wasInvalidated; in wasInvalidated()
300 wasInvalidated = false; in clearWasInvalidated()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDrawableTest.java130 assertThat(shadowDrawable.wasInvalidated()).isFalse(); in testWasSelfInvalidated()
132 assertThat(shadowDrawable.wasInvalidated()).isTrue(); in testWasSelfInvalidated()
DShadowViewTest.java309 assertFalse(shadowView.wasInvalidated()); in shouldPostInvalidateDelayed()
312 assertTrue(shadowView.wasInvalidated()); in shouldPostInvalidateDelayed()