Adam Powell | 28b24c3 | 2020-06-15 17:08:49 -0700 | [diff] [blame] | 1 | // Signature format: 3.0 |
| 2 | package androidx.compose.dispatch { |
| 3 | |
| 4 | public final class AndroidUiDispatcher extends kotlinx.coroutines.CoroutineDispatcher { |
| 5 | method public void dispatch(kotlin.coroutines.CoroutineContext context, Runnable block); |
| 6 | method public android.view.Choreographer getChoreographer(); |
| 7 | method public androidx.compose.dispatch.MonotonicFrameClock getFrameClock(); |
| 8 | property public final androidx.compose.dispatch.MonotonicFrameClock frameClock; |
Aurimas Liutikas | afd4a79 | 2020-06-22 13:35:25 -0700 | [diff] [blame^] | 9 | field public static final androidx.compose.dispatch.AndroidUiDispatcher.Companion Companion; |
Adam Powell | 28b24c3 | 2020-06-15 17:08:49 -0700 | [diff] [blame] | 10 | } |
| 11 | |
| 12 | public static final class AndroidUiDispatcher.Companion { |
| 13 | method public androidx.compose.dispatch.AndroidUiDispatcher getCurrentThread(); |
| 14 | method public androidx.compose.dispatch.AndroidUiDispatcher getMain(); |
| 15 | property public final androidx.compose.dispatch.AndroidUiDispatcher CurrentThread; |
| 16 | property public final androidx.compose.dispatch.AndroidUiDispatcher Main; |
| 17 | } |
| 18 | |
| 19 | public final class AndroidUiDispatcherKt { |
| 20 | } |
| 21 | |
| 22 | public final class AndroidUiFrameClock implements androidx.compose.dispatch.MonotonicFrameClock { |
| 23 | ctor public AndroidUiFrameClock(android.view.Choreographer choreographer); |
| 24 | method public android.view.Choreographer getChoreographer(); |
| 25 | method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); |
| 26 | } |
| 27 | |
| 28 | public interface MonotonicFrameClock { |
| 29 | method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); |
| 30 | } |
| 31 | |
| 32 | public final class MonotonicFrameClockKt { |
| 33 | method public static suspend inline <R> Object? withFrameMillis(androidx.compose.dispatch.MonotonicFrameClock, kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); |
| 34 | } |
| 35 | |
| 36 | } |
| 37 | |