Searched refs:PreviewLifecycleObserver (Results 1 – 2 of 2) sorted by relevance
48 private val activePreviews: ArrayMap<Pair<IBinder?, Int>, PreviewLifecycleObserver> = in <lambda>()49 ArrayMap<Pair<IBinder?, Int>, PreviewLifecycleObserver>() in <lambda>()56 var observer: PreviewLifecycleObserver? = null in <lambda>()61 PreviewLifecycleObserver( in <lambda>()100 private fun destroyObserver(observer: PreviewLifecycleObserver) { in <lambda>()123 class PreviewLifecycleObserver( class127 onDestroy: (PreviewLifecycleObserver) -> Unit,133 @VisibleForTesting var onDestroy: ((PreviewLifecycleObserver) -> Unit)?
26 val onDestroy: (PreviewLifecycleObserver) -> Unit = {} in onDestroy_clearsReferencesToRenderer()28 val observer = PreviewLifecycleObserver(this, testDispatcher, renderer, onDestroy) in onDestroy_clearsReferencesToRenderer()