mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-16 19:07:17 +01:00
31 lines
1.8 KiB
Java
31 lines
1.8 KiB
Java
package androidx.compose.ui.graphics;
|
|
|
|
import android.annotation.SuppressLint;
|
|
import java.lang.reflect.Method;
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\bÀ\u0002\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\u0018\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\bH\u0007R\u0010\u0010\u0004\u001a\u0004\u0018\u00010\u0005X\u0082\u000e¢\u0006\u0002\n\u0000R\u0010\u0010\u0006\u001a\u0004\u0018\u00010\u0005X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\bX\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u000e"}, d2 = {"Landroidx/compose/ui/graphics/CanvasUtils;", "", "<init>", "()V", "reorderBarrierMethod", "Ljava/lang/reflect/Method;", "inorderBarrierMethod", "orderMethodsFetched", "", "enableZ", "", "canvas", "Landroid/graphics/Canvas;", "enable", "ui-graphics_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final class CanvasUtils {
|
|
|
|
@NotNull
|
|
public static final CanvasUtils INSTANCE = new CanvasUtils();
|
|
|
|
@Nullable
|
|
private static Method inorderBarrierMethod;
|
|
private static boolean orderMethodsFetched;
|
|
|
|
@Nullable
|
|
private static Method reorderBarrierMethod;
|
|
|
|
private CanvasUtils() {
|
|
}
|
|
|
|
@SuppressLint({"SoonBlockedPrivateApi"})
|
|
public final void enableZ(@NotNull android.graphics.Canvas canvas, boolean enable) {
|
|
CanvasZHelper.INSTANCE.enableZ(canvas, enable);
|
|
}
|
|
}
|