- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
46 lines
2.0 KiB
Java
46 lines
2.0 KiB
Java
package androidx.core.os;
|
|
|
|
import android.os.Handler;
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class HandlerKt {
|
|
public static final Runnable postDelayed(Handler handler, long j, Object obj, Function0 function0) {
|
|
HandlerKt$postDelayed$runnable$1 handlerKt$postDelayed$runnable$1 = new HandlerKt$postDelayed$runnable$1(function0);
|
|
if (obj == null) {
|
|
handler.postDelayed(handlerKt$postDelayed$runnable$1, j);
|
|
} else {
|
|
HandlerCompat.postDelayed(handler, handlerKt$postDelayed$runnable$1, obj, j);
|
|
}
|
|
return handlerKt$postDelayed$runnable$1;
|
|
}
|
|
|
|
public static /* synthetic */ Runnable postDelayed$default(Handler handler, long j, Object obj, Function0 function0, int i, Object obj2) {
|
|
if ((i & 2) != 0) {
|
|
obj = null;
|
|
}
|
|
HandlerKt$postDelayed$runnable$1 handlerKt$postDelayed$runnable$1 = new HandlerKt$postDelayed$runnable$1(function0);
|
|
if (obj == null) {
|
|
handler.postDelayed(handlerKt$postDelayed$runnable$1, j);
|
|
} else {
|
|
HandlerCompat.postDelayed(handler, handlerKt$postDelayed$runnable$1, obj, j);
|
|
}
|
|
return handlerKt$postDelayed$runnable$1;
|
|
}
|
|
|
|
public static final Runnable postAtTime(Handler handler, long j, Object obj, Function0 function0) {
|
|
HandlerKt$postAtTime$runnable$1 handlerKt$postAtTime$runnable$1 = new HandlerKt$postAtTime$runnable$1(function0);
|
|
handler.postAtTime(handlerKt$postAtTime$runnable$1, obj, j);
|
|
return handlerKt$postAtTime$runnable$1;
|
|
}
|
|
|
|
public static /* synthetic */ Runnable postAtTime$default(Handler handler, long j, Object obj, Function0 function0, int i, Object obj2) {
|
|
if ((i & 2) != 0) {
|
|
obj = null;
|
|
}
|
|
HandlerKt$postAtTime$runnable$1 handlerKt$postAtTime$runnable$1 = new HandlerKt$postAtTime$runnable$1(function0);
|
|
handler.postAtTime(handlerKt$postAtTime$runnable$1, obj, j);
|
|
return handlerKt$postAtTime$runnable$1;
|
|
}
|
|
}
|