package androidx.compose.ui.platform;

import android.os.Build;
import android.view.ViewConfiguration;

/* loaded from: classes.dex */
public final class s0 implements y2 {

    /* renamed from: a, reason: collision with root package name */
    private final ViewConfiguration f2699a;

    public s0(ViewConfiguration viewConfiguration) {
        this.f2699a = viewConfiguration;
    }

    @Override // androidx.compose.ui.platform.y2
    public long a() {
        return ViewConfiguration.getDoubleTapTimeout();
    }

    @Override // androidx.compose.ui.platform.y2
    public long b() {
        return 40L;
    }

    @Override // androidx.compose.ui.platform.y2
    public long c() {
        return ViewConfiguration.getLongPressTimeout();
    }

    @Override // androidx.compose.ui.platform.y2
    public float d() {
        return Build.VERSION.SDK_INT >= 34 ? v0.f2719a.b(this.f2699a) : super.d();
    }

    @Override // androidx.compose.ui.platform.y2
    public float f() {
        return this.f2699a.getScaledMaximumFlingVelocity();
    }

    @Override // androidx.compose.ui.platform.y2
    public float g() {
        return this.f2699a.getScaledTouchSlop();
    }

    @Override // androidx.compose.ui.platform.y2
    public float h() {
        return Build.VERSION.SDK_INT >= 34 ? v0.f2719a.a(this.f2699a) : super.h();
    }
}
