Searched refs:shadowCamera (Results 1 – 2 of 2) sorted by relevance
24 private ShadowCamera shadowCamera; field in ShadowCameraTest29 shadowCamera = Shadows.shadowOf(camera); in setUp()52 assertThat(shadowCamera.isLocked()).isTrue(); in testUnlock()54 assertThat(shadowCamera.isLocked()).isFalse(); in testUnlock()60 assertThat(shadowCamera.isLocked()).isFalse(); in testReconnect()62 assertThat(shadowCamera.isLocked()).isTrue(); in testReconnect()86 assertThat(shadowCamera.getPreviewDisplay()).isSameInstanceAs(previewSurfaceHolder); in testSetPreviewDisplay()91 assertThat(shadowCamera.isPreviewing()).isFalse(); in testStartPreview()93 assertThat(shadowCamera.isPreviewing()).isTrue(); in testStartPreview()99 assertThat(shadowCamera.isPreviewing()).isTrue(); in testStopPreview()[all …]
52 ShadowCamera shadowCamera = Shadow.extract(camera); in open() local53 shadowCamera.id = 0; in open()61 ShadowCamera shadowCamera = Shadow.extract(camera); in open() local62 shadowCamera.id = cameraId; in open()