mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 10:27:17 +01:00
237 lines
12 KiB
Java
237 lines
12 KiB
Java
package androidx.compose.ui;
|
|
|
|
import androidx.compose.runtime.Stable;
|
|
import androidx.compose.ui.BiasAlignment;
|
|
import androidx.compose.ui.unit.LayoutDirection;
|
|
import com.amazon.alexa.accessory.frames.translation.capability.LiveTranslationCapabilityConstants;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import com.facebook.react.uimanager.ViewProps;
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Stable
|
|
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\bç\u0080\u0001\u0018\u0000 \r2\u00020\u0001:\u0003\u000b\f\rJ'\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0007\u001a\u00020\bH&¢\u0006\u0004\b\t\u0010\nø\u0001\u0000\u0082\u0002\u0006\n\u0004\b!0\u0001¨\u0006\u000eÀ\u0006\u0001"}, d2 = {"Landroidx/compose/ui/Alignment;", "", "align", "Landroidx/compose/ui/unit/IntOffset;", "size", "Landroidx/compose/ui/unit/IntSize;", "space", ViewProps.LAYOUT_DIRECTION, "Landroidx/compose/ui/unit/LayoutDirection;", "align-KFBX0sM", "(JJLandroidx/compose/ui/unit/LayoutDirection;)J", "Horizontal", "Vertical", "Companion", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public interface Alignment {
|
|
|
|
/* renamed from: Companion, reason: from kotlin metadata */
|
|
@NotNull
|
|
public static final Companion INSTANCE = Companion.$$INSTANCE;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Stable
|
|
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bç\u0080\u0001\u0018\u00002\u00020\u0001J \u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0005\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0007H&J\u0011\u0010\b\u001a\u00020\t2\u0006\u0010\n\u001a\u00020\u000bH\u0096\u0002ø\u0001\u0000\u0082\u0002\u0006\n\u0004\b!0\u0001¨\u0006\fÀ\u0006\u0001"}, d2 = {"Landroidx/compose/ui/Alignment$Horizontal;", "", "align", "", "size", "space", ViewProps.LAYOUT_DIRECTION, "Landroidx/compose/ui/unit/LayoutDirection;", "plus", "Landroidx/compose/ui/Alignment;", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "Landroidx/compose/ui/Alignment$Vertical;", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
public interface Horizontal {
|
|
int align(int size, int space, @NotNull LayoutDirection layoutDirection);
|
|
|
|
@NotNull
|
|
default Alignment plus(@NotNull Vertical other) {
|
|
return new CombinedAlignment(this, other);
|
|
}
|
|
}
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Stable
|
|
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bç\u0080\u0001\u0018\u00002\u00020\u0001J\u0018\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0005\u001a\u00020\u0003H&J\u0011\u0010\u0006\u001a\u00020\u00072\u0006\u0010\b\u001a\u00020\tH\u0096\u0002ø\u0001\u0000\u0082\u0002\u0006\n\u0004\b!0\u0001¨\u0006\nÀ\u0006\u0001"}, d2 = {"Landroidx/compose/ui/Alignment$Vertical;", "", "align", "", "size", "space", "plus", "Landroidx/compose/ui/Alignment;", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "Landroidx/compose/ui/Alignment$Horizontal;", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
public interface Vertical {
|
|
int align(int size, int space);
|
|
|
|
@NotNull
|
|
default Alignment plus(@NotNull Horizontal other) {
|
|
return new CombinedAlignment(other, this);
|
|
}
|
|
}
|
|
|
|
/* renamed from: align-KFBX0sM, reason: not valid java name */
|
|
long mo4123alignKFBX0sM(long size, long space, @NotNull LayoutDirection layoutDirection);
|
|
|
|
/* 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\u001c\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0018\u0002\n\u0002\b\n\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R\u001c\u0010\u0004\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0006\u0010\u0003\u001a\u0004\b\u0007\u0010\bR\u001c\u0010\t\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\n\u0010\u0003\u001a\u0004\b\u000b\u0010\bR\u001c\u0010\f\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\r\u0010\u0003\u001a\u0004\b\u000e\u0010\bR\u001c\u0010\u000f\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0010\u0010\u0003\u001a\u0004\b\u0011\u0010\bR\u001c\u0010\u0012\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0013\u0010\u0003\u001a\u0004\b\u0014\u0010\bR\u001c\u0010\u0015\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0016\u0010\u0003\u001a\u0004\b\u0017\u0010\bR\u001c\u0010\u0018\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0019\u0010\u0003\u001a\u0004\b\u001a\u0010\bR\u001c\u0010\u001b\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u001c\u0010\u0003\u001a\u0004\b\u001d\u0010\bR\u001c\u0010\u001e\u001a\u00020\u00058\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u001f\u0010\u0003\u001a\u0004\b \u0010\bR\u001c\u0010!\u001a\u00020\"8\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b#\u0010\u0003\u001a\u0004\b$\u0010%R\u001c\u0010&\u001a\u00020\"8\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b'\u0010\u0003\u001a\u0004\b(\u0010%R\u001c\u0010)\u001a\u00020\"8\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b*\u0010\u0003\u001a\u0004\b+\u0010%R\u001c\u0010,\u001a\u00020-8\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b.\u0010\u0003\u001a\u0004\b/\u00100R\u001c\u00101\u001a\u00020-8\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b2\u0010\u0003\u001a\u0004\b3\u00100R\u001c\u00104\u001a\u00020-8\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b5\u0010\u0003\u001a\u0004\b6\u00100¨\u00067"}, d2 = {"Landroidx/compose/ui/Alignment$Companion;", "", "<init>", "()V", "TopStart", "Landroidx/compose/ui/Alignment;", "getTopStart$annotations", "getTopStart", "()Landroidx/compose/ui/Alignment;", "TopCenter", "getTopCenter$annotations", "getTopCenter", "TopEnd", "getTopEnd$annotations", "getTopEnd", "CenterStart", "getCenterStart$annotations", "getCenterStart", "Center", "getCenter$annotations", "getCenter", "CenterEnd", "getCenterEnd$annotations", "getCenterEnd", "BottomStart", "getBottomStart$annotations", "getBottomStart", "BottomCenter", "getBottomCenter$annotations", "getBottomCenter", "BottomEnd", "getBottomEnd$annotations", "getBottomEnd", "Top", "Landroidx/compose/ui/Alignment$Vertical;", "getTop$annotations", "getTop", "()Landroidx/compose/ui/Alignment$Vertical;", "CenterVertically", "getCenterVertically$annotations", "getCenterVertically", "Bottom", "getBottom$annotations", "getBottom", LiveTranslationCapabilityConstants.DIRECTIVE_START, "Landroidx/compose/ui/Alignment$Horizontal;", "getStart$annotations", "getStart", "()Landroidx/compose/ui/Alignment$Horizontal;", "CenterHorizontally", "getCenterHorizontally$annotations", "getCenterHorizontally", "End", "getEnd$annotations", "getEnd", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
public static final class Companion {
|
|
static final /* synthetic */ Companion $$INSTANCE = new Companion();
|
|
|
|
@NotNull
|
|
private static final Alignment TopStart = new BiasAlignment(-1.0f, -1.0f);
|
|
|
|
@NotNull
|
|
private static final Alignment TopCenter = new BiasAlignment(0.0f, -1.0f);
|
|
|
|
@NotNull
|
|
private static final Alignment TopEnd = new BiasAlignment(1.0f, -1.0f);
|
|
|
|
@NotNull
|
|
private static final Alignment CenterStart = new BiasAlignment(-1.0f, 0.0f);
|
|
|
|
@NotNull
|
|
private static final Alignment Center = new BiasAlignment(0.0f, 0.0f);
|
|
|
|
@NotNull
|
|
private static final Alignment CenterEnd = new BiasAlignment(1.0f, 0.0f);
|
|
|
|
@NotNull
|
|
private static final Alignment BottomStart = new BiasAlignment(-1.0f, 1.0f);
|
|
|
|
@NotNull
|
|
private static final Alignment BottomCenter = new BiasAlignment(0.0f, 1.0f);
|
|
|
|
@NotNull
|
|
private static final Alignment BottomEnd = new BiasAlignment(1.0f, 1.0f);
|
|
|
|
@NotNull
|
|
private static final Vertical Top = new BiasAlignment.Vertical(-1.0f);
|
|
|
|
@NotNull
|
|
private static final Vertical CenterVertically = new BiasAlignment.Vertical(0.0f);
|
|
|
|
@NotNull
|
|
private static final Vertical Bottom = new BiasAlignment.Vertical(1.0f);
|
|
|
|
@NotNull
|
|
private static final Horizontal Start = new BiasAlignment.Horizontal(-1.0f);
|
|
|
|
@NotNull
|
|
private static final Horizontal CenterHorizontally = new BiasAlignment.Horizontal(0.0f);
|
|
|
|
@NotNull
|
|
private static final Horizontal End = new BiasAlignment.Horizontal(1.0f);
|
|
|
|
private Companion() {
|
|
}
|
|
|
|
@NotNull
|
|
public final Vertical getBottom() {
|
|
return Bottom;
|
|
}
|
|
|
|
@NotNull
|
|
public final Alignment getBottomCenter() {
|
|
return BottomCenter;
|
|
}
|
|
|
|
@NotNull
|
|
public final Alignment getBottomEnd() {
|
|
return BottomEnd;
|
|
}
|
|
|
|
@NotNull
|
|
public final Alignment getBottomStart() {
|
|
return BottomStart;
|
|
}
|
|
|
|
@NotNull
|
|
public final Alignment getCenter() {
|
|
return Center;
|
|
}
|
|
|
|
@NotNull
|
|
public final Alignment getCenterEnd() {
|
|
return CenterEnd;
|
|
}
|
|
|
|
@NotNull
|
|
public final Horizontal getCenterHorizontally() {
|
|
return CenterHorizontally;
|
|
}
|
|
|
|
@NotNull
|
|
public final Alignment getCenterStart() {
|
|
return CenterStart;
|
|
}
|
|
|
|
@NotNull
|
|
public final Vertical getCenterVertically() {
|
|
return CenterVertically;
|
|
}
|
|
|
|
@NotNull
|
|
public final Horizontal getEnd() {
|
|
return End;
|
|
}
|
|
|
|
@NotNull
|
|
public final Horizontal getStart() {
|
|
return Start;
|
|
}
|
|
|
|
@NotNull
|
|
public final Vertical getTop() {
|
|
return Top;
|
|
}
|
|
|
|
@NotNull
|
|
public final Alignment getTopCenter() {
|
|
return TopCenter;
|
|
}
|
|
|
|
@NotNull
|
|
public final Alignment getTopEnd() {
|
|
return TopEnd;
|
|
}
|
|
|
|
@NotNull
|
|
public final Alignment getTopStart() {
|
|
return TopStart;
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getBottom$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getBottomCenter$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getBottomEnd$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getBottomStart$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getCenter$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getCenterEnd$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getCenterHorizontally$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getCenterStart$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getCenterVertically$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getEnd$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getStart$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getTop$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getTopCenter$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getTopEnd$annotations() {
|
|
}
|
|
|
|
@Stable
|
|
public static /* synthetic */ void getTopStart$annotations() {
|
|
}
|
|
}
|
|
}
|