Home
last modified time | relevance | path

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

/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DTestWallpaperService.kt49 private var engineStateCallbacks = mutableSetOf<EngineCallback>()
89 fun addCallback(callback: EngineCallback) { in addCallback()
93 fun removeCallback(callback: EngineCallback) { in removeCallback()
154 engineStateCallbacks.forEach { it.onEvent(EngineCallback.Event.CREATE) } in onCreate()
172 engineStateCallbacks.forEach { it.onEvent(EngineCallback.Event.DESTROY) } in onDestroy()
215 engineStateCallbacks.forEach { it.onEvent(EngineCallback.Event.SURFACE_CREATE) } in onSurfaceCreated()
325 interface EngineCallback { in getColor() interface
331 class EngineCallbackCountdown(create: Int, destroy: Int, surfaceCreate: Int) : EngineCallback {
336 override fun onEvent(e: EngineCallback.Event) { in onEvent()
338 EngineCallback.Event.CREATE -> createLatch.countDown() in onEvent()
[all …]