Searched refs:fakeSurfaceHolder (Results 1 – 2 of 2) sorted by relevance
25 private ShadowSurfaceView.FakeSurfaceHolder fakeSurfaceHolder = field in ShadowSurfaceViewTest30 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()
16 private final FakeSurfaceHolder fakeSurfaceHolder = new FakeSurfaceHolder(); field in ShadowSurfaceView23 return fakeSurfaceHolder; in getHolder()27 return fakeSurfaceHolder; in getFakeSurfaceHolder()