Home
last modified time | relevance | path

Searched refs:fakeSurfaceHolder (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSurfaceViewTest.java25 private ShadowSurfaceView.FakeSurfaceHolder fakeSurfaceHolder = field in ShadowSurfaceViewTest
30 assertThat(fakeSurfaceHolder.getCallbacks()).isEmpty(); in addCallback()
34 assertThat(fakeSurfaceHolder.getCallbacks()).contains(callback1); in addCallback()
38 assertThat(fakeSurfaceHolder.getCallbacks()).contains(callback1); in addCallback()
39 assertThat(fakeSurfaceHolder.getCallbacks()).contains(callback2); in addCallback()
47 assertThat(fakeSurfaceHolder.getCallbacks().size()).isEqualTo(2); in removeCallback()
51 assertThat(fakeSurfaceHolder.getCallbacks()).doesNotContain(callback1); in removeCallback()
52 assertThat(fakeSurfaceHolder.getCallbacks()).contains(callback2); in removeCallback()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSurfaceView.java16 private final FakeSurfaceHolder fakeSurfaceHolder = new FakeSurfaceHolder(); field in ShadowSurfaceView
23 return fakeSurfaceHolder; in getHolder()
27 return fakeSurfaceHolder; in getFakeSurfaceHolder()