mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-17 11:27:17 +01:00
28 lines
1.4 KiB
Java
28 lines
1.4 KiB
Java
package androidx.compose.ui.graphics.layer;
|
|
|
|
import android.view.View;
|
|
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\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\bÂ\u0002\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\u000e\u0010\b\u001a\u00020\u00072\u0006\u0010\t\u001a\u00020\nR\u0010\u0010\u0004\u001a\u0004\u0018\u00010\u0005X\u0082\u000e¢\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u000e¢\u0006\u0002\n\u0000¨\u0006\u000b"}, d2 = {"Landroidx/compose/ui/graphics/layer/OutlineUtils;", "", "<init>", "()V", "rebuildOutlineMethod", "Ljava/lang/reflect/Method;", "hasRetrievedMethod", "", "rebuildOutline", "view", "Landroid/view/View;", "ui-graphics_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
final class OutlineUtils {
|
|
|
|
@NotNull
|
|
public static final OutlineUtils INSTANCE = new OutlineUtils();
|
|
private static boolean hasRetrievedMethod;
|
|
|
|
@Nullable
|
|
private static Method rebuildOutlineMethod;
|
|
|
|
private OutlineUtils() {
|
|
}
|
|
|
|
public final boolean rebuildOutline(@NotNull View view) {
|
|
view.invalidateOutline();
|
|
return true;
|
|
}
|
|
}
|