alexandroid/decompiled/jadx/sources/androidx/camera/video/AutoValue_StreamInfo.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

67 lines
2.6 KiB
Java

package androidx.camera.video;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.camera.core.SurfaceRequest;
import androidx.camera.video.StreamInfo;
import org.apache.commons.text.StringSubstitutor;
import rx.Single$$ExternalSyntheticBUOutline0;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes.dex */
final class AutoValue_StreamInfo extends StreamInfo {
private final int id;
private final SurfaceRequest.TransformationInfo inProgressTransformationInfo;
private final StreamInfo.StreamState streamState;
public AutoValue_StreamInfo(int i, StreamInfo.StreamState streamState, @Nullable SurfaceRequest.TransformationInfo transformationInfo) {
this.id = i;
if (streamState == null) {
Single$$ExternalSyntheticBUOutline0.m$1("Null streamState");
throw null;
}
this.streamState = streamState;
this.inProgressTransformationInfo = transformationInfo;
}
public boolean equals(Object obj) {
SurfaceRequest.TransformationInfo transformationInfo;
if (obj == this) {
return true;
}
if (obj instanceof StreamInfo) {
StreamInfo streamInfo = (StreamInfo) obj;
if (this.id == streamInfo.getId() && this.streamState.equals(streamInfo.getStreamState()) && ((transformationInfo = this.inProgressTransformationInfo) != null ? transformationInfo.equals(streamInfo.getInProgressTransformationInfo()) : streamInfo.getInProgressTransformationInfo() == null)) {
return true;
}
}
return false;
}
@Override // androidx.camera.video.StreamInfo
public int getId() {
return this.id;
}
@Override // androidx.camera.video.StreamInfo
@Nullable
public SurfaceRequest.TransformationInfo getInProgressTransformationInfo() {
return this.inProgressTransformationInfo;
}
@Override // androidx.camera.video.StreamInfo
@NonNull
public StreamInfo.StreamState getStreamState() {
return this.streamState;
}
public int hashCode() {
int hashCode = (((this.id ^ 1000003) * 1000003) ^ this.streamState.hashCode()) * 1000003;
SurfaceRequest.TransformationInfo transformationInfo = this.inProgressTransformationInfo;
return (transformationInfo == null ? 0 : transformationInfo.hashCode()) ^ hashCode;
}
public String toString() {
return "StreamInfo{id=" + this.id + ", streamState=" + this.streamState + ", inProgressTransformationInfo=" + this.inProgressTransformationInfo + StringSubstitutor.DEFAULT_VAR_END;
}
}