mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 01:22:33 -06:00
18 lines
604 B
Java
18 lines
604 B
Java
package com.airbnb.lottie.parser;
|
|
|
|
import com.airbnb.lottie.parser.moshi.JsonReader;
|
|
import java.io.IOException;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class IntegerParser implements ValueParser<Integer> {
|
|
public static final IntegerParser INSTANCE = new IntegerParser();
|
|
|
|
private IntegerParser() {
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // com.airbnb.lottie.parser.ValueParser
|
|
public Integer parse(JsonReader jsonReader, float f) throws IOException {
|
|
return Integer.valueOf(Math.round(JsonUtils.valueFromObject(jsonReader) * f));
|
|
}
|
|
}
|