mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-18 11:57:18 +01:00
61 lines
3.5 KiB
Java
61 lines
3.5 KiB
Java
package androidx.compose.ui.text;
|
|
|
|
import androidx.compose.ui.geometry.Rect;
|
|
import androidx.compose.ui.graphics.colorspace.Rgb$$ExternalSyntheticLambda3;
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\bæ\u0080\u0001\u0018\u0000 \u00072\u00020\u0001:\u0001\u0007J\u0018\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u0005H&ø\u0001\u0000\u0082\u0002\u0006\n\u0004\b!0\u0001¨\u0006\bÀ\u0006\u0001"}, d2 = {"Landroidx/compose/ui/text/TextInclusionStrategy;", "", "isIncluded", "", "textBounds", "Landroidx/compose/ui/geometry/Rect;", "rect", "Companion", "ui-text"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public interface TextInclusionStrategy {
|
|
|
|
/* renamed from: Companion, reason: from kotlin metadata */
|
|
@NotNull
|
|
public static final Companion INSTANCE = Companion.$$INSTANCE;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0007\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\b\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\u0007R\u0011\u0010\n\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\u0007¨\u0006\f"}, d2 = {"Landroidx/compose/ui/text/TextInclusionStrategy$Companion;", "", "<init>", "()V", "AnyOverlap", "Landroidx/compose/ui/text/TextInclusionStrategy;", "getAnyOverlap", "()Landroidx/compose/ui/text/TextInclusionStrategy;", "ContainsAll", "getContainsAll", "ContainsCenter", "getContainsCenter", "ui-text"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
public static final class Companion {
|
|
static final /* synthetic */ Companion $$INSTANCE = new Companion();
|
|
|
|
@NotNull
|
|
private static final TextInclusionStrategy AnyOverlap = new Rgb$$ExternalSyntheticLambda3(26);
|
|
|
|
@NotNull
|
|
private static final TextInclusionStrategy ContainsAll = new Rgb$$ExternalSyntheticLambda3(27);
|
|
|
|
@NotNull
|
|
private static final TextInclusionStrategy ContainsCenter = new Rgb$$ExternalSyntheticLambda3(28);
|
|
|
|
private Companion() {
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final boolean ContainsAll$lambda$1(Rect rect, Rect rect2) {
|
|
return !rect2.isEmpty() && rect.getLeft() >= rect2.getLeft() && rect.getRight() <= rect2.getRight() && rect.getTop() >= rect2.getTop() && rect.getBottom() <= rect2.getBottom();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final boolean ContainsCenter$lambda$2(Rect rect, Rect rect2) {
|
|
return rect2.m4426containsk4lQ0M(rect.m4430getCenterF1C5BW0());
|
|
}
|
|
|
|
@NotNull
|
|
public final TextInclusionStrategy getAnyOverlap() {
|
|
return AnyOverlap;
|
|
}
|
|
|
|
@NotNull
|
|
public final TextInclusionStrategy getContainsAll() {
|
|
return ContainsAll;
|
|
}
|
|
|
|
@NotNull
|
|
public final TextInclusionStrategy getContainsCenter() {
|
|
return ContainsCenter;
|
|
}
|
|
}
|
|
|
|
boolean isIncluded(@NotNull Rect textBounds, @NotNull Rect rect);
|
|
}
|