package o;

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

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Q5 implements Qj0 {
    public final ViewConfiguration a;

    public Q5(ViewConfiguration viewConfiguration) {
        this.a = viewConfiguration;
    }

    @Override // o.Qj0
    public final float a() {
        return this.a.getScaledMaximumFlingVelocity();
    }

    @Override // o.Qj0
    public final long b() {
        return ViewConfiguration.getDoubleTapTimeout();
    }

    @Override // o.Qj0
    public final long c() {
        return ViewConfiguration.getLongPressTimeout();
    }

    @Override // o.Qj0
    public final float d() {
        return this.a.getScaledTouchSlop();
    }

    @Override // o.Qj0
    public final float e() {
        if (Build.VERSION.SDK_INT >= 34) {
            return this.a.getScaledHandwritingSlop();
        }
        return 2.0f;
    }

    @Override // o.Qj0
    public final float f() {
        if (Build.VERSION.SDK_INT >= 34) {
            return this.a.getScaledHandwritingGestureLineMargin();
        }
        return 16.0f;
    }
}
