mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 18:37:17 +01:00
46 lines
2.7 KiB
Java
46 lines
2.7 KiB
Java
package androidx.compose.ui.layout;
|
|
|
|
import androidx.compose.ui.layout.Placeable;
|
|
import androidx.compose.ui.unit.LayoutDirection;
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0007\n\u0002\b\u000b\b\u0002\u0018\u00002\u00020\u0001B'\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\u0007¢\u0006\u0004\b\t\u0010\nR\u0014\u0010\u0002\u001a\u00020\u0003X\u0094\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\u0004\u001a\u00020\u0005X\u0094\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0014\u0010\u0006\u001a\u00020\u0007X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0014\u0010\b\u001a\u00020\u0007X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0010¨\u0006\u0012"}, d2 = {"Landroidx/compose/ui/layout/SimplePlacementScope;", "Landroidx/compose/ui/layout/Placeable$PlacementScope;", "parentWidth", "", "parentLayoutDirection", "Landroidx/compose/ui/unit/LayoutDirection;", "density", "", "fontScale", "<init>", "(ILandroidx/compose/ui/unit/LayoutDirection;FF)V", "getParentWidth", "()I", "getParentLayoutDirection", "()Landroidx/compose/ui/unit/LayoutDirection;", "getDensity", "()F", "getFontScale", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
final class SimplePlacementScope extends Placeable.PlacementScope {
|
|
private final float density;
|
|
private final float fontScale;
|
|
|
|
@NotNull
|
|
private final LayoutDirection parentLayoutDirection;
|
|
private final int parentWidth;
|
|
|
|
public SimplePlacementScope(int i, @NotNull LayoutDirection layoutDirection, float f, float f2) {
|
|
this.parentWidth = i;
|
|
this.parentLayoutDirection = layoutDirection;
|
|
this.density = f;
|
|
this.fontScale = f2;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.layout.Placeable.PlacementScope, androidx.compose.ui.unit.Density
|
|
public float getDensity() {
|
|
return this.density;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.layout.Placeable.PlacementScope, androidx.compose.ui.unit.FontScaling
|
|
public float getFontScale() {
|
|
return this.fontScale;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.layout.Placeable.PlacementScope
|
|
@NotNull
|
|
public LayoutDirection getParentLayoutDirection() {
|
|
return this.parentLayoutDirection;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.layout.Placeable.PlacementScope
|
|
public int getParentWidth() {
|
|
return this.parentWidth;
|
|
}
|
|
}
|