- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
53 lines
1.4 KiB
Java
53 lines
1.4 KiB
Java
package androidx.legacy.widget;
|
|
|
|
import android.annotation.SuppressLint;
|
|
import android.content.Context;
|
|
import android.graphics.Canvas;
|
|
import android.util.AttributeSet;
|
|
import android.view.View;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
|
|
@Deprecated
|
|
/* loaded from: classes.dex */
|
|
public class Space extends View {
|
|
@Override // android.view.View
|
|
@SuppressLint({"MissingSuperCall"})
|
|
@Deprecated
|
|
public void draw(Canvas canvas) {
|
|
}
|
|
|
|
@Deprecated
|
|
public Space(@NonNull Context context, @Nullable AttributeSet attributeSet, int i) {
|
|
super(context, attributeSet, i);
|
|
if (getVisibility() == 0) {
|
|
setVisibility(4);
|
|
}
|
|
}
|
|
|
|
@Deprecated
|
|
public Space(@NonNull Context context, @Nullable AttributeSet attributeSet) {
|
|
this(context, attributeSet, 0);
|
|
}
|
|
|
|
@Deprecated
|
|
public Space(@NonNull Context context) {
|
|
this(context, null);
|
|
}
|
|
|
|
private static int getDefaultSize2(int i, int i2) {
|
|
int mode = View.MeasureSpec.getMode(i2);
|
|
int size = View.MeasureSpec.getSize(i2);
|
|
if (mode != Integer.MIN_VALUE) {
|
|
return mode != 1073741824 ? i : size;
|
|
}
|
|
return Math.min(i, size);
|
|
}
|
|
|
|
@Override // android.view.View
|
|
@Deprecated
|
|
public void onMeasure(int i, int i2) {
|
|
setMeasuredDimension(getDefaultSize2(getSuggestedMinimumWidth(), i), getDefaultSize2(getSuggestedMinimumHeight(), i2));
|
|
}
|
|
}
|