33 lines
903 B
Java
33 lines
903 B
Java
package androidx.core.util;
|
|
|
|
import android.util.Size;
|
|
import android.util.SizeF;
|
|
import androidx.annotation.RequiresApi;
|
|
import d0.z.d.m;
|
|
/* compiled from: Size.kt */
|
|
public final class SizeKt {
|
|
@RequiresApi(21)
|
|
public static final float component1(SizeF sizeF) {
|
|
m.checkParameterIsNotNull(sizeF, "$this$component1");
|
|
return sizeF.getWidth();
|
|
}
|
|
|
|
@RequiresApi(21)
|
|
public static final int component1(Size size) {
|
|
m.checkParameterIsNotNull(size, "$this$component1");
|
|
return size.getWidth();
|
|
}
|
|
|
|
@RequiresApi(21)
|
|
public static final float component2(SizeF sizeF) {
|
|
m.checkParameterIsNotNull(sizeF, "$this$component2");
|
|
return sizeF.getHeight();
|
|
}
|
|
|
|
@RequiresApi(21)
|
|
public static final int component2(Size size) {
|
|
m.checkParameterIsNotNull(size, "$this$component2");
|
|
return size.getHeight();
|
|
}
|
|
}
|