package io.flutter.embedding.engine.systemchannels;

import androidx.annotation.NonNull;
import defpackage.e;

/* JADX INFO: loaded from: classes.dex */
public enum PlatformChannel$DeviceOrientation {
    /* JADX INFO: Fake field, exist only in values array */
    PORTRAIT_UP("DeviceOrientation.portraitUp"),
    /* JADX INFO: Fake field, exist only in values array */
    PORTRAIT_DOWN("DeviceOrientation.portraitDown"),
    /* JADX INFO: Fake field, exist only in values array */
    LANDSCAPE_LEFT("DeviceOrientation.landscapeLeft"),
    /* JADX INFO: Fake field, exist only in values array */
    LANDSCAPE_RIGHT("DeviceOrientation.landscapeRight");


    @NonNull
    private String encodedName;

    PlatformChannel$DeviceOrientation(String str) {
        this.encodedName = str;
    }

    public static PlatformChannel$DeviceOrientation a(String str) throws NoSuchFieldException {
        for (PlatformChannel$DeviceOrientation platformChannel$DeviceOrientation : values()) {
            if (platformChannel$DeviceOrientation.encodedName.equals(str)) {
                return platformChannel$DeviceOrientation;
            }
        }
        throw new NoSuchFieldException(e.i("No such DeviceOrientation: ", str));
    }
}
